diff --git a/__fixtures__/openapi/swagger_extended.json b/__fixtures__/openapi/swagger_extended.json new file mode 100644 index 0000000..e3f9f3d --- /dev/null +++ b/__fixtures__/openapi/swagger_extended.json @@ -0,0 +1,180126 @@ +{ + "swagger": "2.0", + "info": { + "title": "Kubernetes", + "version": "1.32" + }, + "paths": { + "/.well-known/openid-configuration/": { + "get": { + "description": "get service account issuer OpenID configuration, also known as the 'OIDC discovery doc'", + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "tags": [ + "WellKnown" + ], + "operationId": "getServiceAccountIssuerOpenIDConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/api/": { + "get": { + "description": "get available API versions", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core" + ], + "operationId": "getCoreAPIVersions", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/api/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "getCoreV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/api/v1/componentstatuses": { + "get": { + "description": "list objects of kind ComponentStatus", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1ComponentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatusList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ComponentStatus", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/componentstatuses/{name}": { + "get": { + "description": "read the specified ComponentStatus", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1ComponentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ComponentStatus", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ComponentStatus", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/configmaps": { + "get": { + "description": "list or watch objects of kind ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1ConfigMapForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/endpoints": { + "get": { + "description": "list or watch objects of kind Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1EndpointsForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1EventForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/limitranges": { + "get": { + "description": "list or watch objects of kind LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1LimitRangeForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/namespaces": { + "get": { + "description": "list or watch objects of kind Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1Namespace", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "post": { + "description": "create a Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1Namespace", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/bindings": { + "post": { + "description": "create a Binding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Binding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/configmaps": { + "get": { + "description": "list or watch objects of kind ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedConfigMap", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "post": { + "description": "create a ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedConfigMap", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedConfigMap", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/configmaps/{name}": { + "get": { + "description": "read the specified ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedConfigMap", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedConfigMap", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "delete": { + "description": "delete a ConfigMap", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedConfigMap", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ConfigMap", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedConfigMap", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ConfigMap", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/endpoints": { + "get": { + "description": "list or watch objects of kind Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedEndpoints", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointsList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "post": { + "description": "create Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedEndpoints", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedEndpoints", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/endpoints/{name}": { + "get": { + "description": "read the specified Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedEndpoints", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedEndpoints", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "delete": { + "description": "delete Endpoints", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedEndpoints", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Endpoints", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedEndpoints", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Endpoints", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "post": { + "description": "create an Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/events/{name}": { + "get": { + "description": "read the specified Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedEvent", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "delete": { + "description": "delete an Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Event", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/limitranges": { + "get": { + "description": "list or watch objects of kind LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedLimitRange", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "post": { + "description": "create a LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedLimitRange", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedLimitRange", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/limitranges/{name}": { + "get": { + "description": "read the specified LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedLimitRange", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "put": { + "description": "replace the specified LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedLimitRange", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "delete": { + "description": "delete a LimitRange", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedLimitRange", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified LimitRange", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedLimitRange", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the LimitRange", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/persistentvolumeclaims": { + "get": { + "description": "list or watch objects of kind PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "post": { + "description": "create a PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedPersistentVolumeClaim", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": { + "get": { + "description": "read the specified PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPersistentVolumeClaim", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "delete": { + "description": "delete a PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PersistentVolumeClaim", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedPersistentVolumeClaim", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolumeClaim", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": { + "get": { + "description": "read status of the specified PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPersistentVolumeClaimStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedPersistentVolumeClaimStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified PersistentVolumeClaim", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedPersistentVolumeClaimStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolumeClaim", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods": { + "get": { + "description": "list or watch objects of kind Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedPod", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "post": { + "description": "create a Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedPod", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedPod", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}": { + "get": { + "description": "read the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPod", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedPod", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "delete": { + "description": "delete a Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedPod", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Pod", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedPod", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/attach": { + "get": { + "description": "connect GET requests to attach of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedPodAttach", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodAttachOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to attach of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedPodAttach", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodAttachOptions", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/container-_Q-EJ3nR" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodAttachOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/stderr-26jJhFUR" + }, + { + "$ref": "#/parameters/stdin-sEFnN3IS" + }, + { + "$ref": "#/parameters/stdout-005YMKE6" + }, + { + "$ref": "#/parameters/tty-g7MlET_l" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/binding": { + "post": { + "description": "create binding of a Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedPodBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Binding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Binding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Binding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers": { + "get": { + "description": "read ephemeralcontainers of the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPodEphemeralcontainers", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "put": { + "description": "replace ephemeralcontainers of the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedPodEphemeralcontainers", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "patch": { + "description": "partially update ephemeralcontainers of the specified Pod", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedPodEphemeralcontainers", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/eviction": { + "post": { + "description": "create eviction of a Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedPodEviction", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.Eviction" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.Eviction" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.Eviction" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.Eviction" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "Eviction", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Eviction", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/exec": { + "get": { + "description": "connect GET requests to exec of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedPodExec", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodExecOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to exec of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedPodExec", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodExecOptions", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/command-Py3eQybp" + }, + { + "$ref": "#/parameters/container-i5dOmRiM" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodExecOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/stderr-W_1TNlWc" + }, + { + "$ref": "#/parameters/stdin-PSzNhyUC" + }, + { + "$ref": "#/parameters/stdout--EZLRwV1" + }, + { + "$ref": "#/parameters/tty-s0flW37O" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/log": { + "get": { + "description": "read log of the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "text/plain", + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPodLog", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/container-1GeXxFDC" + }, + { + "$ref": "#/parameters/follow-9OIXh_2R" + }, + { + "$ref": "#/parameters/insecureSkipTLSVerifyBackend-gM00jVbe" + }, + { + "$ref": "#/parameters/limitBytes-zwd1RXuc" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/previous-1jxDPu3y" + }, + { + "$ref": "#/parameters/sinceSeconds-vE2NLdnP" + }, + { + "$ref": "#/parameters/stream-l-48cgXv" + }, + { + "$ref": "#/parameters/tailLines-9xQLWHMV" + }, + { + "$ref": "#/parameters/timestamps-c17fW1w_" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/portforward": { + "get": { + "description": "connect GET requests to portforward of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedPodPortforward", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodPortForwardOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to portforward of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedPodPortforward", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodPortForwardOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodPortForwardOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/ports-91KROJmm" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/proxy": { + "get": { + "description": "connect GET requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "put": { + "description": "connect PUT requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PutNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "delete": { + "description": "connect DELETE requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1DeleteNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "options": { + "description": "connect OPTIONS requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1OptionsNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "head": { + "description": "connect HEAD requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1HeadNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PatchNamespacedPodProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodProxyOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/path-oPbzgLUj" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": { + "get": { + "description": "connect GET requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "put": { + "description": "connect PUT requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PutNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "delete": { + "description": "connect DELETE requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1DeleteNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "options": { + "description": "connect OPTIONS requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1OptionsNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "head": { + "description": "connect HEAD requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1HeadNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PatchNamespacedPodProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodProxyOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/path-z6Ciiujn" + }, + { + "$ref": "#/parameters/path-oPbzgLUj" + } + ] + }, + "/api/v1/namespaces/{namespace}/pods/{name}/status": { + "get": { + "description": "read status of the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPodStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedPodStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Pod", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedPodStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/podtemplates": { + "get": { + "description": "list or watch objects of kind PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedPodTemplate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "post": { + "description": "create a PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedPodTemplate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedPodTemplate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/podtemplates/{name}": { + "get": { + "description": "read the specified PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedPodTemplate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedPodTemplate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "delete": { + "description": "delete a PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedPodTemplate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PodTemplate", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedPodTemplate", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodTemplate", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/replicationcontrollers": { + "get": { + "description": "list or watch objects of kind ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedReplicationController", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "post": { + "description": "create a ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedReplicationController", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedReplicationController", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": { + "get": { + "description": "read the specified ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedReplicationController", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedReplicationController", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "delete": { + "description": "delete a ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedReplicationController", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ReplicationController", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedReplicationController", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicationController", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedReplicationControllerScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedReplicationControllerScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicationController", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedReplicationControllerScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": { + "get": { + "description": "read status of the specified ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedReplicationControllerStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedReplicationControllerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ReplicationController", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedReplicationControllerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicationController", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/resourcequotas": { + "get": { + "description": "list or watch objects of kind ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedResourceQuota", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "post": { + "description": "create a ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedResourceQuota", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedResourceQuota", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/resourcequotas/{name}": { + "get": { + "description": "read the specified ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedResourceQuota", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedResourceQuota", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "delete": { + "description": "delete a ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedResourceQuota", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ResourceQuota", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedResourceQuota", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ResourceQuota", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": { + "get": { + "description": "read status of the specified ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedResourceQuotaStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedResourceQuotaStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ResourceQuota", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedResourceQuotaStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ResourceQuota", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/secrets": { + "get": { + "description": "list or watch objects of kind Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedSecret", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "post": { + "description": "create a Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedSecret", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedSecret", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/secrets/{name}": { + "get": { + "description": "read the specified Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedSecret", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedSecret", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "delete": { + "description": "delete a Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedSecret", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Secret", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedSecret", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Secret", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/serviceaccounts": { + "get": { + "description": "list or watch objects of kind ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedServiceAccount", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "post": { + "description": "create a ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedServiceAccount", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedServiceAccount", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/serviceaccounts/{name}": { + "get": { + "description": "read the specified ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedServiceAccount", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedServiceAccount", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "delete": { + "description": "delete a ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedServiceAccount", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ServiceAccount", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedServiceAccount", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceAccount", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token": { + "post": { + "description": "create token of a ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedServiceAccountToken", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenRequest", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the TokenRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/services": { + "get": { + "description": "list or watch objects of kind Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "post": { + "description": "create a Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNamespacedService", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/services/{name}": { + "get": { + "description": "read the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedService", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "delete": { + "description": "delete a Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Service", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Service", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{namespace}/services/{name}/proxy": { + "get": { + "description": "connect GET requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "put": { + "description": "connect PUT requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PutNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "delete": { + "description": "connect DELETE requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1DeleteNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "options": { + "description": "connect OPTIONS requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1OptionsNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "head": { + "description": "connect HEAD requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1HeadNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PatchNamespacedServiceProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceProxyOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/path-QCf0eosM" + } + ] + }, + "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": { + "get": { + "description": "connect GET requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "put": { + "description": "connect PUT requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PutNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "delete": { + "description": "connect DELETE requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1DeleteNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "options": { + "description": "connect OPTIONS requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1OptionsNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "head": { + "description": "connect HEAD requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1HeadNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Service", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PatchNamespacedServiceProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceProxyOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/path-z6Ciiujn" + }, + { + "$ref": "#/parameters/path-QCf0eosM" + } + ] + }, + "/api/v1/namespaces/{namespace}/services/{name}/status": { + "get": { + "description": "read status of the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespacedServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespacedServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Service", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespacedServiceStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Service", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{name}": { + "get": { + "description": "read the specified Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1Namespace", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1Namespace", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "delete": { + "description": "delete a Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1Namespace", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Namespace", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1Namespace", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Namespace", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{name}/finalize": { + "put": { + "description": "replace finalize of the specified Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespaceFinalize", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Namespace", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/namespaces/{name}/status": { + "get": { + "description": "read status of the specified Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NamespaceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Namespace", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NamespaceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Namespace", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NamespaceStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Namespace", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/nodes": { + "get": { + "description": "list or watch objects of kind Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1Node", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "post": { + "description": "create a Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1Node", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionNode", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/nodes/{name}": { + "get": { + "description": "read the specified Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1Node", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1Node", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "delete": { + "description": "delete a Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1Node", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Node", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1Node", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Node", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/nodes/{name}/proxy": { + "get": { + "description": "connect GET requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "put": { + "description": "connect PUT requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PutNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "delete": { + "description": "connect DELETE requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1DeleteNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "options": { + "description": "connect OPTIONS requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1OptionsNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "head": { + "description": "connect HEAD requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1HeadNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PatchNodeProxy", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NodeProxyOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/path-rFDtV0x9" + } + ] + }, + "/api/v1/nodes/{name}/proxy/{path}": { + "get": { + "description": "connect GET requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1GetNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "put": { + "description": "connect PUT requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PutNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "post": { + "description": "connect POST requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PostNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "delete": { + "description": "connect DELETE requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1DeleteNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "options": { + "description": "connect OPTIONS requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1OptionsNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "head": { + "description": "connect HEAD requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1HeadNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "patch": { + "description": "connect PATCH requests to proxy of Node", + "consumes": [ + "*/*" + ], + "produces": [ + "*/*" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "connectCoreV1PatchNodeProxyWithPath", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "connect", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "NodeProxyOptions", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NodeProxyOptions", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/path-z6Ciiujn" + }, + { + "$ref": "#/parameters/path-rFDtV0x9" + } + ] + }, + "/api/v1/nodes/{name}/status": { + "get": { + "description": "read status of the specified Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1NodeStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Node", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1NodeStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Node", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1NodeStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Node", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/persistentvolumeclaims": { + "get": { + "description": "list or watch objects of kind PersistentVolumeClaim", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1PersistentVolumeClaimForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/persistentvolumes": { + "get": { + "description": "list or watch objects of kind PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1PersistentVolume", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "post": { + "description": "create a PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "createCoreV1PersistentVolume", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1CollectionPersistentVolume", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/persistentvolumes/{name}": { + "get": { + "description": "read the specified PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1PersistentVolume", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1PersistentVolume", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "delete": { + "description": "delete a PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "deleteCoreV1PersistentVolume", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PersistentVolume", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1PersistentVolume", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolume", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/persistentvolumes/{name}/status": { + "get": { + "description": "read status of the specified PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "readCoreV1PersistentVolumeStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified PersistentVolume", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "replaceCoreV1PersistentVolumeStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified PersistentVolume", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "patchCoreV1PersistentVolumeStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolume", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/api/v1/pods": { + "get": { + "description": "list or watch objects of kind Pod", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1PodForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/podtemplates": { + "get": { + "description": "list or watch objects of kind PodTemplate", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1PodTemplateForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/replicationcontrollers": { + "get": { + "description": "list or watch objects of kind ReplicationController", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1ReplicationControllerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/resourcequotas": { + "get": { + "description": "list or watch objects of kind ResourceQuota", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1ResourceQuotaForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/secrets": { + "get": { + "description": "list or watch objects of kind Secret", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1SecretForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/serviceaccounts": { + "get": { + "description": "list or watch objects of kind ServiceAccount", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1ServiceAccountForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/services": { + "get": { + "description": "list or watch objects of kind Service", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "listCoreV1ServiceForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/configmaps": { + "get": { + "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1ConfigMapListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/endpoints": { + "get": { + "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1EndpointsListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/events": { + "get": { + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1EventListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/limitranges": { + "get": { + "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1LimitRangeListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces": { + "get": { + "description": "watch individual changes to a list of Namespace. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespaceList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/configmaps": { + "get": { + "description": "watch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedConfigMapList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { + "get": { + "description": "watch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedConfigMap", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ConfigMap", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/endpoints": { + "get": { + "description": "watch individual changes to a list of Endpoints. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedEndpointsList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { + "get": { + "description": "watch changes to an object of kind Endpoints. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedEndpoints", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Endpoints", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/events": { + "get": { + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedEventList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/events/{name}": { + "get": { + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedEvent", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/limitranges": { + "get": { + "description": "watch individual changes to a list of LimitRange. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedLimitRangeList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { + "get": { + "description": "watch changes to an object of kind LimitRange. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedLimitRange", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the LimitRange", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { + "get": { + "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedPersistentVolumeClaimList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { + "get": { + "description": "watch changes to an object of kind PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedPersistentVolumeClaim", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolumeClaim", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/pods": { + "get": { + "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedPodList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/pods/{name}": { + "get": { + "description": "watch changes to an object of kind Pod. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedPod", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/podtemplates": { + "get": { + "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedPodTemplateList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { + "get": { + "description": "watch changes to an object of kind PodTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedPodTemplate", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodTemplate", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { + "get": { + "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedReplicationControllerList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { + "get": { + "description": "watch changes to an object of kind ReplicationController. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedReplicationController", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicationController", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/resourcequotas": { + "get": { + "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedResourceQuotaList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { + "get": { + "description": "watch changes to an object of kind ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedResourceQuota", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ResourceQuota", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/secrets": { + "get": { + "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedSecretList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { + "get": { + "description": "watch changes to an object of kind Secret. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedSecret", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Secret", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { + "get": { + "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedServiceAccountList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { + "get": { + "description": "watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedServiceAccount", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceAccount", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/services": { + "get": { + "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedServiceList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{namespace}/services/{name}": { + "get": { + "description": "watch changes to an object of kind Service. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NamespacedService", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Service", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/namespaces/{name}": { + "get": { + "description": "watch changes to an object of kind Namespace. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1Namespace", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Namespace", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Namespace", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/nodes": { + "get": { + "description": "watch individual changes to a list of Node. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1NodeList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/nodes/{name}": { + "get": { + "description": "watch changes to an object of kind Node. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1Node", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Node", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Node", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/persistentvolumeclaims": { + "get": { + "description": "watch individual changes to a list of PersistentVolumeClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1PersistentVolumeClaimListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/persistentvolumes": { + "get": { + "description": "watch individual changes to a list of PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1PersistentVolumeList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/persistentvolumes/{name}": { + "get": { + "description": "watch changes to an object of kind PersistentVolume. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1PersistentVolume", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolume", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/pods": { + "get": { + "description": "watch individual changes to a list of Pod. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1PodListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/podtemplates": { + "get": { + "description": "watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1PodTemplateListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/replicationcontrollers": { + "get": { + "description": "watch individual changes to a list of ReplicationController. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1ReplicationControllerListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/resourcequotas": { + "get": { + "description": "watch individual changes to a list of ResourceQuota. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1ResourceQuotaListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/secrets": { + "get": { + "description": "watch individual changes to a list of Secret. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1SecretListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Secret", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/serviceaccounts": { + "get": { + "description": "watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1ServiceAccountListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/api/v1/watch/services": { + "get": { + "description": "watch individual changes to a list of Service. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "operationId": "watchCoreV1ServiceListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/": { + "get": { + "description": "get available API versions", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apis" + ], + "operationId": "getAPIVersions", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/acme.cert-manager.io/v1/challenges": { + "get": { + "description": "list objects of kind Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "listAcmeCertManagerIoV1ChallengeForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.ChallengeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/acme.cert-manager.io/v1/namespaces/{namespace}/challenges": { + "get": { + "description": "list objects of kind Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "listAcmeCertManagerIoV1NamespacedChallenge", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.ChallengeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "post": { + "description": "create a Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "createAcmeCertManagerIoV1NamespacedChallenge", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "deleteAcmeCertManagerIoV1CollectionNamespacedChallenge", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/acme.cert-manager.io/v1/namespaces/{namespace}/challenges/{name}": { + "get": { + "description": "read the specified Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "readAcmeCertManagerIoV1NamespacedChallenge", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "replaceAcmeCertManagerIoV1NamespacedChallenge", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "delete": { + "description": "delete a Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "deleteAcmeCertManagerIoV1NamespacedChallenge", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Challenge", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "patchAcmeCertManagerIoV1NamespacedChallenge", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Challenge", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/acme.cert-manager.io/v1/namespaces/{namespace}/challenges/{name}/status": { + "get": { + "description": "read status of the specified Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "readAcmeCertManagerIoV1NamespacedChallengeStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Challenge", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "replaceAcmeCertManagerIoV1NamespacedChallengeStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Challenge", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "patchAcmeCertManagerIoV1NamespacedChallengeStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Challenge", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/acme.cert-manager.io/v1/namespaces/{namespace}/orders": { + "get": { + "description": "list objects of kind Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "listAcmeCertManagerIoV1NamespacedOrder", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.OrderList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "post": { + "description": "create an Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "createAcmeCertManagerIoV1NamespacedOrder", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "deleteAcmeCertManagerIoV1CollectionNamespacedOrder", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/acme.cert-manager.io/v1/namespaces/{namespace}/orders/{name}": { + "get": { + "description": "read the specified Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "readAcmeCertManagerIoV1NamespacedOrder", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "replaceAcmeCertManagerIoV1NamespacedOrder", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "delete": { + "description": "delete an Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "deleteAcmeCertManagerIoV1NamespacedOrder", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Order", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "patchAcmeCertManagerIoV1NamespacedOrder", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Order", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/acme.cert-manager.io/v1/namespaces/{namespace}/orders/{name}/status": { + "get": { + "description": "read status of the specified Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "readAcmeCertManagerIoV1NamespacedOrderStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "replaceAcmeCertManagerIoV1NamespacedOrderStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Order", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "patchAcmeCertManagerIoV1NamespacedOrderStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Order", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/acme.cert-manager.io/v1/orders": { + "get": { + "description": "list objects of kind Order", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "acmeCertManagerIo_v1" + ], + "operationId": "listAcmeCertManagerIoV1OrderForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.acme.v1.OrderList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration" + ], + "operationId": "getAdmissionregistrationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "getAdmissionregistrationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations": { + "get": { + "description": "list or watch objects of kind MutatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "listAdmissionregistrationV1MutatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "post": { + "description": "create a MutatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "createAdmissionregistrationV1MutatingWebhookConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of MutatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}": { + "get": { + "description": "read the specified MutatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "readAdmissionregistrationV1MutatingWebhookConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "put": { + "description": "replace the specified MutatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "replaceAdmissionregistrationV1MutatingWebhookConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "delete": { + "description": "delete a MutatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1MutatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified MutatingWebhookConfiguration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "patchAdmissionregistrationV1MutatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the MutatingWebhookConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies": { + "get": { + "description": "list or watch objects of kind ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "listAdmissionregistrationV1ValidatingAdmissionPolicy", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "post": { + "description": "create a ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "createAdmissionregistrationV1ValidatingAdmissionPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}": { + "get": { + "description": "read the specified ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "readAdmissionregistrationV1ValidatingAdmissionPolicy", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "replaceAdmissionregistrationV1ValidatingAdmissionPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "delete": { + "description": "delete a ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1ValidatingAdmissionPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ValidatingAdmissionPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "patchAdmissionregistrationV1ValidatingAdmissionPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingAdmissionPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}/status": { + "get": { + "description": "read status of the specified ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "readAdmissionregistrationV1ValidatingAdmissionPolicyStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ValidatingAdmissionPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "replaceAdmissionregistrationV1ValidatingAdmissionPolicyStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ValidatingAdmissionPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "patchAdmissionregistrationV1ValidatingAdmissionPolicyStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingAdmissionPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings": { + "get": { + "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "listAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "post": { + "description": "create a ValidatingAdmissionPolicyBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "createAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ValidatingAdmissionPolicyBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/{name}": { + "get": { + "description": "read the specified ValidatingAdmissionPolicyBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "readAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ValidatingAdmissionPolicyBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "replaceAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete a ValidatingAdmissionPolicyBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ValidatingAdmissionPolicyBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "patchAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingAdmissionPolicyBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations": { + "get": { + "description": "list or watch objects of kind ValidatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "listAdmissionregistrationV1ValidatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "post": { + "description": "create a ValidatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "createAdmissionregistrationV1ValidatingWebhookConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ValidatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}": { + "get": { + "description": "read the specified ValidatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "readAdmissionregistrationV1ValidatingWebhookConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ValidatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "replaceAdmissionregistrationV1ValidatingWebhookConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "delete": { + "description": "delete a ValidatingWebhookConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "deleteAdmissionregistrationV1ValidatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ValidatingWebhookConfiguration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "patchAdmissionregistrationV1ValidatingWebhookConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingWebhookConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": { + "get": { + "description": "watch individual changes to a list of MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1MutatingWebhookConfigurationList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": { + "get": { + "description": "watch changes to an object of kind MutatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1MutatingWebhookConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the MutatingWebhookConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies": { + "get": { + "description": "watch individual changes to a list of ValidatingAdmissionPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1ValidatingAdmissionPolicyList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/{name}": { + "get": { + "description": "watch changes to an object of kind ValidatingAdmissionPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1ValidatingAdmissionPolicy", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingAdmissionPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings": { + "get": { + "description": "watch individual changes to a list of ValidatingAdmissionPolicyBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1ValidatingAdmissionPolicyBindingList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/{name}": { + "get": { + "description": "watch changes to an object of kind ValidatingAdmissionPolicyBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1ValidatingAdmissionPolicyBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingAdmissionPolicyBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": { + "get": { + "description": "watch individual changes to a list of ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfigurationList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": { + "get": { + "description": "watch changes to an object of kind ValidatingWebhookConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1" + ], + "operationId": "watchAdmissionregistrationV1ValidatingWebhookConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ValidatingWebhookConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apiextensions.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions" + ], + "operationId": "getApiextensionsAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apiextensions.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "getApiextensionsV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apiextensions.k8s.io/v1/customresourcedefinitions": { + "get": { + "description": "list or watch objects of kind CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "listApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "post": { + "description": "create a CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "createApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "deleteApiextensionsV1CollectionCustomResourceDefinition", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}": { + "get": { + "description": "read the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "readApiextensionsV1CustomResourceDefinition", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "replaceApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "delete": { + "description": "delete a CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "deleteApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "patchApiextensionsV1CustomResourceDefinition", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CustomResourceDefinition", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status": { + "get": { + "description": "read status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "readApiextensionsV1CustomResourceDefinitionStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "replaceApiextensionsV1CustomResourceDefinitionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "patchApiextensionsV1CustomResourceDefinitionStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CustomResourceDefinition", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": { + "get": { + "description": "watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "watchApiextensionsV1CustomResourceDefinitionList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": { + "get": { + "description": "watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1" + ], + "operationId": "watchApiextensionsV1CustomResourceDefinition", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CustomResourceDefinition", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apiregistration.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration" + ], + "operationId": "getApiregistrationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apiregistration.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "getApiregistrationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apiregistration.k8s.io/v1/apiservices": { + "get": { + "description": "list or watch objects of kind APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "listApiregistrationV1APIService", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "post": { + "description": "create an APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "createApiregistrationV1APIService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "delete": { + "description": "delete collection of APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "deleteApiregistrationV1CollectionAPIService", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { + "get": { + "description": "read the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readApiregistrationV1APIService", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "put": { + "description": "replace the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "replaceApiregistrationV1APIService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "delete": { + "description": "delete an APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "deleteApiregistrationV1APIService", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "patch": { + "description": "partially update the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchApiregistrationV1APIService", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readApiregistrationV1APIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "put": { + "description": "replace status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "replaceApiregistrationV1APIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchApiregistrationV1APIServiceStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/watch/apiservices": { + "get": { + "description": "watch individual changes to a list of APIService. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "watchApiregistrationV1APIServiceList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { + "get": { + "description": "watch changes to an object of kind APIService. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "watchApiregistrationV1APIService", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "version": "v1", + "kind": "APIService" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps" + ], + "operationId": "getAppsAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apps/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "getAppsV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apps/v1/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1ControllerRevisionForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1DaemonSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1DeploymentForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1NamespacedControllerRevision", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevisionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "post": { + "description": "create a ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "createAppsV1NamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1CollectionNamespacedControllerRevision", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": { + "get": { + "description": "read the specified ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedControllerRevision", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "delete": { + "description": "delete a ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1NamespacedControllerRevision", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ControllerRevision", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedControllerRevision", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ControllerRevision", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1NamespacedDaemonSet", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "post": { + "description": "create a DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "createAppsV1NamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1CollectionNamespacedDaemonSet", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": { + "get": { + "description": "read the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedDaemonSet", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "put": { + "description": "replace the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "delete": { + "description": "delete a DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1NamespacedDaemonSet", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified DaemonSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedDaemonSet", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": { + "get": { + "description": "read status of the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedDaemonSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedDaemonSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified DaemonSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedDaemonSetStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1NamespacedDeployment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "post": { + "description": "create a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "createAppsV1NamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1CollectionNamespacedDeployment", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": { + "get": { + "description": "read the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedDeployment", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "delete": { + "description": "delete a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1NamespacedDeployment", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedDeployment", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": { + "get": { + "description": "read scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedDeploymentScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedDeploymentScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": { + "get": { + "description": "read status of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedDeploymentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedDeploymentStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/replicasets": { + "get": { + "description": "list or watch objects of kind ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1NamespacedReplicaSet", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "post": { + "description": "create a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "createAppsV1NamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1CollectionNamespacedReplicaSet", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": { + "get": { + "description": "read the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedReplicaSet", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "delete": { + "description": "delete a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1NamespacedReplicaSet", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedReplicaSet", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedReplicaSetScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedReplicaSetScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": { + "get": { + "description": "read status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedReplicaSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedReplicaSetStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/statefulsets": { + "get": { + "description": "list or watch objects of kind StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1NamespacedStatefulSet", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "post": { + "description": "create a StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "createAppsV1NamespacedStatefulSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1CollectionNamespacedStatefulSet", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": { + "get": { + "description": "read the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedStatefulSet", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "put": { + "description": "replace the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedStatefulSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "delete": { + "description": "delete a StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteAppsV1NamespacedStatefulSet", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified StatefulSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedStatefulSet", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": { + "get": { + "description": "read scale of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedStatefulSetScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedStatefulSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified StatefulSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedStatefulSetScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": { + "get": { + "description": "read status of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readAppsV1NamespacedStatefulSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceAppsV1NamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified StatefulSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchAppsV1NamespacedStatefulSetStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/apps/v1/replicasets": { + "get": { + "description": "list or watch objects of kind ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1ReplicaSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/statefulsets": { + "get": { + "description": "list or watch objects of kind StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "listAppsV1StatefulSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/controllerrevisions": { + "get": { + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1ControllerRevisionListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/daemonsets": { + "get": { + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1DaemonSetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/deployments": { + "get": { + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1DeploymentListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { + "get": { + "description": "watch individual changes to a list of ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedControllerRevisionList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { + "get": { + "description": "watch changes to an object of kind ControllerRevision. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedControllerRevision", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ControllerRevision", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { + "get": { + "description": "watch individual changes to a list of DaemonSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedDaemonSetList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { + "get": { + "description": "watch changes to an object of kind DaemonSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedDaemonSet", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { + "get": { + "description": "watch individual changes to a list of Deployment. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedDeploymentList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { + "get": { + "description": "watch changes to an object of kind Deployment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedDeployment", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { + "get": { + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedReplicaSetList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { + "get": { + "description": "watch changes to an object of kind ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedReplicaSet", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { + "get": { + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedStatefulSetList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { + "get": { + "description": "watch changes to an object of kind StatefulSet. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1NamespacedStatefulSet", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/replicasets": { + "get": { + "description": "watch individual changes to a list of ReplicaSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1ReplicaSetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/apps/v1/watch/statefulsets": { + "get": { + "description": "watch individual changes to a list of StatefulSet. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "watchAppsV1StatefulSetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/authentication.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication" + ], + "operationId": "getAuthenticationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "getAuthenticationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authentication.k8s.io/v1/selfsubjectreviews": { + "post": { + "description": "create a SelfSubjectReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "createAuthenticationV1SelfSubjectReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.SelfSubjectReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.SelfSubjectReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.SelfSubjectReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.SelfSubjectReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "SelfSubjectReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { + "post": { + "description": "create a TokenReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication_v1" + ], + "operationId": "createAuthenticationV1TokenReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization" + ], + "operationId": "getAuthorizationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "getAuthorizationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LocalSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1SelfSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1SelfSubjectRulesReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/authorization.k8s.io/v1/subjectaccessreviews": { + "post": { + "description": "create a SubjectAccessReview", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" + ], + "operationId": "createAuthorizationV1SubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReview" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/metrics": { + "get": { + "description": "list objects of kind Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "listAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.MetricList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/{namespace}/metrics": { + "get": { + "description": "list objects of kind Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "listAutoscalingInternalKnativeDevV1alpha1NamespacedMetric", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.MetricList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "createAutoscalingInternalKnativeDevV1alpha1NamespacedMetric", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetric", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/{namespace}/metrics/{name}": { + "get": { + "description": "read the specified Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "readAutoscalingInternalKnativeDevV1alpha1NamespacedMetric", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetric", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetric", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified Metric", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetric", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Metric", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/{namespace}/metrics/{name}/status": { + "get": { + "description": "read status of the specified Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "readAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified Metric", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified Metric", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Metric", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/{namespace}/podautoscalers": { + "get": { + "description": "list objects of kind PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "listAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "createAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/{namespace}/podautoscalers/{name}": { + "get": { + "description": "read the specified PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/{namespace}/podautoscalers/{name}/status": { + "get": { + "description": "read status of the specified PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified PodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling.internal.knative.dev/v1alpha1/podautoscalers": { + "get": { + "description": "list objects of kind PodAutoscaler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscalingInternalKnativeDev_v1alpha1" + ], + "operationId": "listAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling" + ], + "operationId": "getAutoscalingAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "getAutoscalingV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v1/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "listAutoscalingV1NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "post": { + "description": "create a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "createAutoscalingV1NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "get": { + "description": "read the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscaler", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "put": { + "description": "replace the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "delete": { + "description": "delete a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "deleteAutoscalingV1NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "get": { + "description": "read status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { + "get": { + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "get": { + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscalerList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "get": { + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "watchAutoscalingV1NamespacedHorizontalPodAutoscaler", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v2/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "getAutoscalingV2APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v2/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "listAutoscalingV2HorizontalPodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "listAutoscalingV2NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "post": { + "description": "create a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "createAutoscalingV2NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "delete": { + "description": "delete collection of HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "deleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "get": { + "description": "read the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "readAutoscalingV2NamespacedHorizontalPodAutoscaler", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "put": { + "description": "replace the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "replaceAutoscalingV2NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "delete": { + "description": "delete a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "deleteAutoscalingV2NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "patch": { + "description": "partially update the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "patchAutoscalingV2NamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "get": { + "description": "read status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "readAutoscalingV2NamespacedHorizontalPodAutoscalerStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "put": { + "description": "replace status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "replaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "patch": { + "description": "partially update status of the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "patchAutoscalingV2NamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/autoscaling/v2/watch/horizontalpodautoscalers": { + "get": { + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "watchAutoscalingV2HorizontalPodAutoscalerListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "get": { + "description": "watch individual changes to a list of HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "watchAutoscalingV2NamespacedHorizontalPodAutoscalerList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "get": { + "description": "watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2" + ], + "operationId": "watchAutoscalingV2NamespacedHorizontalPodAutoscaler", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch" + ], + "operationId": "getBatchAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "getBatchV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listBatchV1CronJobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/jobs": { + "get": { + "description": "list or watch objects of kind Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listBatchV1JobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listBatchV1NamespacedCronJob", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "post": { + "description": "create a CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "createBatchV1NamespacedCronJob", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "deleteBatchV1CollectionNamespacedCronJob", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}": { + "get": { + "description": "read the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "readBatchV1NamespacedCronJob", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "replaceBatchV1NamespacedCronJob", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "delete": { + "description": "delete a CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "deleteBatchV1NamespacedCronJob", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CronJob", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "patchBatchV1NamespacedCronJob", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status": { + "get": { + "description": "read status of the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "readBatchV1NamespacedCronJobStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "replaceBatchV1NamespacedCronJobStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified CronJob", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "patchBatchV1NamespacedCronJobStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/jobs": { + "get": { + "description": "list or watch objects of kind Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listBatchV1NamespacedJob", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "post": { + "description": "create a Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "createBatchV1NamespacedJob", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "deleteBatchV1CollectionNamespacedJob", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "get": { + "description": "read the specified Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "readBatchV1NamespacedJob", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "replaceBatchV1NamespacedJob", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "delete": { + "description": "delete a Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "deleteBatchV1NamespacedJob", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Job", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "patchBatchV1NamespacedJob", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Job", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "get": { + "description": "read status of the specified Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "readBatchV1NamespacedJobStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "replaceBatchV1NamespacedJobStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Job", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "patchBatchV1NamespacedJobStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Job", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/batch/v1/watch/cronjobs": { + "get": { + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "watchBatchV1CronJobListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/watch/jobs": { + "get": { + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "watchBatchV1JobListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs": { + "get": { + "description": "watch individual changes to a list of CronJob. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "watchBatchV1NamespacedCronJobList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs/{name}": { + "get": { + "description": "watch changes to an object of kind CronJob. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "watchBatchV1NamespacedCronJob", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { + "get": { + "description": "watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "watchBatchV1NamespacedJobList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "get": { + "description": "watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "watchBatchV1NamespacedJob", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Job", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/caching.internal.knative.dev/v1alpha1/images": { + "get": { + "description": "list objects of kind Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "listCachingInternalKnativeDevV1alpha1ImageForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.ImageList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/caching.internal.knative.dev/v1alpha1/namespaces/{namespace}/images": { + "get": { + "description": "list objects of kind Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "listCachingInternalKnativeDevV1alpha1NamespacedImage", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.ImageList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "post": { + "description": "create an Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "createCachingInternalKnativeDevV1alpha1NamespacedImage", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImage", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/caching.internal.knative.dev/v1alpha1/namespaces/{namespace}/images/{name}": { + "get": { + "description": "read the specified Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "readCachingInternalKnativeDevV1alpha1NamespacedImage", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceCachingInternalKnativeDevV1alpha1NamespacedImage", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete an Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteCachingInternalKnativeDevV1alpha1NamespacedImage", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified Image", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchCachingInternalKnativeDevV1alpha1NamespacedImage", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Image", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/caching.internal.knative.dev/v1alpha1/namespaces/{namespace}/images/{name}/status": { + "get": { + "description": "read status of the specified Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "readCachingInternalKnativeDevV1alpha1NamespacedImageStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified Image", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceCachingInternalKnativeDevV1alpha1NamespacedImageStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified Image", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "cachingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchCachingInternalKnativeDevV1alpha1NamespacedImageStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Image", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/certificaterequests": { + "get": { + "description": "list objects of kind CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1CertificateRequestForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequestList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/cert-manager.io/v1/certificates": { + "get": { + "description": "list objects of kind Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1CertificateForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/cert-manager.io/v1/clusterissuers": { + "get": { + "description": "list objects of kind ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1ClusterIssuer", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "createCertManagerIoV1ClusterIssuer", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1CollectionClusterIssuer", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/clusterissuers/{name}": { + "get": { + "description": "read the specified ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1ClusterIssuer", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1ClusterIssuer", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "delete": { + "description": "delete a ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1ClusterIssuer", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ClusterIssuer", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1ClusterIssuer", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterIssuer", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/clusterissuers/{name}/status": { + "get": { + "description": "read status of the specified ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1ClusterIssuerStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ClusterIssuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1ClusterIssuerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ClusterIssuer", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1ClusterIssuerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterIssuer", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/issuers": { + "get": { + "description": "list objects of kind Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1IssuerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.IssuerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/certificaterequests": { + "get": { + "description": "list objects of kind CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1NamespacedCertificateRequest", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequestList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "post": { + "description": "create a CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "createCertManagerIoV1NamespacedCertificateRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1CollectionNamespacedCertificateRequest", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/certificaterequests/{name}": { + "get": { + "description": "read the specified CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1NamespacedCertificateRequest", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1NamespacedCertificateRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "delete": { + "description": "delete a CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1NamespacedCertificateRequest", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CertificateRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1NamespacedCertificateRequest", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/certificaterequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1NamespacedCertificateRequestStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified CertificateRequest", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1NamespacedCertificateRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified CertificateRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1NamespacedCertificateRequestStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/certificates": { + "get": { + "description": "list objects of kind Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "post": { + "description": "create a Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "createCertManagerIoV1NamespacedCertificate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1CollectionNamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/certificates/{name}": { + "get": { + "description": "read the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1NamespacedCertificate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "delete": { + "description": "delete a Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Certificate", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Certificate", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/certificates/{name}/status": { + "get": { + "description": "read status of the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1NamespacedCertificateStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1NamespacedCertificateStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Certificate", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1NamespacedCertificateStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Certificate", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/issuers": { + "get": { + "description": "list objects of kind Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "listCertManagerIoV1NamespacedIssuer", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.IssuerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "post": { + "description": "create an Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "createCertManagerIoV1NamespacedIssuer", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1CollectionNamespacedIssuer", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/issuers/{name}": { + "get": { + "description": "read the specified Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1NamespacedIssuer", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1NamespacedIssuer", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "delete": { + "description": "delete an Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "deleteCertManagerIoV1NamespacedIssuer", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Issuer", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1NamespacedIssuer", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Issuer", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/cert-manager.io/v1/namespaces/{namespace}/issuers/{name}/status": { + "get": { + "description": "read status of the specified Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "readCertManagerIoV1NamespacedIssuerStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Issuer", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "replaceCertManagerIoV1NamespacedIssuerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Issuer", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "certManagerIo_v1" + ], + "operationId": "patchCertManagerIoV1NamespacedIssuerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Issuer", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/certificates.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates" + ], + "operationId": "getCertificatesAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "getCertificatesV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1/certificatesigningrequests": { + "get": { + "description": "list or watch objects of kind CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "listCertificatesV1CertificateSigningRequest", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "post": { + "description": "create a CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "createCertificatesV1CertificateSigningRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "deleteCertificatesV1CollectionCertificateSigningRequest", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}": { + "get": { + "description": "read the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "readCertificatesV1CertificateSigningRequest", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "replaceCertificatesV1CertificateSigningRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "delete": { + "description": "delete a CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "deleteCertificatesV1CertificateSigningRequest", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "patchCertificatesV1CertificateSigningRequest", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval": { + "get": { + "description": "read approval of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "readCertificatesV1CertificateSigningRequestApproval", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "put": { + "description": "replace approval of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "replaceCertificatesV1CertificateSigningRequestApproval", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "patch": { + "description": "partially update approval of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "patchCertificatesV1CertificateSigningRequestApproval", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "readCertificatesV1CertificateSigningRequestStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "replaceCertificatesV1CertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "patchCertificatesV1CertificateSigningRequestStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests": { + "get": { + "description": "watch individual changes to a list of CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "watchCertificatesV1CertificateSigningRequestList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/{name}": { + "get": { + "description": "watch changes to an object of kind CertificateSigningRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1" + ], + "operationId": "watchCertificatesV1CertificateSigningRequest", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination" + ], + "operationId": "getCoordinationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/coordination.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "getCoordinationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/coordination.k8s.io/v1/leases": { + "get": { + "description": "list or watch objects of kind Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "listCoordinationV1LeaseForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": { + "get": { + "description": "list or watch objects of kind Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "listCoordinationV1NamespacedLease", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "post": { + "description": "create a Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "createCoordinationV1NamespacedLease", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "deleteCoordinationV1CollectionNamespacedLease", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": { + "get": { + "description": "read the specified Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "readCoordinationV1NamespacedLease", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "replaceCoordinationV1NamespacedLease", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "delete": { + "description": "delete a Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "deleteCoordinationV1NamespacedLease", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Lease", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "patchCoordinationV1NamespacedLease", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Lease", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/coordination.k8s.io/v1/watch/leases": { + "get": { + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "watchCoordinationV1LeaseListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { + "get": { + "description": "watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "watchCoordinationV1NamespacedLeaseList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { + "get": { + "description": "watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1" + ], + "operationId": "watchCoordinationV1NamespacedLease", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Lease", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/discovery.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery" + ], + "operationId": "getDiscoveryAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/discovery.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "getDiscoveryV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/discovery.k8s.io/v1/endpointslices": { + "get": { + "description": "list or watch objects of kind EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "listDiscoveryV1EndpointSliceForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": { + "get": { + "description": "list or watch objects of kind EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "listDiscoveryV1NamespacedEndpointSlice", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "post": { + "description": "create an EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "createDiscoveryV1NamespacedEndpointSlice", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "deleteDiscoveryV1CollectionNamespacedEndpointSlice", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": { + "get": { + "description": "read the specified EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "readDiscoveryV1NamespacedEndpointSlice", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "put": { + "description": "replace the specified EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "replaceDiscoveryV1NamespacedEndpointSlice", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "delete": { + "description": "delete an EndpointSlice", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "deleteDiscoveryV1NamespacedEndpointSlice", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified EndpointSlice", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "patchDiscoveryV1NamespacedEndpointSlice", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the EndpointSlice", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/discovery.k8s.io/v1/watch/endpointslices": { + "get": { + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "watchDiscoveryV1EndpointSliceListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": { + "get": { + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "watchDiscoveryV1NamespacedEndpointSliceList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": { + "get": { + "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "discovery_v1" + ], + "operationId": "watchDiscoveryV1NamespacedEndpointSlice", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the EndpointSlice", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/events.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events" + ], + "operationId": "getEventsAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/events.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "getEventsV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/events.k8s.io/v1/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "listEventsV1EventForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/events.k8s.io/v1/namespaces/{namespace}/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "listEventsV1NamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "post": { + "description": "create an Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "createEventsV1NamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "deleteEventsV1CollectionNamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": { + "get": { + "description": "read the specified Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "readEventsV1NamespacedEvent", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "replaceEventsV1NamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "delete": { + "description": "delete an Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "deleteEventsV1NamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Event", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "patchEventsV1NamespacedEvent", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/events.k8s.io/v1/watch/events": { + "get": { + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "watchEventsV1EventListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": { + "get": { + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "watchEventsV1NamespacedEventList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": { + "get": { + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "operationId": "watchEventsV1NamespacedEvent", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver" + ], + "operationId": "getFlowcontrolApiserverAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "getFlowcontrolApiserverV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { + "get": { + "description": "list or watch objects of kind FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "listFlowcontrolApiserverV1FlowSchema", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "post": { + "description": "create a FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "createFlowcontrolApiserverV1FlowSchema", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "deleteFlowcontrolApiserverV1CollectionFlowSchema", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { + "get": { + "description": "read the specified FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "readFlowcontrolApiserverV1FlowSchema", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "put": { + "description": "replace the specified FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "replaceFlowcontrolApiserverV1FlowSchema", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "delete": { + "description": "delete a FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "deleteFlowcontrolApiserverV1FlowSchema", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified FlowSchema", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "patchFlowcontrolApiserverV1FlowSchema", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the FlowSchema", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { + "get": { + "description": "read status of the specified FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "readFlowcontrolApiserverV1FlowSchemaStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified FlowSchema", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "replaceFlowcontrolApiserverV1FlowSchemaStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified FlowSchema", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "patchFlowcontrolApiserverV1FlowSchemaStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the FlowSchema", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { + "get": { + "description": "list or watch objects of kind PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "listFlowcontrolApiserverV1PriorityLevelConfiguration", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "post": { + "description": "create a PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "createFlowcontrolApiserverV1PriorityLevelConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { + "get": { + "description": "read the specified PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "readFlowcontrolApiserverV1PriorityLevelConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "delete": { + "description": "delete a PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "deleteFlowcontrolApiserverV1PriorityLevelConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PriorityLevelConfiguration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityLevelConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { + "get": { + "description": "read status of the specified PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "readFlowcontrolApiserverV1PriorityLevelConfigurationStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified PriorityLevelConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified PriorityLevelConfiguration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityLevelConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { + "get": { + "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "watchFlowcontrolApiserverV1FlowSchemaList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { + "get": { + "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "watchFlowcontrolApiserverV1FlowSchema", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the FlowSchema", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { + "get": { + "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfigurationList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { + "get": { + "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfiguration", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityLevelConfiguration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/alertmanagers": { + "get": { + "description": "list objects of kind Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1AlertmanagerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.AlertmanagerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/alertmanagers": { + "get": { + "description": "list objects of kind Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedAlertmanager", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.AlertmanagerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "post": { + "description": "create an Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedAlertmanager", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedAlertmanager", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/alertmanagers/{name}": { + "get": { + "description": "read the specified Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedAlertmanager", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedAlertmanager", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "delete": { + "description": "delete an Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedAlertmanager", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Alertmanager", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedAlertmanager", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Alertmanager", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/alertmanagers/{name}/scale": { + "get": { + "description": "read scale of the specified Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedAlertmanagerScale", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedAlertmanagerScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified Alertmanager", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedAlertmanagerScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Alertmanager", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/alertmanagers/{name}/status": { + "get": { + "description": "read status of the specified Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedAlertmanagerStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Alertmanager", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedAlertmanagerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Alertmanager", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedAlertmanagerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Alertmanager", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/podmonitors": { + "get": { + "description": "list objects of kind PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedPodMonitor", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitorList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "post": { + "description": "create a PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedPodMonitor", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedPodMonitor", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/podmonitors/{name}": { + "get": { + "description": "read the specified PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedPodMonitor", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedPodMonitor", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "delete": { + "description": "delete a PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedPodMonitor", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PodMonitor", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedPodMonitor", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodMonitor", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/probes": { + "get": { + "description": "list objects of kind Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedProbe", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ProbeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "post": { + "description": "create a Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedProbe", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedProbe", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/probes/{name}": { + "get": { + "description": "read the specified Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedProbe", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedProbe", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "delete": { + "description": "delete a Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedProbe", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Probe", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedProbe", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Probe", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses": { + "get": { + "description": "list objects of kind Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedPrometheus", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "post": { + "description": "create Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedPrometheus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedPrometheus", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses/{name}": { + "get": { + "description": "read the specified Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedPrometheus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedPrometheus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "delete": { + "description": "delete Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedPrometheus", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Prometheus", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedPrometheus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Prometheus", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses/{name}/scale": { + "get": { + "description": "read scale of the specified Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedPrometheusScale", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedPrometheusScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified Prometheus", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedPrometheusScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Prometheus", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses/{name}/status": { + "get": { + "description": "read status of the specified Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedPrometheusStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedPrometheusStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Prometheus", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedPrometheusStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Prometheus", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules": { + "get": { + "description": "list objects of kind PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedPrometheusRule", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRuleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "post": { + "description": "create a PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedPrometheusRule", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedPrometheusRule", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name}": { + "get": { + "description": "read the specified PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedPrometheusRule", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedPrometheusRule", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "delete": { + "description": "delete a PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedPrometheusRule", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PrometheusRule", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedPrometheusRule", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PrometheusRule", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/servicemonitors": { + "get": { + "description": "list objects of kind ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedServiceMonitor", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitorList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "post": { + "description": "create a ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedServiceMonitor", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedServiceMonitor", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/servicemonitors/{name}": { + "get": { + "description": "read the specified ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedServiceMonitor", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedServiceMonitor", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "delete": { + "description": "delete a ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedServiceMonitor", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ServiceMonitor", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedServiceMonitor", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceMonitor", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/servicemonitors/{name}/status": { + "get": { + "description": "read status of the specified ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedServiceMonitorStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedServiceMonitorStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ServiceMonitor", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedServiceMonitorStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServiceMonitor", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/thanosrulers": { + "get": { + "description": "list objects of kind ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1NamespacedThanosRuler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRulerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "post": { + "description": "create a ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "createMonitoringCoreosComV1NamespacedThanosRuler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1CollectionNamespacedThanosRuler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/thanosrulers/{name}": { + "get": { + "description": "read the specified ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedThanosRuler", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedThanosRuler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "delete": { + "description": "delete a ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "deleteMonitoringCoreosComV1NamespacedThanosRuler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ThanosRuler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedThanosRuler", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ThanosRuler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/namespaces/{namespace}/thanosrulers/{name}/status": { + "get": { + "description": "read status of the specified ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "readMonitoringCoreosComV1NamespacedThanosRulerStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "replaceMonitoringCoreosComV1NamespacedThanosRulerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ThanosRuler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "patchMonitoringCoreosComV1NamespacedThanosRulerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ThanosRuler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1/podmonitors": { + "get": { + "description": "list objects of kind PodMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1PodMonitorForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitorList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/probes": { + "get": { + "description": "list objects of kind Probe", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1ProbeForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ProbeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/prometheuses": { + "get": { + "description": "list objects of kind Prometheus", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1PrometheusForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/prometheusrules": { + "get": { + "description": "list objects of kind PrometheusRule", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1PrometheusRuleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRuleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/servicemonitors": { + "get": { + "description": "list objects of kind ServiceMonitor", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1ServiceMonitorForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitorList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1/thanosrulers": { + "get": { + "description": "list objects of kind ThanosRuler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1" + ], + "operationId": "listMonitoringCoreosComV1ThanosRulerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRulerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/alertmanagerconfigs": { + "get": { + "description": "list objects of kind AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "listMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfigList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/alertmanagerconfigs": { + "get": { + "description": "list objects of kind AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "listMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfigList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "post": { + "description": "create an AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "createMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "deleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfig", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/alertmanagerconfigs/{name}": { + "get": { + "description": "read the specified AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "readMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "replaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete an AlertmanagerConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "deleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified AlertmanagerConfig", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "patchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the AlertmanagerConfig", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/prometheusagents": { + "get": { + "description": "list objects of kind PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "listMonitoringCoreosComV1alpha1NamespacedPrometheusAgent", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "createMonitoringCoreosComV1alpha1NamespacedPrometheusAgent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "deleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgent", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/prometheusagents/{name}": { + "get": { + "description": "read the specified PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "readMonitoringCoreosComV1alpha1NamespacedPrometheusAgent", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "deleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgent", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified PrometheusAgent", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgent", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PrometheusAgent", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/prometheusagents/{name}/scale": { + "get": { + "description": "read scale of the specified PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace scale of the specified PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update scale of the specified PrometheusAgent", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PrometheusAgent", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/prometheusagents/{name}/status": { + "get": { + "description": "read status of the specified PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified PrometheusAgent", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PrometheusAgent", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/scrapeconfigs": { + "get": { + "description": "list objects of kind ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "listMonitoringCoreosComV1alpha1NamespacedScrapeConfig", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfigList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "createMonitoringCoreosComV1alpha1NamespacedScrapeConfig", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "deleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfig", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/namespaces/{namespace}/scrapeconfigs/{name}": { + "get": { + "description": "read the specified ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "readMonitoringCoreosComV1alpha1NamespacedScrapeConfig", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "replaceMonitoringCoreosComV1alpha1NamespacedScrapeConfig", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "deleteMonitoringCoreosComV1alpha1NamespacedScrapeConfig", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified ScrapeConfig", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "patchMonitoringCoreosComV1alpha1NamespacedScrapeConfig", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ScrapeConfig", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/prometheusagents": { + "get": { + "description": "list objects of kind PrometheusAgent", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "listMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/monitoring.coreos.com/v1alpha1/scrapeconfigs": { + "get": { + "description": "list objects of kind ScrapeConfig", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "monitoringCoreosCom_v1alpha1" + ], + "operationId": "listMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfigList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/certificates": { + "get": { + "description": "list objects of kind Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.CertificateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims": { + "get": { + "description": "list objects of kind ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaimList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "createNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaim", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/{name}": { + "get": { + "description": "read the specified ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified ClusterDomainClaim", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterDomainClaim", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/{name}/status": { + "get": { + "description": "read status of the specified ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified ClusterDomainClaim", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified ClusterDomainClaim", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterDomainClaim", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/ingresses": { + "get": { + "description": "list objects of kind Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1IngressForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/certificates": { + "get": { + "description": "list objects of kind Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.CertificateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "createNetworkingInternalKnativeDevV1alpha1NamespacedCertificate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/certificates/{name}": { + "get": { + "description": "read the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificate", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified Certificate", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificate", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Certificate", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/certificates/{name}/status": { + "get": { + "description": "read status of the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified Certificate", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified Certificate", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Certificate", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/ingresses": { + "get": { + "description": "list objects of kind Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "post": { + "description": "create an Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "createNetworkingInternalKnativeDevV1alpha1NamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/ingresses/{name}": { + "get": { + "description": "read the specified Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete an Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/ingresses/{name}/status": { + "get": { + "description": "read status of the specified Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified Ingress", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/serverlessservices": { + "get": { + "description": "list objects of kind ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "createNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete collection of ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessService", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/serverlessservices/{name}": { + "get": { + "description": "read the specified ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "delete": { + "description": "delete a ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "deleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update the specified ServerlessService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServerlessService", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/namespaces/{namespace}/serverlessservices/{name}/status": { + "get": { + "description": "read status of the specified ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace status of the specified ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "patch": { + "description": "partially update status of the specified ServerlessService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ServerlessService", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.internal.knative.dev/v1alpha1/serverlessservices": { + "get": { + "description": "list objects of kind ServerlessService", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "networkingInternalKnativeDev_v1alpha1" + ], + "operationId": "listNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking" + ], + "operationId": "getNetworkingAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "getNetworkingV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/ingressclasses": { + "get": { + "description": "list or watch objects of kind IngressClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkingV1IngressClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "post": { + "description": "create an IngressClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "createNetworkingV1IngressClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of IngressClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNetworkingV1CollectionIngressClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/ingressclasses/{name}": { + "get": { + "description": "read the specified IngressClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "readNetworkingV1IngressClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified IngressClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "replaceNetworkingV1IngressClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "delete": { + "description": "delete an IngressClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNetworkingV1IngressClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified IngressClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "patchNetworkingV1IngressClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the IngressClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkingV1IngressForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkingV1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "post": { + "description": "create an Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "createNetworkingV1NamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNetworkingV1CollectionNamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { + "get": { + "description": "read the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "readNetworkingV1NamespacedIngress", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "replaceNetworkingV1NamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "delete": { + "description": "delete an Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNetworkingV1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "patchNetworkingV1NamespacedIngress", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { + "get": { + "description": "read status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "readNetworkingV1NamespacedIngressStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "replaceNetworkingV1NamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "patchNetworkingV1NamespacedIngressStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "post": { + "description": "create a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "read the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "readNetworkingV1NamespacedNetworkPolicy", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "put": { + "description": "replace the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "delete": { + "description": "delete a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified NetworkPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "patchNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses": { + "get": { + "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1IngressClassList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { + "get": { + "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1IngressClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the IngressClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingresses": { + "get": { + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1IngressListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { + "get": { + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1NamespacedIngressList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { + "get": { + "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1NamespacedIngress", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1NamespacedNetworkPolicy", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "get": { + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/node.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node" + ], + "operationId": "getNodeAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/node.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "getNodeV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/node.k8s.io/v1/runtimeclasses": { + "get": { + "description": "list or watch objects of kind RuntimeClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "listNodeV1RuntimeClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "post": { + "description": "create a RuntimeClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "createNodeV1RuntimeClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of RuntimeClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "deleteNodeV1CollectionRuntimeClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/node.k8s.io/v1/runtimeclasses/{name}": { + "get": { + "description": "read the specified RuntimeClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "readNodeV1RuntimeClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified RuntimeClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "replaceNodeV1RuntimeClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "delete": { + "description": "delete a RuntimeClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "deleteNodeV1RuntimeClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified RuntimeClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "patchNodeV1RuntimeClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RuntimeClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/node.k8s.io/v1/watch/runtimeclasses": { + "get": { + "description": "watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "watchNodeV1RuntimeClassList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": { + "get": { + "description": "watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "node_v1" + ], + "operationId": "watchNodeV1RuntimeClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RuntimeClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/policy/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy" + ], + "operationId": "getPolicyAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "getPolicyV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "listPolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "post": { + "description": "create a PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "createPolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "deletePolicyV1CollectionNamespacedPodDisruptionBudget", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "get": { + "description": "read the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "readPolicyV1NamespacedPodDisruptionBudget", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "replacePolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "delete": { + "description": "delete a PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "deletePolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PodDisruptionBudget", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "patchPolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "get": { + "description": "read status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "readPolicyV1NamespacedPodDisruptionBudgetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "replacePolicyV1NamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified PodDisruptionBudget", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "patchPolicyV1NamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/policy/v1/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "listPolicyV1PodDisruptionBudgetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": { + "get": { + "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "watchPolicyV1NamespacedPodDisruptionBudgetList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "get": { + "description": "watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "watchPolicyV1NamespacedPodDisruptionBudget", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/policy/v1/watch/poddisruptionbudgets": { + "get": { + "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "operationId": "watchPolicyV1PodDisruptionBudgetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/backups": { + "get": { + "description": "list objects of kind Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1BackupForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.BackupList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/clusterimagecatalogs": { + "get": { + "description": "list objects of kind ClusterImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1ClusterImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalogList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1ClusterImageCatalog", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ClusterImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionClusterImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/{name}": { + "get": { + "description": "read the specified ClusterImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1ClusterImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1ClusterImageCatalog", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "delete": { + "description": "delete a ClusterImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1ClusterImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ClusterImageCatalog", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1ClusterImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterImageCatalog", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/clusters": { + "get": { + "description": "list objects of kind Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1ClusterForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/databases": { + "get": { + "description": "list objects of kind Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1DatabaseForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.DatabaseList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/imagecatalogs": { + "get": { + "description": "list objects of kind ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1ImageCatalogForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalogList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/backups": { + "get": { + "description": "list objects of kind Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedBackup", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.BackupList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "post": { + "description": "create a Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedBackup", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedBackup", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/backups/{name}": { + "get": { + "description": "read the specified Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedBackup", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedBackup", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "delete": { + "description": "delete a Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedBackup", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Backup", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedBackup", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Backup", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/backups/{name}/status": { + "get": { + "description": "read status of the specified Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedBackupStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Backup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedBackupStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Backup", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedBackupStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Backup", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/clusters": { + "get": { + "description": "list objects of kind Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedCluster", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "post": { + "description": "create a Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedCluster", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedCluster", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/clusters/{name}": { + "get": { + "description": "read the specified Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedCluster", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedCluster", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "delete": { + "description": "delete a Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedCluster", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Cluster", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedCluster", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Cluster", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/clusters/{name}/scale": { + "get": { + "description": "read scale of the specified Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedClusterScale", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedClusterScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified Cluster", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedClusterScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Cluster", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/clusters/{name}/status": { + "get": { + "description": "read status of the specified Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedClusterStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Cluster", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedClusterStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Cluster", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedClusterStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Cluster", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/databases": { + "get": { + "description": "list objects of kind Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedDatabase", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.DatabaseList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "post": { + "description": "create a Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedDatabase", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedDatabase", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/databases/{name}": { + "get": { + "description": "read the specified Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedDatabase", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedDatabase", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "delete": { + "description": "delete a Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedDatabase", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Database", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedDatabase", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Database", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/databases/{name}/status": { + "get": { + "description": "read status of the specified Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedDatabaseStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Database", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedDatabaseStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Database", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedDatabaseStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Database", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/imagecatalogs": { + "get": { + "description": "list objects of kind ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalogList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "post": { + "description": "create an ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedImageCatalog", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/imagecatalogs/{name}": { + "get": { + "description": "read the specified ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedImageCatalog", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "delete": { + "description": "delete an ImageCatalog", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ImageCatalog", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedImageCatalog", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ImageCatalog", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/poolers": { + "get": { + "description": "list objects of kind Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedPooler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.PoolerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "post": { + "description": "create a Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedPooler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedPooler", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/poolers/{name}": { + "get": { + "description": "read the specified Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedPooler", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedPooler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "delete": { + "description": "delete a Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedPooler", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Pooler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedPooler", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pooler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/poolers/{name}/scale": { + "get": { + "description": "read scale of the specified Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedPoolerScale", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedPoolerScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "patch": { + "description": "partially update scale of the specified Pooler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedPoolerScale", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pooler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/poolers/{name}/status": { + "get": { + "description": "read status of the specified Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedPoolerStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedPoolerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Pooler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedPoolerStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pooler", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/publications": { + "get": { + "description": "list objects of kind Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedPublication", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.PublicationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "post": { + "description": "create a Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedPublication", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedPublication", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/publications/{name}": { + "get": { + "description": "read the specified Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedPublication", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedPublication", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "delete": { + "description": "delete a Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedPublication", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Publication", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedPublication", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Publication", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/publications/{name}/status": { + "get": { + "description": "read status of the specified Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedPublicationStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedPublicationStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Publication", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedPublicationStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Publication", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/scheduledbackups": { + "get": { + "description": "list objects of kind ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedScheduledBackup", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackupList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "post": { + "description": "create a ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedScheduledBackup", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackup", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/scheduledbackups/{name}": { + "get": { + "description": "read the specified ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedScheduledBackup", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedScheduledBackup", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "delete": { + "description": "delete a ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedScheduledBackup", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ScheduledBackup", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedScheduledBackup", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ScheduledBackup", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/scheduledbackups/{name}/status": { + "get": { + "description": "read status of the specified ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedScheduledBackupStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedScheduledBackupStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified ScheduledBackup", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedScheduledBackupStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ScheduledBackup", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/subscriptions": { + "get": { + "description": "list objects of kind Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1NamespacedSubscription", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.SubscriptionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "post": { + "description": "create a Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "createPostgresqlCnpgIoV1NamespacedSubscription", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1CollectionNamespacedSubscription", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/subscriptions/{name}": { + "get": { + "description": "read the specified Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedSubscription", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedSubscription", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "delete": { + "description": "delete a Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "deletePostgresqlCnpgIoV1NamespacedSubscription", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Subscription", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedSubscription", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Subscription", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/namespaces/{namespace}/subscriptions/{name}/status": { + "get": { + "description": "read status of the specified Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "readPostgresqlCnpgIoV1NamespacedSubscriptionStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "replacePostgresqlCnpgIoV1NamespacedSubscriptionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Subscription", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "patchPostgresqlCnpgIoV1NamespacedSubscriptionStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Subscription", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/poolers": { + "get": { + "description": "list objects of kind Pooler", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1PoolerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.PoolerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/publications": { + "get": { + "description": "list objects of kind Publication", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1PublicationForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.PublicationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/scheduledbackups": { + "get": { + "description": "list objects of kind ScheduledBackup", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1ScheduledBackupForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackupList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/postgresql.cnpg.io/v1/subscriptions": { + "get": { + "description": "list objects of kind Subscription", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "postgresqlCnpgIo_v1" + ], + "operationId": "listPostgresqlCnpgIoV1SubscriptionForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.SubscriptionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization" + ], + "operationId": "getRbacAuthorizationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "getRbacAuthorizationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { + "get": { + "description": "list or watch objects of kind ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1ClusterRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createRbacAuthorizationV1ClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "get": { + "description": "read the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readRbacAuthorizationV1ClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceRbacAuthorizationV1ClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1ClusterRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readRbacAuthorizationV1ClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readRbacAuthorizationV1NamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readRbacAuthorizationV1NamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchRbacAuthorizationV1NamespacedRole", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1RoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1RoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "get": { + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1ClusterRoleBindingList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { + "get": { + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1ClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "get": { + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1ClusterRoleList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { + "get": { + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1ClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { + "get": { + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1NamespacedRoleBindingList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1NamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { + "get": { + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1NamespacedRoleList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1NamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { + "get": { + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1RoleBindingListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/roles": { + "get": { + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1RoleListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ], + "operationId": "getSchedulingAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "getSchedulingV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "listSchedulingV1PriorityClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "createSchedulingV1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "deleteSchedulingV1CollectionPriorityClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { + "get": { + "description": "read the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "readSchedulingV1PriorityClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "replaceSchedulingV1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "delete": { + "description": "delete a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "deleteSchedulingV1PriorityClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified PriorityClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "patchSchedulingV1PriorityClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { + "get": { + "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "watchSchedulingV1PriorityClassList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { + "get": { + "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "watchSchedulingV1PriorityClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/serving.knative.dev/v1/configurations": { + "get": { + "description": "list objects of kind Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1ConfigurationForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.ConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/configurations": { + "get": { + "description": "list objects of kind Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1NamespacedConfiguration", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.ConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "post": { + "description": "create a Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "createServingKnativeDevV1NamespacedConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1CollectionNamespacedConfiguration", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/configurations/{name}": { + "get": { + "description": "read the specified Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedConfiguration", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "delete": { + "description": "delete a Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1NamespacedConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Configuration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedConfiguration", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Configuration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/configurations/{name}/status": { + "get": { + "description": "read status of the specified Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedConfigurationStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Configuration", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedConfigurationStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Configuration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedConfigurationStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Configuration", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/revisions": { + "get": { + "description": "list objects of kind Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1NamespacedRevision", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.RevisionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "post": { + "description": "create a Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "createServingKnativeDevV1NamespacedRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1CollectionNamespacedRevision", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/revisions/{name}": { + "get": { + "description": "read the specified Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedRevision", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "delete": { + "description": "delete a Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1NamespacedRevision", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Revision", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedRevision", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Revision", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/revisions/{name}/status": { + "get": { + "description": "read status of the specified Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedRevisionStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedRevisionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Revision", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedRevisionStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Revision", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/routes": { + "get": { + "description": "list objects of kind Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1NamespacedRoute", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.RouteList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "post": { + "description": "create a Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "createServingKnativeDevV1NamespacedRoute", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1CollectionNamespacedRoute", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/routes/{name}": { + "get": { + "description": "read the specified Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedRoute", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedRoute", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "delete": { + "description": "delete a Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1NamespacedRoute", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Route", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedRoute", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Route", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/routes/{name}/status": { + "get": { + "description": "read status of the specified Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedRouteStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedRouteStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Route", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedRouteStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Route", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/services": { + "get": { + "description": "list objects of kind Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.ServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "post": { + "description": "create a Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "createServingKnativeDevV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1CollectionNamespacedService", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/services/{name}": { + "get": { + "description": "read the specified Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "delete": { + "description": "delete a Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "deleteServingKnativeDevV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified Service", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedService", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Service", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/namespaces/{namespace}/services/{name}/status": { + "get": { + "description": "read status of the specified Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "readServingKnativeDevV1NamespacedServiceStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "replaceServingKnativeDevV1NamespacedServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified Service", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "patchServingKnativeDevV1NamespacedServiceStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Service", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1/revisions": { + "get": { + "description": "list objects of kind Revision", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1RevisionForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.RevisionList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/serving.knative.dev/v1/routes": { + "get": { + "description": "list objects of kind Route", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1RouteForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.RouteList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/serving.knative.dev/v1/services": { + "get": { + "description": "list objects of kind Service", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1" + ], + "operationId": "listServingKnativeDevV1ServiceForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1.ServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/serving.knative.dev/v1beta1/domainmappings": { + "get": { + "description": "list objects of kind DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "listServingKnativeDevV1beta1DomainMappingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMappingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/serving.knative.dev/v1beta1/namespaces/{namespace}/domainmappings": { + "get": { + "description": "list objects of kind DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "listServingKnativeDevV1beta1NamespacedDomainMapping", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMappingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "post": { + "description": "create a DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "createServingKnativeDevV1beta1NamespacedDomainMapping", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "deleteServingKnativeDevV1beta1CollectionNamespacedDomainMapping", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1beta1/namespaces/{namespace}/domainmappings/{name}": { + "get": { + "description": "read the specified DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "readServingKnativeDevV1beta1NamespacedDomainMapping", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "replaceServingKnativeDevV1beta1NamespacedDomainMapping", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "deleteServingKnativeDevV1beta1NamespacedDomainMapping", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified DomainMapping", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "patchServingKnativeDevV1beta1NamespacedDomainMapping", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DomainMapping", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/serving.knative.dev/v1beta1/namespaces/{namespace}/domainmappings/{name}/status": { + "get": { + "description": "read status of the specified DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "readServingKnativeDevV1beta1NamespacedDomainMappingStatus", + "parameters": [ + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified DomainMapping", + "consumes": [ + "application/json", + "application/yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "replaceServingKnativeDevV1beta1NamespacedDomainMappingStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update status of the specified DomainMapping", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml" + ], + "schemes": [ + "https" + ], + "tags": [ + "servingKnativeDev_v1beta1" + ], + "operationId": "patchServingKnativeDevV1beta1NamespacedDomainMappingStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DomainMapping", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage" + ], + "operationId": "getStorageAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "getStorageV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/storage.k8s.io/v1/csidrivers": { + "get": { + "description": "list or watch objects of kind CSIDriver", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1CSIDriver", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "post": { + "description": "create a CSIDriver", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageV1CSIDriver", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CSIDriver", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionCSIDriver", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/csidrivers/{name}": { + "get": { + "description": "read the specified CSIDriver", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1CSIDriver", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CSIDriver", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1CSIDriver", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "delete": { + "description": "delete a CSIDriver", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CSIDriver", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CSIDriver", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1CSIDriver", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSIDriver", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/csinodes": { + "get": { + "description": "list or watch objects of kind CSINode", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1CSINode", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "post": { + "description": "create a CSINode", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageV1CSINode", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CSINode", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionCSINode", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/csinodes/{name}": { + "get": { + "description": "read the specified CSINode", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1CSINode", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CSINode", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1CSINode", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "delete": { + "description": "delete a CSINode", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CSINode", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CSINode", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1CSINode", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSINode", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/csistoragecapacities": { + "get": { + "description": "list or watch objects of kind CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1CSIStorageCapacityForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacityList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": { + "get": { + "description": "list or watch objects of kind CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1NamespacedCSIStorageCapacity", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacityList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "post": { + "description": "create a CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageV1NamespacedCSIStorageCapacity", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionNamespacedCSIStorageCapacity", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": { + "get": { + "description": "read the specified CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1NamespacedCSIStorageCapacity", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "put": { + "description": "replace the specified CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1NamespacedCSIStorageCapacity", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "delete": { + "description": "delete a CSIStorageCapacity", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1NamespacedCSIStorageCapacity", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified CSIStorageCapacity", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1NamespacedCSIStorageCapacity", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSIStorageCapacity", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/storageclasses": { + "get": { + "description": "list or watch objects of kind StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1StorageClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "post": { + "description": "create a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageV1StorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionStorageClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "get": { + "description": "read the specified StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1StorageClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1StorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "delete": { + "description": "delete a StorageClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1StorageClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified StorageClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1StorageClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/volumeattachments": { + "get": { + "description": "list or watch objects of kind VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listStorageV1VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "post": { + "description": "create a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "createStorageV1VolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionVolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/volumeattachments/{name}": { + "get": { + "description": "read the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1VolumeAttachment", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "description": "replace the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1VolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "delete": { + "description": "delete a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteStorageV1VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "patch": { + "description": "partially update the specified VolumeAttachment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "get": { + "description": "read status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readStorageV1VolumeAttachmentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceStorageV1VolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "patch": { + "description": "partially update status of the specified VolumeAttachment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchStorageV1VolumeAttachmentStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "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", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csidrivers": { + "get": { + "description": "watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1CSIDriverList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { + "get": { + "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1CSIDriver", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSIDriver", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "get": { + "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1CSINodeList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "get": { + "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1CSINode", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSINode", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { + "get": { + "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1CSIStorageCapacityListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { + "get": { + "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1NamespacedCSIStorageCapacityList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { + "get": { + "description": "watch changes to an object of kind CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1NamespacedCSIStorageCapacity", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSIStorageCapacity", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses": { + "get": { + "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1StorageClassList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "get": { + "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1StorageClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "get": { + "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1VolumeAttachmentList", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { + "get": { + "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "watchStorageV1VolumeAttachment", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/openid/v1/jwks/": { + "get": { + "description": "get service account issuer OpenID JSON Web Key Set (contains public token verification keys)", + "produces": [ + "application/jwk-set+json" + ], + "schemes": [ + "https" + ], + "tags": [ + "openid" + ], + "operationId": "getServiceAccountIssuerOpenIDKeyset", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/version/": { + "get": { + "description": "get the code version", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "tags": [ + "version" + ], + "operationId": "getCodeVersion", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.version.Info" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + } + }, + "definitions": { + "com.coreos.monitoring.v1.Alertmanager": { + "description": "The `Alertmanager` custom resource definition (CRD) defines a desired [Alertmanager](https://prometheus.io/docs/alerting) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more.\n\nFor each `Alertmanager` resource, the Operator deploys a `StatefulSet` in the same namespace. When there are two or more configured replicas, the Operator runs the Alertmanager instances in high-availability mode.\n\nThe resource defines via label and namespace selectors which `AlertmanagerConfig` objects should be associated to the deployed Alertmanager instances.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Alertmanager cluster. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "additionalArgs": { + "description": "AdditionalArgs allows setting additional arguments for the 'Alertmanager' container.\nIt is intended for e.g. activating hidden flags which are not supported by\nthe dedicated configuration options yet. The arguments are passed as-is to the\nAlertmanager container which may cause issues if they are invalid or not supported\nby the given Alertmanager version.", + "type": "array", + "items": { + "description": "Argument as part of the AdditionalArgs list.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the argument, e.g. \"scrape.discovery-reload-interval\".", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Argument value, e.g. 30s. Can be empty for name-only arguments (e.g. --storage.tsdb.no-lockfile)", + "type": "string" + } + } + } + }, + "additionalPeers": { + "description": "AdditionalPeers allows injecting a set of additional Alertmanagers to peer with to form a highly available cluster.", + "type": "array", + "items": { + "type": "string" + } + }, + "affinity": { + "description": "If specified, the pod's scheduling constraints.", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "alertmanagerConfigMatcherStrategy": { + "description": "AlertmanagerConfigMatcherStrategy defines how AlertmanagerConfig objects\nprocess incoming alerts.", + "type": "object", + "properties": { + "type": { + "description": "AlertmanagerConfigMatcherStrategyType defines the strategy used by\nAlertmanagerConfig objects to match alerts in the routes and inhibition\nrules.\n\nThe default value is `OnNamespace`.", + "type": "string", + "enum": [ + "OnNamespace", + "OnNamespaceExceptForAlertmanagerNamespace", + "None" + ] + } + } + }, + "alertmanagerConfigNamespaceSelector": { + "description": "Namespaces to be selected for AlertmanagerConfig discovery. If nil, only\ncheck own namespace.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "alertmanagerConfigSelector": { + "description": "AlertmanagerConfigs to be selected for to merge and configure Alertmanager with.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "alertmanagerConfiguration": { + "description": "alertmanagerConfiguration specifies the configuration of Alertmanager.\n\nIf defined, it takes precedence over the `configSecret` field.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "object", + "properties": { + "global": { + "description": "Defines the global parameters of the Alertmanager configuration.", + "type": "object", + "properties": { + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the Alertmanager\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "jira": { + "description": "The default configuration for Jira.", + "type": "object", + "properties": { + "apiURL": { + "description": "The default Jira API URL.\n\nIt requires Alertmanager >= v0.28.0.", + "type": "string", + "pattern": "^(http|https)://.+$" + } + } + }, + "opsGenieApiKey": { + "description": "The default OpsGenie API Key.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "opsGenieApiUrl": { + "description": "The default OpsGenie API URL.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "pagerdutyUrl": { + "description": "The default Pagerduty URL.", + "type": "string" + }, + "resolveTimeout": { + "description": "ResolveTimeout is the default value used by alertmanager if the alert does\nnot include EndsAt, after this time passes it can declare the alert as resolved if it has not been updated.\nThis has no impact on alerts from Prometheus, as they always include EndsAt.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "rocketChat": { + "description": "The default configuration for Rocket Chat.", + "type": "object", + "properties": { + "apiURL": { + "description": "The default Rocket Chat API URL.\n\nIt requires Alertmanager >= v0.28.0.", + "type": "string", + "pattern": "^(http|https)://.+$" + }, + "token": { + "description": "The default Rocket Chat token.\n\nIt requires Alertmanager >= v0.28.0.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tokenID": { + "description": "The default Rocket Chat Token ID.\n\nIt requires Alertmanager >= v0.28.0.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "slackApiUrl": { + "description": "The default Slack API URL.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "smtp": { + "description": "Configures global SMTP parameters.", + "type": "object", + "properties": { + "authIdentity": { + "description": "SMTP Auth using PLAIN", + "type": "string" + }, + "authPassword": { + "description": "SMTP Auth using LOGIN and PLAIN.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "authSecret": { + "description": "SMTP Auth using CRAM-MD5.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "authUsername": { + "description": "SMTP Auth using CRAM-MD5, LOGIN and PLAIN. If empty, Alertmanager doesn't authenticate to the SMTP server.", + "type": "string" + }, + "from": { + "description": "The default SMTP From header field.", + "type": "string" + }, + "hello": { + "description": "The default hostname to identify to the SMTP server.", + "type": "string" + }, + "requireTLS": { + "description": "The default SMTP TLS requirement.\nNote that Go does not support unencrypted connections to remote SMTP endpoints.", + "type": "boolean" + }, + "smartHost": { + "description": "The default SMTP smarthost used for sending emails.", + "type": "object", + "required": [ + "host", + "port" + ], + "properties": { + "host": { + "description": "Defines the host's address, it can be a DNS name or a literal IP address.", + "type": "string", + "minLength": 1 + }, + "port": { + "description": "Defines the host's port, it can be a literal port number or a port name.", + "type": "string", + "minLength": 1 + } + } + }, + "tlsConfig": { + "description": "The default TLS configuration for SMTP receivers", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "telegram": { + "description": "The default Telegram config", + "type": "object", + "properties": { + "apiURL": { + "description": "The default Telegram API URL.\n\nIt requires Alertmanager >= v0.24.0.", + "type": "string", + "pattern": "^(http|https)://.+$" + } + } + }, + "victorops": { + "description": "The default configuration for VictorOps.", + "type": "object", + "properties": { + "apiKey": { + "description": "The default VictorOps API Key.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "apiURL": { + "description": "The default VictorOps API URL.", + "type": "string", + "pattern": "^(http|https)://.+$" + } + } + }, + "webex": { + "description": "The default configuration for Jira.", + "type": "object", + "properties": { + "apiURL": { + "description": "The default Webex API URL.\n\nIt requires Alertmanager >= v0.25.0.", + "type": "string", + "pattern": "^(http|https)://.+$" + } + } + }, + "wechat": { + "description": "The default WeChat Config", + "type": "object", + "properties": { + "apiCorpID": { + "description": "The default WeChat API Corporate ID.", + "type": "string", + "minLength": 1 + }, + "apiSecret": { + "description": "The default WeChat API Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "apiURL": { + "description": "The default WeChat API URL.\nThe default value is \"https://qyapi.weixin.qq.com/cgi-bin/\"", + "type": "string", + "pattern": "^(http|https)://.+$" + } + } + } + } + }, + "name": { + "description": "The name of the AlertmanagerConfig resource which is used to generate the Alertmanager configuration.\nIt must be defined in the same namespace as the Alertmanager object.\nThe operator will not enforce a `namespace` label for routes and inhibition rules.", + "type": "string", + "minLength": 1 + }, + "templates": { + "description": "Custom notification templates.", + "type": "array", + "items": { + "description": "SecretOrConfigMap allows to specify data as a Secret or ConfigMap. Fields are mutually exclusive.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod.\nIf the service account has `automountServiceAccountToken: true`, set the field to `false` to opt out of automounting API credentials.", + "type": "boolean" + }, + "baseImage": { + "description": "Base image that is used to deploy pods, without tag.\nDeprecated: use 'image' instead.", + "type": "string" + }, + "clusterAdvertiseAddress": { + "description": "ClusterAdvertiseAddress is the explicit address to advertise in cluster.\nNeeds to be provided for non RFC1918 [1] (public) addresses.\n[1] RFC1918: https://tools.ietf.org/html/rfc1918", + "type": "string" + }, + "clusterGossipInterval": { + "description": "Interval between gossip attempts.", + "type": "string", + "pattern": "^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "clusterLabel": { + "description": "Defines the identifier that uniquely identifies the Alertmanager cluster.\nYou should only set it when the Alertmanager cluster includes Alertmanager instances which are external to this Alertmanager resource. In practice, the addresses of the external instances are provided via the `.spec.additionalPeers` field.", + "type": "string" + }, + "clusterPeerTimeout": { + "description": "Timeout for cluster peering.", + "type": "string", + "pattern": "^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "clusterPushpullInterval": { + "description": "Interval between pushpull attempts.", + "type": "string", + "pattern": "^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "clusterTLS": { + "description": "Configures the mutual TLS configuration for the Alertmanager cluster's gossip protocol.\n\nIt requires Alertmanager >= 0.24.0.", + "type": "object", + "required": [ + "client", + "server" + ], + "properties": { + "client": { + "description": "Client-side configuration for mutual TLS.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "server": { + "description": "Server-side configuration for mutual TLS.", + "type": "object", + "properties": { + "cert": { + "description": "Secret or ConfigMap containing the TLS certificate for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `certFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the TLS certificate file in the container for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `cert`.", + "type": "string" + }, + "cipherSuites": { + "description": "List of supported cipher suites for TLS versions up to TLS 1.2.\n\nIf not defined, the Go default cipher suites are used.\nAvailable cipher suites are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#pkg-constants", + "type": "array", + "items": { + "type": "string" + } + }, + "clientAuthType": { + "description": "The server policy for client TLS authentication.\n\nFor more detail on clientAuth options:\nhttps://golang.org/pkg/crypto/tls/#ClientAuthType", + "type": "string" + }, + "clientCAFile": { + "description": "Path to the CA certificate file for client certificate authentication to\nthe server.\n\nIt is mutually exclusive with `client_ca`.", + "type": "string" + }, + "client_ca": { + "description": "Secret or ConfigMap containing the CA certificate for client certificate\nauthentication to the server.\n\nIt is mutually exclusive with `clientCAFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "curvePreferences": { + "description": "Elliptic curves that will be used in an ECDHE handshake, in preference\norder.\n\nAvailable curves are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#CurveID", + "type": "array", + "items": { + "type": "string" + } + }, + "keyFile": { + "description": "Path to the TLS private key file in the container for the web server.\n\nIf defined, either `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keySecret`.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the TLS private key for the web server.\n\nEither `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keyFile`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum TLS version that is acceptable.", + "type": "string" + }, + "minVersion": { + "description": "Minimum TLS version that is acceptable.", + "type": "string" + }, + "preferServerCipherSuites": { + "description": "Controls whether the server selects the client's most preferred cipher\nsuite, or the server's most preferred cipher suite.\n\nIf true then the server's preference, as expressed in\nthe order of elements in cipherSuites, is used.", + "type": "boolean" + } + } + } + } + }, + "configMaps": { + "description": "ConfigMaps is a list of ConfigMaps in the same namespace as the Alertmanager\nobject, which shall be mounted into the Alertmanager Pods.\nEach ConfigMap is added to the StatefulSet definition as a volume named `configmap-`.\nThe ConfigMaps are mounted into `/etc/alertmanager/configmaps/` in the 'alertmanager' container.", + "type": "array", + "items": { + "type": "string" + } + }, + "configSecret": { + "description": "ConfigSecret is the name of a Kubernetes Secret in the same namespace as the\nAlertmanager object, which contains the configuration for this Alertmanager\ninstance. If empty, it defaults to `alertmanager-`.\n\nThe Alertmanager configuration should be available under the\n`alertmanager.yaml` key. Additional keys from the original secret are\ncopied to the generated secret and mounted into the\n`/etc/alertmanager/config` directory in the `alertmanager` container.\n\nIf either the secret or the `alertmanager.yaml` key is missing, the\noperator provisions a minimal Alertmanager configuration with one empty\nreceiver (effectively dropping alert notifications).", + "type": "string" + }, + "containers": { + "description": "Containers allows injecting additional containers. This is meant to\nallow adding an authentication proxy to an Alertmanager pod.\nContainers described here modify an operator generated container if they\nshare the same name and modifications are done via a strategic merge\npatch. The current container names are: `alertmanager` and\n`config-reloader`. Overriding containers is entirely outside the scope\nof what the maintainers will support and by doing so, you accept that\nthis behaviour may break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "dnsConfig": { + "description": "Defines the DNS configuration for the pods.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "options": { + "description": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nResolution options given in Options\nwill override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is required and must be unique.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value is optional.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "dnsPolicy": { + "description": "Defines the DNS policy for the pods.", + "type": "string", + "enum": [ + "ClusterFirstWithHostNet", + "ClusterFirst", + "Default", + "None" + ] + }, + "enableFeatures": { + "description": "Enable access to Alertmanager feature flags. By default, no features are enabled.\nEnabling features which are disabled by default is entirely outside the\nscope of what the maintainers will support and by doing so, you accept\nthat this behaviour may break at any time without notice.\n\nIt requires Alertmanager >= 0.27.0.", + "type": "array", + "items": { + "type": "string" + } + }, + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into pod's environment variables", + "type": "boolean" + }, + "externalUrl": { + "description": "The external URL the Alertmanager instances will be available under. This is\nnecessary to generate correct URLs. This is necessary if Alertmanager is not\nserved from root of a DNS name.", + "type": "string" + }, + "forceEnableClusterMode": { + "description": "ForceEnableClusterMode ensures Alertmanager does not deactivate the cluster mode when running with a single replica.\nUse case is e.g. spanning an Alertmanager cluster across Kubernetes clusters with a single replica in each.", + "type": "boolean" + }, + "hostAliases": { + "description": "Pods' hostAliases configuration", + "type": "array", + "items": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file.", + "type": "object", + "required": [ + "hostnames", + "ip" + ], + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + } + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map" + }, + "hostUsers": { + "description": "HostUsers supports the user space in Kubernetes.\n\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/\n\nThe feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.\nStarting Kubernetes 1.33, the feature is enabled by default.", + "type": "boolean" + }, + "image": { + "description": "Image if specified has precedence over baseImage, tag and sha\ncombinations. Specifying the version is still necessary to ensure the\nPrometheus Operator knows what version of Alertmanager is being\nconfigured.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy for the 'alertmanager', 'init-config-reloader' and 'config-reloader' containers.\nSee https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy for more details.", + "type": "string", + "enum": [ + "", + "Always", + "Never", + "IfNotPresent" + ] + }, + "imagePullSecrets": { + "description": "An optional list of references to secrets in the same namespace\nto use for pulling prometheus and alertmanager images from registries\nsee https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "InitContainers allows adding initContainers to the pod definition. Those can be used to e.g.\nfetch secrets for injection into the Alertmanager configuration from external sources. Any\nerrors during the execution of an initContainer will lead to a restart of the Pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\nInitContainers described here modify an operator\ngenerated init containers if they share the same name and modifications are\ndone via a strategic merge patch. The current init container name is:\n`init-config-reloader`. Overriding init containers is entirely outside the\nscope of what the maintainers will support and by doing so, you accept that\nthis behaviour may break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "limits": { + "description": "Defines the limits command line flags when starting Alertmanager.", + "type": "object", + "properties": { + "maxPerSilenceBytes": { + "description": "The maximum size of an individual silence as stored on disk. This corresponds to the Alertmanager's\n`--silences.max-per-silence-bytes` flag.\nIt requires Alertmanager >= v0.28.0.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "maxSilences": { + "description": "The maximum number active and pending silences. This corresponds to the\nAlertmanager's `--silences.max-silences` flag.\nIt requires Alertmanager >= v0.28.0.", + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + }, + "listenLocal": { + "description": "ListenLocal makes the Alertmanager server listen on loopback, so that it\ndoes not bind against the Pod IP. Note this is only for the Alertmanager\nUI, not the gossip communication.", + "type": "boolean" + }, + "logFormat": { + "description": "Log format for Alertmanager to be configured with.", + "type": "string", + "enum": [ + "", + "logfmt", + "json" + ] + }, + "logLevel": { + "description": "Log level for Alertmanager to be configured with.", + "type": "string", + "enum": [ + "", + "debug", + "info", + "warn", + "error" + ] + }, + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready\nwithout any of its container crashing for it to be considered available.\n\nIf unset, pods will be considered available as soon as they are ready.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "nodeSelector": { + "description": "Define which Nodes the Pods are scheduled on.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "paused": { + "description": "If set to true all actions on the underlying managed objects are not\ngoing to be performed, except for delete actions.", + "type": "boolean" + }, + "persistentVolumeClaimRetentionPolicy": { + "description": "The field controls if and how PVCs are deleted during the lifecycle of a StatefulSet.\nThe default behavior is all PVCs are retained.\nThis is an alpha field from kubernetes 1.23 until 1.26 and a beta field from 1.26.\nIt requires enabling the StatefulSetAutoDeletePVC feature gate.", + "type": "object", + "properties": { + "whenDeleted": { + "description": "WhenDeleted specifies what happens to PVCs created from StatefulSet\nVolumeClaimTemplates when the StatefulSet is deleted. The default policy\nof `Retain` causes PVCs to not be affected by StatefulSet deletion. The\n`Delete` policy causes those PVCs to be deleted.", + "type": "string" + }, + "whenScaled": { + "description": "WhenScaled specifies what happens to PVCs created from StatefulSet\nVolumeClaimTemplates when the StatefulSet is scaled down. The default\npolicy of `Retain` causes PVCs to not be affected by a scaledown. The\n`Delete` policy causes the associated PVCs for any excess pods above\nthe replica count to be deleted.", + "type": "string" + } + } + }, + "podMetadata": { + "description": "PodMetadata configures labels and annotations which are propagated to the Alertmanager pods.\n\nThe following items are reserved and cannot be overridden:\n* \"alertmanager\" label, set to the name of the Alertmanager instance.\n* \"app.kubernetes.io/instance\" label, set to the name of the Alertmanager instance.\n* \"app.kubernetes.io/managed-by\" label, set to \"prometheus-operator\".\n* \"app.kubernetes.io/name\" label, set to \"alertmanager\".\n* \"app.kubernetes.io/version\" label, set to the Alertmanager version.\n* \"kubectl.kubernetes.io/default-container\" annotation, set to \"alertmanager\".", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "portName": { + "description": "Port name used for the pods and governing service.\nDefaults to `web`.", + "type": "string" + }, + "priorityClassName": { + "description": "Priority class assigned to the Pods", + "type": "string" + }, + "replicas": { + "description": "Size is the expected size of the alertmanager cluster. The controller will\neventually make the size of the running cluster equal to the expected\nsize.", + "type": "integer", + "format": "int32" + }, + "resources": { + "description": "Define resources requests and limits for single Pods.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "retention": { + "description": "Time duration Alertmanager shall retain data for. Default is '120h',\nand must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).", + "type": "string", + "pattern": "^(0|(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "routePrefix": { + "description": "The route prefix Alertmanager registers HTTP handlers for. This is useful,\nif using ExternalURL and a proxy is rewriting HTTP routes of a request,\nand the actual ExternalURL is still true, but the server serves requests\nunder a different route prefix. For example for use with `kubectl proxy`.", + "type": "string" + }, + "secrets": { + "description": "Secrets is a list of Secrets in the same namespace as the Alertmanager\nobject, which shall be mounted into the Alertmanager Pods.\nEach Secret is added to the StatefulSet definition as a volume named `secret-`.\nThe Secrets are mounted into `/etc/alertmanager/secrets/` in the 'alertmanager' container.", + "type": "array", + "items": { + "type": "string" + } + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext.", + "type": "object", + "properties": { + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.\nIt has no effect on nodes that do not support SELinux or to volumes does not support SELinux.\nValid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime.\nThis may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option.\nThis requires all Pods that share the same volume to use the same SELinux label.\nIt is not possible to share the same volume among privileged and unprivileged Pods.\nEligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes\nwhose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their\nCSIDriver instance. Other volumes are always re-labelled recursively.\n\"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used.\nIf not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes\nand \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in\naddition to the container's primary GID and fsGroup (if specified). If\nthe SupplementalGroupsPolicy feature is enabled, the\nsupplementalGroupsPolicy field determines whether these are in addition\nto or instead of any group memberships defined in the container image.\nIf unspecified, no additional groups are added, though group memberships\ndefined in the container image may still be used, depending on the\nsupplementalGroupsPolicy field.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated.\nValid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used.\n(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled\nand the container runtime must implement support for this feature.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run the\nPrometheus Pods.", + "type": "string" + }, + "serviceName": { + "description": "The name of the service name used by the underlying StatefulSet(s) as the governing service.\nIf defined, the Service must be created before the Alertmanager resource in the same namespace and it must define a selector that matches the pod labels.\nIf empty, the operator will create and manage a headless service named `alertmanager-operated` for Alermanager resources.\nWhen deploying multiple Alertmanager resources in the same namespace, it is recommended to specify a different value for each.\nSee https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.", + "type": "string", + "minLength": 1 + }, + "sha": { + "description": "SHA of Alertmanager container image to be deployed. Defaults to the value of `version`.\nSimilar to a tag, but the SHA explicitly deploys an immutable container image.\nVersion and Tag are ignored if SHA is set.\nDeprecated: use 'image' instead. The image digest can be specified as part of the image URL.", + "type": "string" + }, + "storage": { + "description": "Storage is the definition of how storage will be used by the Alertmanager\ninstances.", + "type": "object", + "properties": { + "disableMountSubPath": { + "description": "Deprecated: subPath usage will be removed in a future release.", + "type": "boolean" + }, + "emptyDir": { + "description": "EmptyDirVolumeSource to be used by the StatefulSet.\nIf specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "EphemeralVolumeSource to be used by the StatefulSet.\nThis is a beta field in k8s 1.21 and GA in 1.15.\nFor lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate.\nMore info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "volumeClaimTemplate": { + "description": "Defines the PVC spec to be used by the Prometheus StatefulSets.\nThe easiest way to use a volume that cannot be automatically provisioned\nis to use a label selector alongside manually created PersistentVolumes.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "EmbeddedMetadata contains metadata relevant to an EmbeddedResource.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "spec": { + "description": "Defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "status": { + "description": "Deprecated: this field is never set.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "allocatedResourceStatuses": { + "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "description": "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it.", + "type": "string" + }, + "x-kubernetes-map-type": "granular" + }, + "allocatedResources": { + "description": "allocatedResources tracks the resources allocated to a PVC including its capacity.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation\nis requested.\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\nIf a volume expansion capacity request is lowered, allocatedResources is only\nlowered if there are no expansion operations in progress and if the actual volume capacity\nis equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "capacity": { + "description": "capacity represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "conditions": { + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'.", + "type": "array", + "items": { + "description": "PersistentVolumeClaimCondition contains details about state of pvc", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastProbeTime": { + "description": "lastProbeTime is the time we probed the condition.", + "type": "string", + "format": "date-time" + }, + "lastTransitionTime": { + "description": "lastTransitionTime is the time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "message is the human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition.\nCan be True, False, Unknown.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "currentVolumeAttributesClassName": { + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "string" + }, + "modifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.\nWhen this is unset, there is no ModifyVolume operation being attempted.\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.", + "type": "string" + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + } + }, + "phase": { + "description": "phase represents the current phase of PersistentVolumeClaim.", + "type": "string" + } + } + } + } + } + } + }, + "tag": { + "description": "Tag of Alertmanager container image to be deployed. Defaults to the value of `version`.\nVersion is ignored if Tag is set.\nDeprecated: use 'image' instead. The image tag can be specified as part of the image URL.", + "type": "string" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down) which may lead to data corruption.\n\nDefaults to 120 seconds.", + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + }, + "topologySpreadConstraints": { + "description": "If specified, the pod's topology spread constraints.", + "type": "array", + "items": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "labelSelector": { + "description": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field.", + "type": "string" + } + } + } + }, + "version": { + "description": "Version the cluster should be on.", + "type": "string" + }, + "volumeMounts": { + "description": "VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition.\nVolumeMounts specified will be appended to other VolumeMounts in the alertmanager container,\nthat are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + } + }, + "volumes": { + "description": "Volumes allows configuration of additional volumes on the output StatefulSet definition.\nVolumes specified will be appended to other volumes that are generated as a result of\nStorageSpec objects.", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree\nawsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\nDeprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type\nare redirected to the disk.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.\nDeprecated: AzureFile is deprecated. All operations for the in-tree azureFile type\nare redirected to the file.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure share Name", + "type": "string" + } + } + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.\nDeprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine.\nDeprecated: Cinder is deprecated. All operations for the in-tree cinder type\nare redirected to the cinder.csi.openstack.org CSI driver.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume.\nDefaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver.\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "lun is Optional: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\nDeprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.\nDeprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "type": "object", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker\nshould be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: GCEPersistentDisk is deprecated. All operations for the in-tree\ngcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision.\nDeprecated: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "directory is the target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + } + }, + "glusterfs": { + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nDeprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "endpoints is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + } + }, + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.\nThe volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\n- Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\n- IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.\nA failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.\nThe types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.\nThe OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.\nThe volume will be mounted read-only (ro) and non-executable files (noexec).\nSub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.\nThe field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "type": "object", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are:\nAlways: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\nNever: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\nIfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used.\nBehaves in the same way as pod.spec.containers[*].image.\nPull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + } + }, + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md", + "type": "object", + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n: will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "object", + "required": [ + "path", + "server" + ], + "properties": { + "path": { + "description": "path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false.", + "type": "boolean" + } + } + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.\nDeprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine.\nDeprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type\nare redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate\nis on.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem. Esoteric PEM features such as inter-block\ncomments and block headers are stripped. Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has\neffect if signerName is set. Mutually-exclusive with name. If unset,\ninterpreted as \"match nothing\". If set but empty, interpreted as \"match\neverything\".", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive\nwith signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available. If using name, then the named ClusterTrustBundle is\nallowed not to exist. If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name. The contents of all selected\nClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime.\nDeprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "group to map volume access to\nDefault is no group", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to\nDefaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "rbd": { + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.\nDeprecated: RBD is deprecated and the in-tree rbd type is no longer supported.\nMore info: https://examples.k8s.io/volumes/rbd/README.md", + "type": "object", + "required": [ + "image", + "monitors" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is the rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\nDeprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "type": "object", + "required": [ + "gateway", + "secretRef", + "system" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system\nthat is associated with this volume source.", + "type": "string" + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\nDeprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.\nDeprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type\nare redirected to the csi.vsphere.vmware.com CSI driver.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + } + } + } + } + }, + "web": { + "description": "Defines the web command line flags when starting Alertmanager.", + "type": "object", + "properties": { + "getConcurrency": { + "description": "Maximum number of GET requests processed concurrently. This corresponds to the\nAlertmanager's `--web.get-concurrency` flag.", + "type": "integer", + "format": "int32" + }, + "httpConfig": { + "description": "Defines HTTP parameters for web server.", + "type": "object", + "properties": { + "headers": { + "description": "List of headers that can be added to HTTP responses.", + "type": "object", + "properties": { + "contentSecurityPolicy": { + "description": "Set the Content-Security-Policy header to HTTP responses.\nUnset if blank.", + "type": "string" + }, + "strictTransportSecurity": { + "description": "Set the Strict-Transport-Security header to HTTP responses.\nUnset if blank.\nPlease make sure that you use this with care as this header might force\nbrowsers to load Prometheus and the other applications hosted on the same\ndomain and subdomains over HTTPS.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security", + "type": "string" + }, + "xContentTypeOptions": { + "description": "Set the X-Content-Type-Options header to HTTP responses.\nUnset if blank. Accepted value is nosniff.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options", + "type": "string", + "enum": [ + "", + "NoSniff" + ] + }, + "xFrameOptions": { + "description": "Set the X-Frame-Options header to HTTP responses.\nUnset if blank. Accepted values are deny and sameorigin.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options", + "type": "string", + "enum": [ + "", + "Deny", + "SameOrigin" + ] + }, + "xXSSProtection": { + "description": "Set the X-XSS-Protection header to all responses.\nUnset if blank.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection", + "type": "string" + } + } + }, + "http2": { + "description": "Enable HTTP/2 support. Note that HTTP/2 is only supported with TLS.\nWhen TLSConfig is not configured, HTTP/2 will be disabled.\nWhenever the value of the field changes, a rolling update will be triggered.", + "type": "boolean" + } + } + }, + "timeout": { + "description": "Timeout for HTTP requests. This corresponds to the Alertmanager's\n`--web.timeout` flag.", + "type": "integer", + "format": "int32" + }, + "tlsConfig": { + "description": "Defines the TLS parameters for HTTPS.", + "type": "object", + "properties": { + "cert": { + "description": "Secret or ConfigMap containing the TLS certificate for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `certFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the TLS certificate file in the container for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `cert`.", + "type": "string" + }, + "cipherSuites": { + "description": "List of supported cipher suites for TLS versions up to TLS 1.2.\n\nIf not defined, the Go default cipher suites are used.\nAvailable cipher suites are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#pkg-constants", + "type": "array", + "items": { + "type": "string" + } + }, + "clientAuthType": { + "description": "The server policy for client TLS authentication.\n\nFor more detail on clientAuth options:\nhttps://golang.org/pkg/crypto/tls/#ClientAuthType", + "type": "string" + }, + "clientCAFile": { + "description": "Path to the CA certificate file for client certificate authentication to\nthe server.\n\nIt is mutually exclusive with `client_ca`.", + "type": "string" + }, + "client_ca": { + "description": "Secret or ConfigMap containing the CA certificate for client certificate\nauthentication to the server.\n\nIt is mutually exclusive with `clientCAFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "curvePreferences": { + "description": "Elliptic curves that will be used in an ECDHE handshake, in preference\norder.\n\nAvailable curves are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#CurveID", + "type": "array", + "items": { + "type": "string" + } + }, + "keyFile": { + "description": "Path to the TLS private key file in the container for the web server.\n\nIf defined, either `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keySecret`.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the TLS private key for the web server.\n\nEither `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keyFile`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum TLS version that is acceptable.", + "type": "string" + }, + "minVersion": { + "description": "Minimum TLS version that is acceptable.", + "type": "string" + }, + "preferServerCipherSuites": { + "description": "Controls whether the server selects the client's most preferred cipher\nsuite, or the server's most preferred cipher suite.\n\nIf true then the server's preference, as expressed in\nthe order of elements in cipherSuites, is used.", + "type": "boolean" + } + } + } + } + } + } + }, + "status": { + "description": "Most recent observed status of the Alertmanager cluster. Read-only.\nMore info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "availableReplicas", + "paused", + "replicas", + "unavailableReplicas", + "updatedReplicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds)\ntargeted by this Alertmanager cluster.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "The current state of the Alertmanager object.", + "type": "array", + "items": { + "description": "Condition represents the state of the resources associated with the\nPrometheus, Alertmanager or ThanosRuler resource.", + "type": "object", + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the time of the last update to the current status property.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details for the condition's last transition.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration represents the .metadata.generation that the\ncondition was set based upon. For instance, if `.metadata.generation` is\ncurrently 12, but the `.status.conditions[].observedGeneration` is 9, the\ncondition is out of date with respect to the current state of the\ninstance.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition.", + "type": "string", + "minLength": 1 + }, + "type": { + "description": "Type of the condition being reported.", + "type": "string", + "minLength": 1 + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "paused": { + "description": "Represents whether any actions on the underlying managed objects are\nbeing performed. Only delete actions will be performed.", + "type": "boolean" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this Alertmanager\nobject (their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "The selector used to match the pods targeted by this Alertmanager object.", + "type": "string" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this Alertmanager object.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this Alertmanager\nobject that have the desired version spec.", + "type": "integer", + "format": "int32" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "Alertmanager", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.AlertmanagerList": { + "description": "AlertmanagerList is a list of Alertmanager", + "type": "object", + "required": [ + "items" + ], + "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": "List of alertmanagers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Alertmanager" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.PodMonitor": { + "description": "The `PodMonitor` custom resource definition (CRD) defines how `Prometheus` and `PrometheusAgent` can scrape metrics from a group of pods.\nAmong other things, it allows to specify:\n* The pods to scrape via label selectors.\n* The container ports to scrape.\n* Authentication credentials to use.\n* Target and metric relabeling.\n\n`Prometheus` and `PrometheusAgent` objects select `PodMonitor` objects using label and namespace selectors.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of desired Pod selection for target discovery by Prometheus.", + "type": "object", + "required": [ + "selector" + ], + "properties": { + "attachMetadata": { + "description": "`attachMetadata` defines additional metadata which is added to the\ndiscovered targets.\n\nIt requires Prometheus >= v2.35.0.", + "type": "object", + "properties": { + "node": { + "description": "When set to true, Prometheus attaches node metadata to the discovered\ntargets.\n\nThe Prometheus service account must have the `list` and `watch`\npermissions on the `Nodes` objects.", + "type": "boolean" + } + } + }, + "bodySizeLimit": { + "description": "When defined, bodySizeLimit specifies a job level limit on the size\nof uncompressed response body that will be accepted by Prometheus.\n\nIt requires Prometheus >= v2.28.0.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "convertClassicHistogramsToNHCB": { + "description": "Whether to convert all scraped classic histograms into a native histogram with custom buckets.\nIt requires Prometheus >= v3.0.0.", + "type": "boolean" + }, + "fallbackScrapeProtocol": { + "description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "jobLabel": { + "description": "The label to use to retrieve the job name from.\n`jobLabel` selects the label from the associated Kubernetes `Pod`\nobject which will be used as the `job` label for all metrics.\n\nFor example if `jobLabel` is set to `foo` and the Kubernetes `Pod`\nobject is labeled with `foo: bar`, then Prometheus adds the `job=\"bar\"`\nlabel to all ingested metrics.\n\nIf the value of this field is empty, the `job` label of the metrics\ndefaults to the namespace and name of the PodMonitor object (e.g. `/`).", + "type": "string" + }, + "keepDroppedTargets": { + "description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.", + "type": "integer", + "format": "int64" + }, + "labelLimit": { + "description": "Per-scrape limit on number of labels that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.", + "type": "integer", + "format": "int64" + }, + "labelNameLengthLimit": { + "description": "Per-scrape limit on length of labels name that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.", + "type": "integer", + "format": "int64" + }, + "labelValueLengthLimit": { + "description": "Per-scrape limit on length of labels value that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.", + "type": "integer", + "format": "int64" + }, + "namespaceSelector": { + "description": "`namespaceSelector` defines in which namespace(s) Prometheus should discover the pods.\nBy default, the pods are discovered in the same namespace as the `PodMonitor` object but it is possible to select pods across different/all namespaces.", + "type": "object", + "properties": { + "any": { + "description": "Boolean describing whether all namespaces are selected in contrast to a\nlist restricting them.", + "type": "boolean" + }, + "matchNames": { + "description": "List of namespace names to select from.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "nativeHistogramBucketLimit": { + "description": "If there are more than this many buckets in a native histogram,\nbuckets will be merged to stay within the limit.\nIt requires Prometheus >= v2.45.0.", + "type": "integer", + "format": "int64" + }, + "nativeHistogramMinBucketFactor": { + "description": "If the growth factor of one bucket to the next is smaller than this,\nbuckets will be merged to increase the factor sufficiently.\nIt requires Prometheus >= v2.50.0.", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "podMetricsEndpoints": { + "description": "Defines how to scrape metrics from the selected pods.", + "type": "array", + "items": { + "description": "PodMetricsEndpoint defines an endpoint serving Prometheus metrics to be scraped by\nPrometheus.", + "type": "object", + "properties": { + "authorization": { + "description": "`authorization` configures the Authorization header credentials to use when\nscraping the target.\n\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "`basicAuth` configures the Basic Authentication credentials to use when\nscraping the target.\n\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "`bearerTokenSecret` specifies a key of a Secret containing the bearer\ntoken for scraping targets. The secret needs to be in the same namespace\nas the PodMonitor object and readable by the Prometheus Operator.\n\nDeprecated: use `authorization` instead.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "enableHttp2": { + "description": "`enableHttp2` can be used to disable HTTP2 when scraping the target.", + "type": "boolean" + }, + "filterRunning": { + "description": "When true, the pods which are not running (e.g. either in Failed or\nSucceeded state) are dropped during the target discovery.\n\nIf unset, the filtering is enabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase", + "type": "boolean" + }, + "followRedirects": { + "description": "`followRedirects` defines whether the scrape requests should follow HTTP\n3xx redirects.", + "type": "boolean" + }, + "honorLabels": { + "description": "When true, `honorLabels` preserves the metric's labels when they collide\nwith the target's labels.", + "type": "boolean" + }, + "honorTimestamps": { + "description": "`honorTimestamps` controls whether Prometheus preserves the timestamps\nwhen exposed by the target.", + "type": "boolean" + }, + "interval": { + "description": "Interval at which Prometheus scrapes the metrics from the target.\n\nIf empty, Prometheus uses the global scrape interval.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "metricRelabelings": { + "description": "`metricRelabelings` configures the relabeling rules to apply to the\nsamples before ingestion.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "`oauth2` configures the OAuth2 settings to use when scraping the target.\n\nIt requires Prometheus >= 2.27.0.\n\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "params": { + "description": "`params` define optional HTTP URL parameters.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "path": { + "description": "HTTP path from which to scrape for metrics.\n\nIf empty, Prometheus uses the default value (e.g. `/metrics`).", + "type": "string" + }, + "port": { + "description": "The `Pod` port name which exposes the endpoint.\n\nIt takes precedence over the `portNumber` and `targetPort` fields.", + "type": "string" + }, + "portNumber": { + "description": "The `Pod` port number which exposes the endpoint.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 1 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "relabelings": { + "description": "`relabelings` configures the relabeling rules to apply the target's\nmetadata labels.\n\nThe Operator automatically adds relabelings for a few standard Kubernetes fields.\n\nThe original scrape job's name is available via the `__tmp_prometheus_job_name` label.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "scheme": { + "description": "HTTP scheme to use for scraping.\n\n`http` and `https` are the expected values unless you rewrite the\n`__scheme__` label via relabeling.\n\nIf empty, Prometheus uses the default value `http`.", + "type": "string", + "enum": [ + "http", + "https" + ] + }, + "scrapeTimeout": { + "description": "Timeout after which Prometheus considers the scrape to be failed.\n\nIf empty, Prometheus uses the global scrape timeout unless it is less\nthan the target's scrape interval value in which the latter is used.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "targetPort": { + "description": "Name or number of the target port of the `Pod` object behind the Service, the\nport must be specified with container port property.\n\nDeprecated: use 'port' or 'portNumber' instead.", + "x-kubernetes-int-or-string": true + }, + "tlsConfig": { + "description": "TLS configuration to use when scraping the target.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "trackTimestampsStaleness": { + "description": "`trackTimestampsStaleness` defines whether Prometheus tracks staleness of\nthe metrics that have an explicit timestamp present in scraped data.\nHas no effect if `honorTimestamps` is false.\n\nIt requires Prometheus >= v2.48.0.", + "type": "boolean" + } + } + } + }, + "podTargetLabels": { + "description": "`podTargetLabels` defines the labels which are transferred from the\nassociated Kubernetes `Pod` object onto the ingested metrics.", + "type": "array", + "items": { + "type": "string" + } + }, + "sampleLimit": { + "description": "`sampleLimit` defines a per-scrape limit on the number of scraped samples\nthat will be accepted.", + "type": "integer", + "format": "int64" + }, + "scrapeClass": { + "description": "The scrape class to apply.", + "type": "string", + "minLength": 1 + }, + "scrapeClassicHistograms": { + "description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\nIt requires Prometheus >= v2.45.0.\n\nNotice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.", + "type": "boolean" + }, + "scrapeProtocols": { + "description": "`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.", + "type": "array", + "items": { + "description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "selector": { + "description": "Label selector to select the Kubernetes `Pod` objects to scrape metrics from.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "selectorMechanism": { + "description": "Mechanism used to select the endpoints to scrape.\nBy default, the selection process relies on relabel configurations to filter the discovered targets.\nAlternatively, you can opt in for role selectors, which may offer better efficiency in large clusters.\nWhich strategy is best for your use case needs to be carefully evaluated.\n\nIt requires Prometheus >= v2.17.0.", + "type": "string", + "enum": [ + "RelabelConfig", + "RoleSelector" + ] + }, + "targetLimit": { + "description": "`targetLimit` defines a limit on the number of scraped targets that will\nbe accepted.", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PodMonitor", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.PodMonitorList": { + "description": "PodMonitorList is a list of PodMonitor", + "type": "object", + "required": [ + "items" + ], + "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": "List of podmonitors. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PodMonitor" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PodMonitorList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.Probe": { + "description": "The `Probe` custom resource definition (CRD) defines how to scrape metrics from prober exporters such as the [blackbox exporter](https://github.com/prometheus/blackbox_exporter).\n\nThe `Probe` resource needs 2 pieces of information:\n* The list of probed addresses which can be defined statically or by discovering Kubernetes Ingress objects.\n* The prober which exposes the availability of probed endpoints (over various protocols such HTTP, TCP, ICMP, ...) as Prometheus metrics.\n\n`Prometheus` and `PrometheusAgent` objects select `Probe` objects using label and namespace selectors.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of desired Ingress selection for target discovery by Prometheus.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization section for this endpoint", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth allow an endpoint to authenticate over basic authentication.\nMore info: https://prometheus.io/docs/operating/configuration/#endpoint", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "Secret to mount to read bearer token for scraping targets. The secret\nneeds to be in the same namespace as the probe and accessible by\nthe Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "convertClassicHistogramsToNHCB": { + "description": "Whether to convert all scraped classic histograms into a native histogram with custom buckets.\nIt requires Prometheus >= v3.0.0.", + "type": "boolean" + }, + "fallbackScrapeProtocol": { + "description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "interval": { + "description": "Interval at which targets are probed using the configured prober.\nIf not specified Prometheus' global scrape interval is used.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "jobName": { + "description": "The job name assigned to scraped metrics by default.", + "type": "string" + }, + "keepDroppedTargets": { + "description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.", + "type": "integer", + "format": "int64" + }, + "labelLimit": { + "description": "Per-scrape limit on number of labels that will be accepted for a sample.\nOnly valid in Prometheus versions 2.27.0 and newer.", + "type": "integer", + "format": "int64" + }, + "labelNameLengthLimit": { + "description": "Per-scrape limit on length of labels name that will be accepted for a sample.\nOnly valid in Prometheus versions 2.27.0 and newer.", + "type": "integer", + "format": "int64" + }, + "labelValueLengthLimit": { + "description": "Per-scrape limit on length of labels value that will be accepted for a sample.\nOnly valid in Prometheus versions 2.27.0 and newer.", + "type": "integer", + "format": "int64" + }, + "metricRelabelings": { + "description": "MetricRelabelConfigs to apply to samples before ingestion.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "module": { + "description": "The module to use for probing specifying how to probe the target.\nExample module configuring in the blackbox exporter:\nhttps://github.com/prometheus/blackbox_exporter/blob/master/example.yml", + "type": "string" + }, + "nativeHistogramBucketLimit": { + "description": "If there are more than this many buckets in a native histogram,\nbuckets will be merged to stay within the limit.\nIt requires Prometheus >= v2.45.0.", + "type": "integer", + "format": "int64" + }, + "nativeHistogramMinBucketFactor": { + "description": "If the growth factor of one bucket to the next is smaller than this,\nbuckets will be merged to increase the factor sufficiently.\nIt requires Prometheus >= v2.50.0.", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "oauth2": { + "description": "OAuth2 for the URL. Only valid in Prometheus versions 2.27.0 and newer.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "params": { + "description": "The list of HTTP query parameters for the scrape.\nPlease note that the `.spec.module` field takes precedence over the `module` parameter from this list when both are defined.\nThe module name must be added using Module under ProbeSpec.", + "type": "array", + "minItems": 1, + "items": { + "description": "ProbeParam defines specification of extra parameters for a Probe.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "The parameter name", + "type": "string", + "minLength": 1 + }, + "values": { + "description": "The parameter values", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "prober": { + "description": "Specification for the prober to use for probing targets.\nThe prober.URL parameter is required. Targets cannot be probed if left empty.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "path": { + "description": "Path to collect metrics from.\nDefaults to `/probe`.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scheme": { + "description": "HTTP scheme to use for scraping.\n`http` and `https` are the expected values unless you rewrite the `__scheme__` label via relabeling.\nIf empty, Prometheus uses the default value `http`.", + "type": "string", + "enum": [ + "http", + "https" + ] + }, + "url": { + "description": "Mandatory URL of the prober.", + "type": "string" + } + } + }, + "sampleLimit": { + "description": "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.", + "type": "integer", + "format": "int64" + }, + "scrapeClass": { + "description": "The scrape class to apply.", + "type": "string", + "minLength": 1 + }, + "scrapeClassicHistograms": { + "description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\nIt requires Prometheus >= v2.45.0.\n\nNotice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.", + "type": "boolean" + }, + "scrapeProtocols": { + "description": "`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.", + "type": "array", + "items": { + "description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "scrapeTimeout": { + "description": "Timeout for scraping metrics from the Prometheus exporter.\nIf not specified, the Prometheus global scrape timeout is used.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "targetLimit": { + "description": "TargetLimit defines a limit on the number of scraped targets that will be accepted.", + "type": "integer", + "format": "int64" + }, + "targets": { + "description": "Targets defines a set of static or dynamically discovered targets to probe.", + "type": "object", + "properties": { + "ingress": { + "description": "ingress defines the Ingress objects to probe and the relabeling\nconfiguration.\nIf `staticConfig` is also defined, `staticConfig` takes precedence.", + "type": "object", + "properties": { + "namespaceSelector": { + "description": "From which namespaces to select Ingress objects.", + "type": "object", + "properties": { + "any": { + "description": "Boolean describing whether all namespaces are selected in contrast to a\nlist restricting them.", + "type": "boolean" + }, + "matchNames": { + "description": "List of namespace names to select from.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "relabelingConfigs": { + "description": "RelabelConfigs to apply to the label set of the target before it gets\nscraped.\nThe original ingress address is available via the\n`__tmp_prometheus_ingress_address` label. It can be used to customize the\nprobed URL.\nThe original scrape job's name is available via the `__tmp_prometheus_job_name` label.\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "selector": { + "description": "Selector to select the Ingress objects.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "staticConfig": { + "description": "staticConfig defines the static list of targets to probe and the\nrelabeling configuration.\nIf `ingress` is also defined, `staticConfig` takes precedence.\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#static_config.", + "type": "object", + "properties": { + "labels": { + "description": "Labels assigned to all metrics scraped from the targets.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "relabelingConfigs": { + "description": "RelabelConfigs to apply to the label set of the targets before it gets\nscraped.\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "static": { + "description": "The list of hosts to probe.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "tlsConfig": { + "description": "TLS configuration to use when scraping the endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "Probe", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.ProbeList": { + "description": "ProbeList is a list of Probe", + "type": "object", + "required": [ + "items" + ], + "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": "List of probes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Probe" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ProbeList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.Prometheus": { + "description": "The `Prometheus` custom resource definition (CRD) defines a desired [Prometheus](https://prometheus.io/docs/prometheus) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage, and Alertmanagers where firing alerts should be sent and many more.\n\nFor each `Prometheus` resource, the Operator deploys one or several `StatefulSet` objects in the same namespace. The number of StatefulSets is equal to the number of shards which is 1 by default.\n\nThe resource defines via label and namespace selectors which `ServiceMonitor`, `PodMonitor`, `Probe` and `PrometheusRule` objects should be associated to the deployed Prometheus instances.\n\nThe Operator continuously reconciles the scrape and rules configuration and a sidecar container running in the Prometheus pods triggers a reload of the configuration when needed.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Prometheus cluster. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "additionalAlertManagerConfigs": { + "description": "AdditionalAlertManagerConfigs specifies a key of a Secret containing\nadditional Prometheus Alertmanager configurations. The Alertmanager\nconfigurations are appended to the configuration generated by the\nPrometheus Operator. They must be formatted according to the official\nPrometheus documentation:\n\nhttps://prometheus.io/docs/prometheus/latest/configuration/configuration/#alertmanager_config\n\nThe user is responsible for making sure that the configurations are valid\n\nNote that using this feature may expose the possibility to break\nupgrades of Prometheus. It is advised to review Prometheus release notes\nto ensure that no incompatible AlertManager configs are going to break\nPrometheus after the upgrade.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "additionalAlertRelabelConfigs": { + "description": "AdditionalAlertRelabelConfigs specifies a key of a Secret containing\nadditional Prometheus alert relabel configurations. The alert relabel\nconfigurations are appended to the configuration generated by the\nPrometheus Operator. They must be formatted according to the official\nPrometheus documentation:\n\nhttps://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs\n\nThe user is responsible for making sure that the configurations are valid\n\nNote that using this feature may expose the possibility to break\nupgrades of Prometheus. It is advised to review Prometheus release notes\nto ensure that no incompatible alert relabel configs are going to break\nPrometheus after the upgrade.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "additionalArgs": { + "description": "AdditionalArgs allows setting additional arguments for the 'prometheus' container.\n\nIt is intended for e.g. activating hidden flags which are not supported by\nthe dedicated configuration options yet. The arguments are passed as-is to the\nPrometheus container which may cause issues if they are invalid or not supported\nby the given Prometheus version.\n\nIn case of an argument conflict (e.g. an argument which is already set by the\noperator itself) or when providing an invalid argument, the reconciliation will\nfail and an error will be logged.", + "type": "array", + "items": { + "description": "Argument as part of the AdditionalArgs list.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the argument, e.g. \"scrape.discovery-reload-interval\".", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Argument value, e.g. 30s. Can be empty for name-only arguments (e.g. --storage.tsdb.no-lockfile)", + "type": "string" + } + } + } + }, + "additionalScrapeConfigs": { + "description": "AdditionalScrapeConfigs allows specifying a key of a Secret containing\nadditional Prometheus scrape configurations. Scrape configurations\nspecified are appended to the configurations generated by the Prometheus\nOperator. Job configurations specified must have the form as specified\nin the official Prometheus documentation:\nhttps://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config.\nAs scrape configs are appended, the user is responsible to make sure it\nis valid. Note that using this feature may expose the possibility to\nbreak upgrades of Prometheus. It is advised to review Prometheus release\nnotes to ensure that no incompatible scrape configs are going to break\nPrometheus after the upgrade.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "affinity": { + "description": "Defines the Pods' affinity scheduling rules if specified.", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "alerting": { + "description": "Defines the settings related to Alertmanager.", + "type": "object", + "required": [ + "alertmanagers" + ], + "properties": { + "alertmanagers": { + "description": "Alertmanager endpoints where Prometheus should send alerts to.", + "type": "array", + "items": { + "description": "AlertmanagerEndpoints defines a selection of a single Endpoints object\ncontaining Alertmanager IPs to fire alerts against.", + "type": "object", + "required": [ + "name", + "port" + ], + "properties": { + "alertRelabelings": { + "description": "Relabeling configs applied before sending alerts to a specific Alertmanager.\nIt requires Prometheus >= v2.51.0.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "apiVersion": { + "description": "Version of the Alertmanager API that Prometheus uses to send alerts.\nIt can be \"V1\" or \"V2\".\nThe field has no effect for Prometheus >= v3.0.0 because only the v2 API is supported.", + "type": "string", + "enum": [ + "v1", + "V1", + "v2", + "V2" + ] + }, + "authorization": { + "description": "Authorization section for Alertmanager.\n\nCannot be set at the same time as `basicAuth`, `bearerTokenFile` or `sigv4`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for Alertmanager.\n\nCannot be set at the same time as `bearerTokenFile`, `authorization` or `sigv4`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenFile": { + "description": "File to read bearer token for Alertmanager.\n\nCannot be set at the same time as `basicAuth`, `authorization`, or `sigv4`.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "enableHttp2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "name": { + "description": "Name of the Endpoints object in the namespace.", + "type": "string", + "minLength": 1 + }, + "namespace": { + "description": "Namespace of the Endpoints object.\n\nIf not set, the object will be discovered in the namespace of the\nPrometheus object.", + "type": "string", + "minLength": 1 + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "pathPrefix": { + "description": "Prefix for the HTTP path alerts are pushed to.", + "type": "string" + }, + "port": { + "description": "Port on which the Alertmanager API is exposed.", + "x-kubernetes-int-or-string": true + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "relabelings": { + "description": "Relabel configuration applied to the discovered Alertmanagers.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "scheme": { + "description": "Scheme to use when firing alerts.", + "type": "string" + }, + "sigv4": { + "description": "Sigv4 allows to configures AWS's Signature Verification 4 for the URL.\n\nIt requires Prometheus >= v2.48.0.\n\nCannot be set at the same time as `basicAuth`, `bearerTokenFile` or `authorization`.", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key. If not specified, the environment variable\n`AWS_ACCESS_KEY_ID` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "profile": { + "description": "Profile is the named AWS profile used to authenticate.", + "type": "string" + }, + "region": { + "description": "Region is the AWS region. If blank, the region from the default credentials chain used.", + "type": "string" + }, + "roleArn": { + "description": "RoleArn is the named AWS profile used to authenticate.", + "type": "string" + }, + "secretKey": { + "description": "SecretKey is the AWS API secret. If not specified, the environment\nvariable `AWS_SECRET_ACCESS_KEY` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "timeout": { + "description": "Timeout is a per-target Alertmanager timeout when pushing alerts.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS Config to use for Alertmanager.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + } + } + }, + "allowOverlappingBlocks": { + "description": "AllowOverlappingBlocks enables vertical compaction and vertical query\nmerge in Prometheus.\n\nDeprecated: this flag has no effect for Prometheus >= 2.39.0 where overlapping blocks are enabled by default.", + "type": "boolean" + }, + "apiserverConfig": { + "description": "APIServerConfig allows specifying a host and auth methods to access the\nKuberntees API server.\nIf null, Prometheus is assumed to run inside of the cluster: it will\ndiscover the API servers automatically and use the Pod's CA certificate\nand bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.", + "type": "object", + "required": [ + "host" + ], + "properties": { + "authorization": { + "description": "Authorization section for the API server.\n\nCannot be set at the same time as `basicAuth`, `bearerToken`, or\n`bearerTokenFile`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for the API server.\n\nCannot be set at the same time as `authorization`, `bearerToken`, or\n`bearerTokenFile`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerToken": { + "description": "*Warning: this field shouldn't be used because the token value appears\nin clear-text. Prefer using `authorization`.*\n\nDeprecated: this will be removed in a future release.", + "type": "string" + }, + "bearerTokenFile": { + "description": "File to read bearer token for accessing apiserver.\n\nCannot be set at the same time as `basicAuth`, `authorization`, or `bearerToken`.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "host": { + "description": "Kubernetes API address consisting of a hostname or IP address followed\nby an optional port number.", + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS Config to use for the API server.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "arbitraryFSAccessThroughSMs": { + "description": "When true, ServiceMonitor, PodMonitor and Probe object are forbidden to\nreference arbitrary files on the file system of the 'prometheus'\ncontainer.\nWhen a ServiceMonitor's endpoint specifies a `bearerTokenFile` value\n(e.g. '/var/run/secrets/kubernetes.io/serviceaccount/token'), a\nmalicious target can get access to the Prometheus service account's\ntoken in the Prometheus' scrape request. Setting\n`spec.arbitraryFSAccessThroughSM` to 'true' would prevent the attack.\nUsers should instead provide the credentials using the\n`spec.bearerTokenSecret` field.", + "type": "object", + "properties": { + "deny": { + "type": "boolean" + } + } + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod.\nIf the field isn't set, the operator mounts the service account token by default.\n\n**Warning:** be aware that by default, Prometheus requires the service account token for Kubernetes service discovery.\nIt is possible to use strategic merge patch to project the service account token into the 'prometheus' container.", + "type": "boolean" + }, + "baseImage": { + "description": "Deprecated: use 'spec.image' instead.", + "type": "string" + }, + "bodySizeLimit": { + "description": "BodySizeLimit defines per-scrape on response body size.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedBodySizeLimit.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "configMaps": { + "description": "ConfigMaps is a list of ConfigMaps in the same namespace as the Prometheus\nobject, which shall be mounted into the Prometheus Pods.\nEach ConfigMap is added to the StatefulSet definition as a volume named `configmap-`.\nThe ConfigMaps are mounted into /etc/prometheus/configmaps/ in the 'prometheus' container.", + "type": "array", + "items": { + "type": "string" + } + }, + "containers": { + "description": "Containers allows injecting additional containers or modifying operator\ngenerated containers. This can be used to allow adding an authentication\nproxy to the Pods or to change the behavior of an operator generated\ncontainer. Containers described here modify an operator generated\ncontainer if they share the same name and modifications are done via a\nstrategic merge patch.\n\nThe names of containers managed by the operator are:\n* `prometheus`\n* `config-reloader`\n* `thanos-sidecar`\n\nOverriding containers is entirely outside the scope of what the\nmaintainers will support and by doing so, you accept that this behaviour\nmay break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "convertClassicHistogramsToNHCB": { + "description": "Whether to convert all scraped classic histograms into a native\nhistogram with custom buckets.\n\nIt requires Prometheus >= v3.4.0.", + "type": "boolean" + }, + "disableCompaction": { + "description": "When true, the Prometheus compaction is disabled.\nWhen `spec.thanos.objectStorageConfig` or `spec.objectStorageConfigFile` are defined, the operator automatically\ndisables block compaction to avoid race conditions during block uploads (as the Thanos documentation recommends).", + "type": "boolean" + }, + "dnsConfig": { + "description": "Defines the DNS configuration for the pods.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "options": { + "description": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nResolution options given in Options\nwill override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is required and must be unique.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value is optional.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "dnsPolicy": { + "description": "Defines the DNS policy for the pods.", + "type": "string", + "enum": [ + "ClusterFirstWithHostNet", + "ClusterFirst", + "Default", + "None" + ] + }, + "enableAdminAPI": { + "description": "Enables access to the Prometheus web admin API.\n\nWARNING: Enabling the admin APIs enables mutating endpoints, to delete data,\nshutdown Prometheus, and more. Enabling this should be done with care and the\nuser is advised to add additional authentication authorization via a proxy to\nensure only clients authorized to perform these actions can do so.\n\nFor more information:\nhttps://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis", + "type": "boolean" + }, + "enableFeatures": { + "description": "Enable access to Prometheus feature flags. By default, no features are enabled.\n\nEnabling features which are disabled by default is entirely outside the\nscope of what the maintainers will support and by doing so, you accept\nthat this behaviour may break at any time without notice.\n\nFor more information see https://prometheus.io/docs/prometheus/latest/feature_flags/", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "enableOTLPReceiver": { + "description": "Enable Prometheus to be used as a receiver for the OTLP Metrics protocol.\n\nNote that the OTLP receiver endpoint is automatically enabled if `.spec.otlpConfig` is defined.\n\nIt requires Prometheus >= v2.47.0.", + "type": "boolean" + }, + "enableRemoteWriteReceiver": { + "description": "Enable Prometheus to be used as a receiver for the Prometheus remote\nwrite protocol.\n\nWARNING: This is not considered an efficient way of ingesting samples.\nUse it with caution for specific low-volume use cases.\nIt is not suitable for replacing the ingestion via scraping and turning\nPrometheus into a push-based metrics collection system.\nFor more information see https://prometheus.io/docs/prometheus/latest/querying/api/#remote-write-receiver\n\nIt requires Prometheus >= v2.33.0.", + "type": "boolean" + }, + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into pod's environment variables", + "type": "boolean" + }, + "enforcedBodySizeLimit": { + "description": "When defined, enforcedBodySizeLimit specifies a global limit on the size\nof uncompressed response body that will be accepted by Prometheus.\nTargets responding with a body larger than this many bytes will cause\nthe scrape to fail.\n\nIt requires Prometheus >= v2.28.0.\n\nWhen both `enforcedBodySizeLimit` and `bodySizeLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined bodySizeLimit value will inherit the global bodySizeLimit value (Prometheus >= 2.45.0) or the enforcedBodySizeLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedBodySizeLimit` is greater than the `bodySizeLimit`, the `bodySizeLimit` will be set to `enforcedBodySizeLimit`.\n* Scrape objects with a bodySizeLimit value less than or equal to enforcedBodySizeLimit keep their specific value.\n* Scrape objects with a bodySizeLimit value greater than enforcedBodySizeLimit are set to enforcedBodySizeLimit.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "enforcedKeepDroppedTargets": { + "description": "When defined, enforcedKeepDroppedTargets specifies a global limit on the number of targets\ndropped by relabeling that will be kept in memory. The value overrides\nany `spec.keepDroppedTargets` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.keepDroppedTargets` is\ngreater than zero and less than `spec.enforcedKeepDroppedTargets`.\n\nIt requires Prometheus >= v2.47.0.\n\nWhen both `enforcedKeepDroppedTargets` and `keepDroppedTargets` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined keepDroppedTargets value will inherit the global keepDroppedTargets value (Prometheus >= 2.45.0) or the enforcedKeepDroppedTargets value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedKeepDroppedTargets` is greater than the `keepDroppedTargets`, the `keepDroppedTargets` will be set to `enforcedKeepDroppedTargets`.\n* Scrape objects with a keepDroppedTargets value less than or equal to enforcedKeepDroppedTargets keep their specific value.\n* Scrape objects with a keepDroppedTargets value greater than enforcedKeepDroppedTargets are set to enforcedKeepDroppedTargets.", + "type": "integer", + "format": "int64" + }, + "enforcedLabelLimit": { + "description": "When defined, enforcedLabelLimit specifies a global limit on the number\nof labels per sample. The value overrides any `spec.labelLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.labelLimit` is\ngreater than zero and less than `spec.enforcedLabelLimit`.\n\nIt requires Prometheus >= v2.27.0.\n\nWhen both `enforcedLabelLimit` and `labelLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined labelLimit value will inherit the global labelLimit value (Prometheus >= 2.45.0) or the enforcedLabelLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedLabelLimit` is greater than the `labelLimit`, the `labelLimit` will be set to `enforcedLabelLimit`.\n* Scrape objects with a labelLimit value less than or equal to enforcedLabelLimit keep their specific value.\n* Scrape objects with a labelLimit value greater than enforcedLabelLimit are set to enforcedLabelLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedLabelNameLengthLimit": { + "description": "When defined, enforcedLabelNameLengthLimit specifies a global limit on the length\nof labels name per sample. The value overrides any `spec.labelNameLengthLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.labelNameLengthLimit` is\ngreater than zero and less than `spec.enforcedLabelNameLengthLimit`.\n\nIt requires Prometheus >= v2.27.0.\n\nWhen both `enforcedLabelNameLengthLimit` and `labelNameLengthLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined labelNameLengthLimit value will inherit the global labelNameLengthLimit value (Prometheus >= 2.45.0) or the enforcedLabelNameLengthLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedLabelNameLengthLimit` is greater than the `labelNameLengthLimit`, the `labelNameLengthLimit` will be set to `enforcedLabelNameLengthLimit`.\n* Scrape objects with a labelNameLengthLimit value less than or equal to enforcedLabelNameLengthLimit keep their specific value.\n* Scrape objects with a labelNameLengthLimit value greater than enforcedLabelNameLengthLimit are set to enforcedLabelNameLengthLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedLabelValueLengthLimit": { + "description": "When not null, enforcedLabelValueLengthLimit defines a global limit on the length\nof labels value per sample. The value overrides any `spec.labelValueLengthLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.labelValueLengthLimit` is\ngreater than zero and less than `spec.enforcedLabelValueLengthLimit`.\n\nIt requires Prometheus >= v2.27.0.\n\nWhen both `enforcedLabelValueLengthLimit` and `labelValueLengthLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined labelValueLengthLimit value will inherit the global labelValueLengthLimit value (Prometheus >= 2.45.0) or the enforcedLabelValueLengthLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedLabelValueLengthLimit` is greater than the `labelValueLengthLimit`, the `labelValueLengthLimit` will be set to `enforcedLabelValueLengthLimit`.\n* Scrape objects with a labelValueLengthLimit value less than or equal to enforcedLabelValueLengthLimit keep their specific value.\n* Scrape objects with a labelValueLengthLimit value greater than enforcedLabelValueLengthLimit are set to enforcedLabelValueLengthLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedNamespaceLabel": { + "description": "When not empty, a label will be added to:\n\n1. All metrics scraped from `ServiceMonitor`, `PodMonitor`, `Probe` and `ScrapeConfig` objects.\n2. All metrics generated from recording rules defined in `PrometheusRule` objects.\n3. All alerts generated from alerting rules defined in `PrometheusRule` objects.\n4. All vector selectors of PromQL expressions defined in `PrometheusRule` objects.\n\nThe label will not added for objects referenced in `spec.excludedFromEnforcement`.\n\nThe label's name is this field's value.\nThe label's value is the namespace of the `ServiceMonitor`,\n`PodMonitor`, `Probe`, `PrometheusRule` or `ScrapeConfig` object.", + "type": "string" + }, + "enforcedSampleLimit": { + "description": "When defined, enforcedSampleLimit specifies a global limit on the number\nof scraped samples that will be accepted. This overrides any\n`spec.sampleLimit` set by ServiceMonitor, PodMonitor, Probe objects\nunless `spec.sampleLimit` is greater than zero and less than\n`spec.enforcedSampleLimit`.\n\nIt is meant to be used by admins to keep the overall number of\nsamples/series under a desired limit.\n\nWhen both `enforcedSampleLimit` and `sampleLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined sampleLimit value will inherit the global sampleLimit value (Prometheus >= 2.45.0) or the enforcedSampleLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedSampleLimit` is greater than the `sampleLimit`, the `sampleLimit` will be set to `enforcedSampleLimit`.\n* Scrape objects with a sampleLimit value less than or equal to enforcedSampleLimit keep their specific value.\n* Scrape objects with a sampleLimit value greater than enforcedSampleLimit are set to enforcedSampleLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedTargetLimit": { + "description": "When defined, enforcedTargetLimit specifies a global limit on the number\nof scraped targets. The value overrides any `spec.targetLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.targetLimit` is\ngreater than zero and less than `spec.enforcedTargetLimit`.\n\nIt is meant to be used by admins to to keep the overall number of\ntargets under a desired limit.\n\nWhen both `enforcedTargetLimit` and `targetLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined targetLimit value will inherit the global targetLimit value (Prometheus >= 2.45.0) or the enforcedTargetLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedTargetLimit` is greater than the `targetLimit`, the `targetLimit` will be set to `enforcedTargetLimit`.\n* Scrape objects with a targetLimit value less than or equal to enforcedTargetLimit keep their specific value.\n* Scrape objects with a targetLimit value greater than enforcedTargetLimit are set to enforcedTargetLimit.", + "type": "integer", + "format": "int64" + }, + "evaluationInterval": { + "description": "Interval between rule evaluations.\nDefault: \"30s\"", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "excludedFromEnforcement": { + "description": "List of references to PodMonitor, ServiceMonitor, Probe and PrometheusRule objects\nto be excluded from enforcing a namespace label of origin.\n\nIt is only applicable if `spec.enforcedNamespaceLabel` set to true.", + "type": "array", + "items": { + "description": "ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.", + "type": "object", + "required": [ + "namespace", + "resource" + ], + "properties": { + "group": { + "description": "Group of the referent. When not specified, it defaults to `monitoring.coreos.com`", + "type": "string", + "enum": [ + "monitoring.coreos.com" + ] + }, + "name": { + "description": "Name of the referent. When not set, all resources in the namespace are matched.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string", + "minLength": 1 + }, + "resource": { + "description": "Resource of the referent.", + "type": "string", + "enum": [ + "prometheusrules", + "servicemonitors", + "podmonitors", + "probes", + "scrapeconfigs" + ] + } + } + } + }, + "exemplars": { + "description": "Exemplars related settings that are runtime reloadable.\nIt requires to enable the `exemplar-storage` feature flag to be effective.", + "type": "object", + "properties": { + "maxSize": { + "description": "Maximum number of exemplars stored in memory for all series.\n\nexemplar-storage itself must be enabled using the `spec.enableFeature`\noption for exemplars to be scraped in the first place.\n\nIf not set, Prometheus uses its default value. A value of zero or less\nthan zero disables the storage.", + "type": "integer", + "format": "int64" + } + } + }, + "externalLabels": { + "description": "The labels to add to any time series or alerts when communicating with\nexternal systems (federation, remote storage, Alertmanager).\nLabels defined by `spec.replicaExternalLabelName` and\n`spec.prometheusExternalLabelName` take precedence over this list.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "externalUrl": { + "description": "The external URL under which the Prometheus service is externally\navailable. This is necessary to generate correct URLs (for instance if\nPrometheus is accessible behind an Ingress resource).", + "type": "string" + }, + "hostAliases": { + "description": "Optional list of hosts and IPs that will be injected into the Pod's\nhosts file if specified.", + "type": "array", + "items": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file.", + "type": "object", + "required": [ + "hostnames", + "ip" + ], + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + } + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map" + }, + "hostNetwork": { + "description": "Use the host's network namespace if true.\n\nMake sure to understand the security implications if you want to enable\nit (https://kubernetes.io/docs/concepts/configuration/overview/ ).\n\nWhen hostNetwork is enabled, this will set the DNS policy to\n`ClusterFirstWithHostNet` automatically (unless `.spec.DNSPolicy` is set\nto a different value).", + "type": "boolean" + }, + "hostUsers": { + "description": "HostUsers supports the user space in Kubernetes.\n\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/\n\nThe feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.\nStarting Kubernetes 1.33, the feature is enabled by default.", + "type": "boolean" + }, + "ignoreNamespaceSelectors": { + "description": "When true, `spec.namespaceSelector` from all PodMonitor, ServiceMonitor\nand Probe objects will be ignored. They will only discover targets\nwithin the namespace of the PodMonitor, ServiceMonitor and Probe\nobject.", + "type": "boolean" + }, + "image": { + "description": "Container image name for Prometheus. If specified, it takes precedence\nover the `spec.baseImage`, `spec.tag` and `spec.sha` fields.\n\nSpecifying `spec.version` is still necessary to ensure the Prometheus\nOperator knows which version of Prometheus is being configured.\n\nIf neither `spec.image` nor `spec.baseImage` are defined, the operator\nwill use the latest upstream version of Prometheus available at the time\nwhen the operator was released.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy for the 'prometheus', 'init-config-reloader' and 'config-reloader' containers.\nSee https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy for more details.", + "type": "string", + "enum": [ + "", + "Always", + "Never", + "IfNotPresent" + ] + }, + "imagePullSecrets": { + "description": "An optional list of references to Secrets in the same namespace\nto use for pulling images from registries.\nSee http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "InitContainers allows injecting initContainers to the Pod definition. Those\ncan be used to e.g. fetch secrets for injection into the Prometheus\nconfiguration from external sources. Any errors during the execution of\nan initContainer will lead to a restart of the Pod. More info:\nhttps://kubernetes.io/docs/concepts/workloads/pods/init-containers/\nInitContainers described here modify an operator generated init\ncontainers if they share the same name and modifications are done via a\nstrategic merge patch.\n\nThe names of init container name managed by the operator are:\n* `init-config-reloader`.\n\nOverriding init containers is entirely outside the scope of what the\nmaintainers will support and by doing so, you accept that this behaviour\nmay break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "keepDroppedTargets": { + "description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedKeepDroppedTargets.", + "type": "integer", + "format": "int64" + }, + "labelLimit": { + "description": "Per-scrape limit on number of labels that will be accepted for a sample.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedLabelLimit.", + "type": "integer", + "format": "int64" + }, + "labelNameLengthLimit": { + "description": "Per-scrape limit on length of labels name that will be accepted for a sample.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedLabelNameLengthLimit.", + "type": "integer", + "format": "int64" + }, + "labelValueLengthLimit": { + "description": "Per-scrape limit on length of labels value that will be accepted for a sample.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedLabelValueLengthLimit.", + "type": "integer", + "format": "int64" + }, + "listenLocal": { + "description": "When true, the Prometheus server listens on the loopback address\ninstead of the Pod IP's address.", + "type": "boolean" + }, + "logFormat": { + "description": "Log format for Log level for Prometheus and the config-reloader sidecar.", + "type": "string", + "enum": [ + "", + "logfmt", + "json" + ] + }, + "logLevel": { + "description": "Log level for Prometheus and the config-reloader sidecar.", + "type": "string", + "enum": [ + "", + "debug", + "info", + "warn", + "error" + ] + }, + "maximumStartupDurationSeconds": { + "description": "Defines the maximum time that the `prometheus` container's startup probe will wait before being considered failed. The startup probe will return success after the WAL replay is complete.\nIf set, the value should be greater than 60 (seconds). Otherwise it will be equal to 600 seconds (15 minutes).", + "type": "integer", + "format": "int32", + "minimum": 60 + }, + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created Pod should be ready\nwithout any of its container crashing for it to be considered available.\n\nIf unset, pods will be considered available as soon as they are ready.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "nameEscapingScheme": { + "description": "Specifies the character escaping scheme that will be requested when scraping\nfor metric and label names that do not conform to the legacy Prometheus\ncharacter set.\n\nIt requires Prometheus >= v3.4.0.", + "type": "string", + "enum": [ + "AllowUTF8", + "Underscores", + "Dots", + "Values" + ] + }, + "nameValidationScheme": { + "description": "Specifies the validation scheme for metric and label names.\n\nIt requires Prometheus >= v2.55.0.", + "type": "string", + "enum": [ + "UTF8", + "Legacy" + ] + }, + "nodeSelector": { + "description": "Defines on which Nodes the Pods are scheduled.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "otlp": { + "description": "Settings related to the OTLP receiver feature.\nIt requires Prometheus >= v2.55.0.", + "type": "object", + "properties": { + "convertHistogramsToNHCB": { + "description": "Configures optional translation of OTLP explicit bucket histograms into native histograms with custom buckets.\nIt requires Prometheus >= v3.4.0.", + "type": "boolean" + }, + "ignoreResourceAttributes": { + "description": "List of OpenTelemetry resource attributes to ignore when `promoteAllResourceAttributes` is true.\n\nIt requires `promoteAllResourceAttributes` to be true.\nIt requires Prometheus >= v3.5.0.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "keepIdentifyingResourceAttributes": { + "description": "Enables adding `service.name`, `service.namespace` and `service.instance.id`\nresource attributes to the `target_info` metric, on top of converting them into the `instance` and `job` labels.\n\nIt requires Prometheus >= v3.1.0.", + "type": "boolean" + }, + "promoteAllResourceAttributes": { + "description": "Promote all resource attributes to metric labels except the ones defined in `ignoreResourceAttributes`.\n\nCannot be true when `promoteResourceAttributes` is defined.\nIt requires Prometheus >= v3.5.0.", + "type": "boolean" + }, + "promoteResourceAttributes": { + "description": "List of OpenTelemetry Attributes that should be promoted to metric labels, defaults to none.\nCannot be defined when `promoteAllResourceAttributes` is true.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "translationStrategy": { + "description": "Configures how the OTLP receiver endpoint translates the incoming metrics.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "NoUTF8EscapingWithSuffixes", + "UnderscoreEscapingWithSuffixes", + "NoTranslation" + ] + } + } + }, + "overrideHonorLabels": { + "description": "When true, Prometheus resolves label conflicts by renaming the labels in the scraped data\n to “exported_” for all targets created from ServiceMonitor, PodMonitor and\nScrapeConfig objects. Otherwise the HonorLabels field of the service or pod monitor applies.\nIn practice,`overrideHonorLaels:true` enforces `honorLabels:false`\nfor all ServiceMonitor, PodMonitor and ScrapeConfig objects.", + "type": "boolean" + }, + "overrideHonorTimestamps": { + "description": "When true, Prometheus ignores the timestamps for all the targets created\nfrom service and pod monitors.\nOtherwise the HonorTimestamps field of the service or pod monitor applies.", + "type": "boolean" + }, + "paused": { + "description": "When a Prometheus deployment is paused, no actions except for deletion\nwill be performed on the underlying objects.", + "type": "boolean" + }, + "persistentVolumeClaimRetentionPolicy": { + "description": "The field controls if and how PVCs are deleted during the lifecycle of a StatefulSet.\nThe default behavior is all PVCs are retained.\nThis is an alpha field from kubernetes 1.23 until 1.26 and a beta field from 1.26.\nIt requires enabling the StatefulSetAutoDeletePVC feature gate.", + "type": "object", + "properties": { + "whenDeleted": { + "description": "WhenDeleted specifies what happens to PVCs created from StatefulSet\nVolumeClaimTemplates when the StatefulSet is deleted. The default policy\nof `Retain` causes PVCs to not be affected by StatefulSet deletion. The\n`Delete` policy causes those PVCs to be deleted.", + "type": "string" + }, + "whenScaled": { + "description": "WhenScaled specifies what happens to PVCs created from StatefulSet\nVolumeClaimTemplates when the StatefulSet is scaled down. The default\npolicy of `Retain` causes PVCs to not be affected by a scaledown. The\n`Delete` policy causes the associated PVCs for any excess pods above\nthe replica count to be deleted.", + "type": "string" + } + } + }, + "podMetadata": { + "description": "PodMetadata configures labels and annotations which are propagated to the Prometheus pods.\n\nThe following items are reserved and cannot be overridden:\n* \"prometheus\" label, set to the name of the Prometheus object.\n* \"app.kubernetes.io/instance\" label, set to the name of the Prometheus object.\n* \"app.kubernetes.io/managed-by\" label, set to \"prometheus-operator\".\n* \"app.kubernetes.io/name\" label, set to \"prometheus\".\n* \"app.kubernetes.io/version\" label, set to the Prometheus version.\n* \"operator.prometheus.io/name\" label, set to the name of the Prometheus object.\n* \"operator.prometheus.io/shard\" label, set to the shard number of the Prometheus object.\n* \"kubectl.kubernetes.io/default-container\" annotation, set to \"prometheus\".", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "podMonitorNamespaceSelector": { + "description": "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "podMonitorSelector": { + "description": "PodMonitors to be selected for target discovery. An empty label selector\nmatches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "podTargetLabels": { + "description": "PodTargetLabels are appended to the `spec.podTargetLabels` field of all\nPodMonitor and ServiceMonitor objects.", + "type": "array", + "items": { + "type": "string" + } + }, + "portName": { + "description": "Port name used for the pods and governing service.\nDefault: \"web\"", + "type": "string" + }, + "priorityClassName": { + "description": "Priority class assigned to the Pods.", + "type": "string" + }, + "probeNamespaceSelector": { + "description": "Namespaces to match for Probe discovery. An empty label\nselector matches all namespaces. A null label selector matches the\ncurrent namespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "probeSelector": { + "description": "Probes to be selected for target discovery. An empty label selector\nmatches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prometheusExternalLabelName": { + "description": "Name of Prometheus external label used to denote the Prometheus instance\nname. The external label will _not_ be added when the field is set to\nthe empty string (`\"\"`).\n\nDefault: \"prometheus\"", + "type": "string" + }, + "prometheusRulesExcludedFromEnforce": { + "description": "Defines the list of PrometheusRule objects to which the namespace label\nenforcement doesn't apply.\nThis is only relevant when `spec.enforcedNamespaceLabel` is set to true.\nDeprecated: use `spec.excludedFromEnforcement` instead.", + "type": "array", + "items": { + "description": "PrometheusRuleExcludeConfig enables users to configure excluded\nPrometheusRule names and their namespaces to be ignored while enforcing\nnamespace label for alerts and metrics.", + "type": "object", + "required": [ + "ruleName", + "ruleNamespace" + ], + "properties": { + "ruleName": { + "description": "Name of the excluded PrometheusRule object.", + "type": "string" + }, + "ruleNamespace": { + "description": "Namespace of the excluded PrometheusRule object.", + "type": "string" + } + } + } + }, + "query": { + "description": "QuerySpec defines the configuration of the Promethus query service.", + "type": "object", + "properties": { + "lookbackDelta": { + "description": "The delta difference allowed for retrieving metrics during expression evaluations.", + "type": "string" + }, + "maxConcurrency": { + "description": "Number of concurrent queries that can be run at once.", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "maxSamples": { + "description": "Maximum number of samples a single query can load into memory. Note that\nqueries will fail if they would load more samples than this into memory,\nso this also limits the number of samples a query can return.", + "type": "integer", + "format": "int32" + }, + "timeout": { + "description": "Maximum time a query may take before being aborted.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "queryLogFile": { + "description": "queryLogFile specifies where the file to which PromQL queries are logged.\n\nIf the filename has an empty path, e.g. 'query.log', The Prometheus Pods\nwill mount the file into an emptyDir volume at `/var/log/prometheus`.\nIf a full path is provided, e.g. '/var/log/prometheus/query.log', you\nmust mount a volume in the specified directory and it must be writable.\nThis is because the prometheus container runs with a read-only root\nfilesystem for security reasons.\nAlternatively, the location can be set to a standard I/O stream, e.g.\n`/dev/stdout`, to log query information to the default Prometheus log\nstream.", + "type": "string" + }, + "reloadStrategy": { + "description": "Defines the strategy used to reload the Prometheus configuration.\nIf not specified, the configuration is reloaded using the /-/reload HTTP endpoint.", + "type": "string", + "enum": [ + "HTTP", + "ProcessSignal" + ] + }, + "remoteRead": { + "description": "Defines the list of remote read configurations.", + "type": "array", + "items": { + "description": "RemoteReadSpec defines the configuration for Prometheus to read back samples\nfrom a remote endpoint.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "authorization": { + "description": "Authorization section for the URL.\n\nIt requires Prometheus >= v2.26.0.\n\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for the URL.\n\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerToken": { + "description": "*Warning: this field shouldn't be used because the token value appears\nin clear-text. Prefer using `authorization`.*\n\nDeprecated: this will be removed in a future release.", + "type": "string" + }, + "bearerTokenFile": { + "description": "File from which to read the bearer token for the URL.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "filterExternalLabels": { + "description": "Whether to use the external labels as selectors for the remote read endpoint.\n\nIt requires Prometheus >= v2.34.0.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.\n\nIt requires Prometheus >= v2.26.0.", + "type": "boolean" + }, + "headers": { + "description": "Custom HTTP headers to be sent along with each remote read request.\nBe aware that headers that are set by Prometheus itself can't be overwritten.\nOnly valid in Prometheus versions 2.26.0 and newer.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "The name of the remote read queue, it must be unique if specified. The\nname is used in metrics and logging in order to differentiate read\nconfigurations.\n\nIt requires Prometheus >= v2.15.0.", + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 configuration for the URL.\n\nIt requires Prometheus >= v2.27.0.\n\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "readRecent": { + "description": "Whether reads should be made for queries for time ranges that\nthe local storage should have complete data for.", + "type": "boolean" + }, + "remoteTimeout": { + "description": "Timeout for requests to the remote read endpoint.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "requiredMatchers": { + "description": "An optional list of equality matchers which have to be present\nin a selector to query the remote read endpoint.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS Config to use for the URL.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "url": { + "description": "The URL of the endpoint to query from.", + "type": "string" + } + } + } + }, + "remoteWrite": { + "description": "Defines the list of remote write configurations.", + "type": "array", + "items": { + "description": "RemoteWriteSpec defines the configuration to write samples from Prometheus\nto a remote endpoint.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "authorization": { + "description": "Authorization section for the URL.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `sigv4`, `basicAuth`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "azureAd": { + "description": "AzureAD for the URL.\n\nIt requires Prometheus >= v2.45.0 or Thanos >= v0.31.0.\n\nCannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `sigv4`.", + "type": "object", + "properties": { + "cloud": { + "description": "The Azure Cloud. Options are 'AzurePublic', 'AzureChina', or 'AzureGovernment'.", + "type": "string", + "enum": [ + "AzureChina", + "AzureGovernment", + "AzurePublic" + ] + }, + "managedIdentity": { + "description": "ManagedIdentity defines the Azure User-assigned Managed identity.\nCannot be set at the same time as `oauth` or `sdk`.", + "type": "object", + "required": [ + "clientId" + ], + "properties": { + "clientId": { + "description": "The client id", + "type": "string" + } + } + }, + "oauth": { + "description": "OAuth defines the oauth config that is being used to authenticate.\nCannot be set at the same time as `managedIdentity` or `sdk`.\n\nIt requires Prometheus >= v2.48.0 or Thanos >= v0.31.0.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tenantId" + ], + "properties": { + "clientId": { + "description": "`clientID` is the clientId of the Azure Active Directory application that is being used to authenticate.", + "type": "string", + "minLength": 1 + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the client secret of the Azure Active Directory application that is being used to authenticate.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tenantId": { + "description": "`tenantId` is the tenant ID of the Azure Active Directory application that is being used to authenticate.", + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-zA-Z-.]+$" + } + } + }, + "sdk": { + "description": "SDK defines the Azure SDK config that is being used to authenticate.\nSee https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication\nCannot be set at the same time as `oauth` or `managedIdentity`.\n\nIt requires Prometheus >= v2.52.0 or Thanos >= v0.36.0.", + "type": "object", + "properties": { + "tenantId": { + "description": "`tenantId` is the tenant ID of the azure active directory application that is being used to authenticate.", + "type": "string", + "pattern": "^[0-9a-zA-Z-.]+$" + } + } + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for the URL.\n\nCannot be set at the same time as `sigv4`, `authorization`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerToken": { + "description": "*Warning: this field shouldn't be used because the token value appears\nin clear-text. Prefer using `authorization`.*\n\nDeprecated: this will be removed in a future release.", + "type": "string" + }, + "bearerTokenFile": { + "description": "File from which to read bearer token for the URL.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.", + "type": "boolean" + }, + "headers": { + "description": "Custom HTTP headers to be sent along with each remote write request.\nBe aware that headers that are set by Prometheus itself can't be overwritten.\n\nIt requires Prometheus >= v2.25.0 or Thanos >= v0.24.0.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "messageVersion": { + "description": "The Remote Write message's version to use when writing to the endpoint.\n\n`Version1.0` corresponds to the `prometheus.WriteRequest` protobuf message introduced in Remote Write 1.0.\n`Version2.0` corresponds to the `io.prometheus.write.v2.Request` protobuf message introduced in Remote Write 2.0.\n\nWhen `Version2.0` is selected, Prometheus will automatically be\nconfigured to append the metadata of scraped metrics to the WAL.\n\nBefore setting this field, consult with your remote storage provider\nwhat message version it supports.\n\nIt requires Prometheus >= v2.54.0 or Thanos >= v0.37.0.", + "type": "string", + "enum": [ + "V1.0", + "V2.0" + ] + }, + "metadataConfig": { + "description": "MetadataConfig configures the sending of series metadata to the remote storage.", + "type": "object", + "properties": { + "maxSamplesPerSend": { + "description": "MaxSamplesPerSend is the maximum number of metadata samples per send.\n\nIt requires Prometheus >= v2.29.0.", + "type": "integer", + "format": "int32", + "minimum": -1 + }, + "send": { + "description": "Defines whether metric metadata is sent to the remote storage or not.", + "type": "boolean" + }, + "sendInterval": { + "description": "Defines how frequently metric metadata is sent to the remote storage.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "name": { + "description": "The name of the remote write queue, it must be unique if specified. The\nname is used in metrics and logging in order to differentiate queues.\n\nIt requires Prometheus >= v2.15.0 or Thanos >= 0.24.0.", + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 configuration for the URL.\n\nIt requires Prometheus >= v2.27.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `sigv4`, `authorization`, `basicAuth`, or `azureAd`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "queueConfig": { + "description": "QueueConfig allows tuning of the remote write queue parameters.", + "type": "object", + "properties": { + "batchSendDeadline": { + "description": "BatchSendDeadline is the maximum time a sample will wait in buffer.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "capacity": { + "description": "Capacity is the number of samples to buffer per shard before we start\ndropping them.", + "type": "integer" + }, + "maxBackoff": { + "description": "MaxBackoff is the maximum retry delay.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "maxRetries": { + "description": "MaxRetries is the maximum number of times to retry a batch on recoverable errors.", + "type": "integer" + }, + "maxSamplesPerSend": { + "description": "MaxSamplesPerSend is the maximum number of samples per send.", + "type": "integer" + }, + "maxShards": { + "description": "MaxShards is the maximum number of shards, i.e. amount of concurrency.", + "type": "integer" + }, + "minBackoff": { + "description": "MinBackoff is the initial retry delay. Gets doubled for every retry.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "minShards": { + "description": "MinShards is the minimum number of shards, i.e. amount of concurrency.", + "type": "integer" + }, + "retryOnRateLimit": { + "description": "Retry upon receiving a 429 status code from the remote-write storage.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "boolean" + }, + "sampleAgeLimit": { + "description": "SampleAgeLimit drops samples older than the limit.\nIt requires Prometheus >= v2.50.0 or Thanos >= v0.32.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "remoteTimeout": { + "description": "Timeout for requests to the remote write endpoint.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "roundRobinDNS": { + "description": "When enabled:\n - The remote-write mechanism will resolve the hostname via DNS.\n - It will randomly select one of the resolved IP addresses and connect to it.\n\nWhen disabled (default behavior):\n - The Go standard library will handle hostname resolution.\n - It will attempt connections to each resolved IP address sequentially.\n\nNote: The connection timeout applies to the entire resolution and connection process.\n If disabled, the timeout is distributed across all connection attempts.\n\nIt requires Prometheus >= v3.1.0 or Thanos >= v0.38.0.", + "type": "boolean" + }, + "sendExemplars": { + "description": "Enables sending of exemplars over remote write. Note that\nexemplar-storage itself must be enabled using the `spec.enableFeatures`\noption for exemplars to be scraped in the first place.\n\nIt requires Prometheus >= v2.27.0 or Thanos >= v0.24.0.", + "type": "boolean" + }, + "sendNativeHistograms": { + "description": "Enables sending of native histograms, also known as sparse histograms\nover remote write.\n\nIt requires Prometheus >= v2.40.0 or Thanos >= v0.30.0.", + "type": "boolean" + }, + "sigv4": { + "description": "Sigv4 allows to configures AWS's Signature Verification 4 for the URL.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key. If not specified, the environment variable\n`AWS_ACCESS_KEY_ID` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "profile": { + "description": "Profile is the named AWS profile used to authenticate.", + "type": "string" + }, + "region": { + "description": "Region is the AWS region. If blank, the region from the default credentials chain used.", + "type": "string" + }, + "roleArn": { + "description": "RoleArn is the named AWS profile used to authenticate.", + "type": "string" + }, + "secretKey": { + "description": "SecretKey is the AWS API secret. If not specified, the environment\nvariable `AWS_SECRET_ACCESS_KEY` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "tlsConfig": { + "description": "TLS Config to use for the URL.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "url": { + "description": "The URL of the endpoint to send samples to.", + "type": "string", + "minLength": 1 + }, + "writeRelabelConfigs": { + "description": "The list of remote write relabel configurations.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + } + } + } + }, + "remoteWriteReceiverMessageVersions": { + "description": "List of the protobuf message versions to accept when receiving the\nremote writes.\n\nIt requires Prometheus >= v2.54.0.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "V1.0", + "V2.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "replicaExternalLabelName": { + "description": "Name of Prometheus external label used to denote the replica name.\nThe external label will _not_ be added when the field is set to the\nempty string (`\"\"`).\n\nDefault: \"prometheus_replica\"", + "type": "string" + }, + "replicas": { + "description": "Number of replicas of each shard to deploy for a Prometheus deployment.\n`spec.replicas` multiplied by `spec.shards` is the total number of Pods\ncreated.\n\nDefault: 1", + "type": "integer", + "format": "int32" + }, + "resources": { + "description": "Defines the resources requests and limits of the 'prometheus' container.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "retention": { + "description": "How long to retain the Prometheus data.\n\nDefault: \"24h\" if `spec.retention` and `spec.retentionSize` are empty.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "retentionSize": { + "description": "Maximum number of bytes used by the Prometheus data.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "routePrefix": { + "description": "The route prefix Prometheus registers HTTP handlers for.\n\nThis is useful when using `spec.externalURL`, and a proxy is rewriting\nHTTP routes of a request, and the actual ExternalURL is still true, but\nthe server serves requests under a different route prefix. For example\nfor use with `kubectl proxy`.", + "type": "string" + }, + "ruleNamespaceSelector": { + "description": "Namespaces to match for PrometheusRule discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "ruleQueryOffset": { + "description": "Defines the offset the rule evaluation timestamp of this particular group by the specified duration into the past.\nIt requires Prometheus >= v2.53.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "ruleSelector": { + "description": "PrometheusRule objects to be selected for rule evaluation. An empty\nlabel selector matches all objects. A null label selector matches no\nobjects.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "rules": { + "description": "Defines the configuration of the Prometheus rules' engine.", + "type": "object", + "properties": { + "alert": { + "description": "Defines the parameters of the Prometheus rules' engine.\n\nAny update to these parameters trigger a restart of the pods.", + "type": "object", + "properties": { + "forGracePeriod": { + "description": "Minimum duration between alert and restored 'for' state.\n\nThis is maintained only for alerts with a configured 'for' time greater\nthan the grace period.", + "type": "string" + }, + "forOutageTolerance": { + "description": "Max time to tolerate prometheus outage for restoring 'for' state of\nalert.", + "type": "string" + }, + "resendDelay": { + "description": "Minimum amount of time to wait before resending an alert to\nAlertmanager.", + "type": "string" + } + } + } + } + }, + "runtime": { + "description": "RuntimeConfig configures the values for the Prometheus process behavior", + "type": "object", + "properties": { + "goGC": { + "description": "The Go garbage collection target percentage. Lowering this number may increase the CPU usage.\nSee: https://tip.golang.org/doc/gc-guide#GOGC", + "type": "integer", + "format": "int32", + "minimum": -1 + } + } + }, + "sampleLimit": { + "description": "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedSampleLimit.", + "type": "integer", + "format": "int64" + }, + "scrapeClasses": { + "description": "List of scrape classes to expose to scraping objects such as\nPodMonitors, ServiceMonitors, Probes and ScrapeConfigs.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "attachMetadata": { + "description": "AttachMetadata configures additional metadata to the discovered targets.\nWhen the scrape object defines its own configuration, it takes\nprecedence over the scrape class configuration.", + "type": "object", + "properties": { + "node": { + "description": "When set to true, Prometheus attaches node metadata to the discovered\ntargets.\n\nThe Prometheus service account must have the `list` and `watch`\npermissions on the `Nodes` objects.", + "type": "boolean" + } + } + }, + "authorization": { + "description": "Authorization section for the ScrapeClass.\nIt will only apply if the scrape resource doesn't specify any Authorization.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "default": { + "description": "Default indicates that the scrape applies to all scrape objects that\ndon't configure an explicit scrape class name.\n\nOnly one scrape class can be set as the default.", + "type": "boolean" + }, + "fallbackScrapeProtocol": { + "description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\nIt will only apply if the scrape resource doesn't specify any FallbackScrapeProtocol\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "metricRelabelings": { + "description": "MetricRelabelings configures the relabeling rules to apply to all samples before ingestion.\n\nThe Operator adds the scrape class metric relabelings defined here.\nThen the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs.\nThen the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the scrape class.", + "type": "string", + "minLength": 1 + }, + "relabelings": { + "description": "Relabelings configures the relabeling rules to apply to all scrape targets.\n\nThe Operator automatically adds relabelings for a few standard Kubernetes fields\nlike `__meta_kubernetes_namespace` and `__meta_kubernetes_service_name`.\nThen the Operator adds the scrape class relabelings defined here.\nThen the Operator adds the target-specific relabelings defined in the scrape object.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "tlsConfig": { + "description": "TLSConfig defines the TLS settings to use for the scrape. When the\nscrape objects define their own CA, certificate and/or key, they take\nprecedence over the corresponding scrape class fields.\n\nFor now only the `caFile`, `certFile` and `keyFile` fields are supported.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "scrapeClassicHistograms": { + "description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\n\nNotice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.\n\nIt requires Prometheus >= v3.5.0.", + "type": "boolean" + }, + "scrapeConfigNamespaceSelector": { + "description": "Namespaces to match for ScrapeConfig discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.\n\nNote that the ScrapeConfig custom resource definition is currently at Alpha level.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "scrapeConfigSelector": { + "description": "ScrapeConfigs to be selected for target discovery. An empty label\nselector matches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.\n\nNote that the ScrapeConfig custom resource definition is currently at Alpha level.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "scrapeFailureLogFile": { + "description": "File to which scrape failures are logged.\nReloading the configuration will reopen the file.\n\nIf the filename has an empty path, e.g. 'file.log', The Prometheus Pods\nwill mount the file into an emptyDir volume at `/var/log/prometheus`.\nIf a full path is provided, e.g. '/var/log/prometheus/file.log', you\nmust mount a volume in the specified directory and it must be writable.\nIt requires Prometheus >= v2.55.0.", + "type": "string", + "minLength": 1 + }, + "scrapeInterval": { + "description": "Interval between consecutive scrapes.\n\nDefault: \"30s\"", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "scrapeProtocols": { + "description": "The protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.\n\n`PrometheusText1.0.0` requires Prometheus >= v3.0.0.", + "type": "array", + "items": { + "description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "scrapeTimeout": { + "description": "Number of seconds to wait until a scrape request times out.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "secrets": { + "description": "Secrets is a list of Secrets in the same namespace as the Prometheus\nobject, which shall be mounted into the Prometheus Pods.\nEach Secret is added to the StatefulSet definition as a volume named `secret-`.\nThe Secrets are mounted into /etc/prometheus/secrets/ in the 'prometheus' container.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext.", + "type": "object", + "properties": { + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.\nIt has no effect on nodes that do not support SELinux or to volumes does not support SELinux.\nValid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime.\nThis may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option.\nThis requires all Pods that share the same volume to use the same SELinux label.\nIt is not possible to share the same volume among privileged and unprivileged Pods.\nEligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes\nwhose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their\nCSIDriver instance. Other volumes are always re-labelled recursively.\n\"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used.\nIf not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes\nand \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in\naddition to the container's primary GID and fsGroup (if specified). If\nthe SupplementalGroupsPolicy feature is enabled, the\nsupplementalGroupsPolicy field determines whether these are in addition\nto or instead of any group memberships defined in the container image.\nIf unspecified, no additional groups are added, though group memberships\ndefined in the container image may still be used, depending on the\nsupplementalGroupsPolicy field.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated.\nValid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used.\n(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled\nand the container runtime must implement support for this feature.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run the\nPrometheus Pods.", + "type": "string" + }, + "serviceDiscoveryRole": { + "description": "Defines the service discovery role used to discover targets from\n`ServiceMonitor` objects and Alertmanager endpoints.\n\nIf set, the value should be either \"Endpoints\" or \"EndpointSlice\".\nIf unset, the operator assumes the \"Endpoints\" role.", + "type": "string", + "enum": [ + "Endpoints", + "EndpointSlice" + ] + }, + "serviceMonitorNamespaceSelector": { + "description": "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceMonitorSelector": { + "description": "ServiceMonitors to be selected for target discovery. An empty label\nselector matches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceName": { + "description": "The name of the service name used by the underlying StatefulSet(s) as the governing service.\nIf defined, the Service must be created before the Prometheus/PrometheusAgent resource in the same namespace and it must define a selector that matches the pod labels.\nIf empty, the operator will create and manage a headless service named `prometheus-operated` for Prometheus resources,\nor `prometheus-agent-operated` for PrometheusAgent resources.\nWhen deploying multiple Prometheus/PrometheusAgent resources in the same namespace, it is recommended to specify a different value for each.\nSee https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.", + "type": "string", + "minLength": 1 + }, + "sha": { + "description": "Deprecated: use 'spec.image' instead. The image's digest can be specified as part of the image name.", + "type": "string" + }, + "shardRetentionPolicy": { + "description": "ShardRetentionPolicy defines the retention policy for the Prometheus shards.\n(Alpha) Using this field requires the 'PrometheusShardRetentionPolicy' feature gate to be enabled.\n\nThe final goals for this feature can be seen at https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/proposals/202310-shard-autoscaling.md#graceful-scale-down-of-prometheus-servers,\nhowever, the feature is not yet fully implemented in this PR. The limitation being:\n* Retention duration is not settable, for now, shards are retained forever.", + "type": "object", + "properties": { + "retain": { + "description": "Defines the config for retention when the retention policy is set to `Retain`.\nThis field is ineffective as of now.", + "type": "object", + "required": [ + "retentionPeriod" + ], + "properties": { + "retentionPeriod": { + "description": "Duration is a valid time duration that can be parsed by Prometheus model.ParseDuration() function.\nSupported units: y, w, d, h, m, s, ms\nExamples: `30s`, `1m`, `1h20m15s`, `15d`", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "whenScaled": { + "description": "Defines the retention policy when the Prometheus shards are scaled down.\n* `Delete`, the operator will delete the pods from the scaled-down shard(s).\n* `Retain`, the operator will keep the pods from the scaled-down shard(s), so the data can still be queried.\n\nIf not defined, the operator assumes the `Delete` value.", + "type": "string", + "enum": [ + "Retain", + "Delete" + ] + } + } + }, + "shards": { + "description": "Number of shards to distribute the scraped targets onto.\n\n`spec.replicas` multiplied by `spec.shards` is the total number of Pods\nbeing created.\n\nWhen not defined, the operator assumes only one shard.\n\nNote that scaling down shards will not reshard data onto the remaining\ninstances, it must be manually moved. Increasing shards will not reshard\ndata either but it will continue to be available from the same\ninstances. To query globally, use either\n* Thanos sidecar + querier for query federation and Thanos Ruler for rules.\n* Remote-write to send metrics to a central location.\n\nBy default, the sharding of targets is performed on:\n* The `__address__` target's metadata label for PodMonitor,\nServiceMonitor and ScrapeConfig resources.\n* The `__param_target__` label for Probe resources.\n\nUsers can define their own sharding implementation by setting the\n`__tmp_hash` label during the target discovery with relabeling\nconfiguration (either in the monitoring resources or via scrape class).\n\nYou can also disable sharding on a specific target by setting the\n`__tmp_disable_sharding` label with relabeling configuration. When\nthe label value isn't empty, all Prometheus shards will scrape the target.", + "type": "integer", + "format": "int32" + }, + "storage": { + "description": "Storage defines the storage used by Prometheus.", + "type": "object", + "properties": { + "disableMountSubPath": { + "description": "Deprecated: subPath usage will be removed in a future release.", + "type": "boolean" + }, + "emptyDir": { + "description": "EmptyDirVolumeSource to be used by the StatefulSet.\nIf specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "EphemeralVolumeSource to be used by the StatefulSet.\nThis is a beta field in k8s 1.21 and GA in 1.15.\nFor lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate.\nMore info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "volumeClaimTemplate": { + "description": "Defines the PVC spec to be used by the Prometheus StatefulSets.\nThe easiest way to use a volume that cannot be automatically provisioned\nis to use a label selector alongside manually created PersistentVolumes.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "EmbeddedMetadata contains metadata relevant to an EmbeddedResource.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "spec": { + "description": "Defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "status": { + "description": "Deprecated: this field is never set.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "allocatedResourceStatuses": { + "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "description": "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it.", + "type": "string" + }, + "x-kubernetes-map-type": "granular" + }, + "allocatedResources": { + "description": "allocatedResources tracks the resources allocated to a PVC including its capacity.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation\nis requested.\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\nIf a volume expansion capacity request is lowered, allocatedResources is only\nlowered if there are no expansion operations in progress and if the actual volume capacity\nis equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "capacity": { + "description": "capacity represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "conditions": { + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'.", + "type": "array", + "items": { + "description": "PersistentVolumeClaimCondition contains details about state of pvc", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastProbeTime": { + "description": "lastProbeTime is the time we probed the condition.", + "type": "string", + "format": "date-time" + }, + "lastTransitionTime": { + "description": "lastTransitionTime is the time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "message is the human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition.\nCan be True, False, Unknown.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "currentVolumeAttributesClassName": { + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "string" + }, + "modifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.\nWhen this is unset, there is no ModifyVolume operation being attempted.\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.", + "type": "string" + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + } + }, + "phase": { + "description": "phase represents the current phase of PersistentVolumeClaim.", + "type": "string" + } + } + } + } + } + } + }, + "tag": { + "description": "Deprecated: use 'spec.image' instead. The image's tag can be specified as part of the image name.", + "type": "string" + }, + "targetLimit": { + "description": "TargetLimit defines a limit on the number of scraped targets that will be accepted.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedTargetLimit.", + "type": "integer", + "format": "int64" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down) which may lead to data corruption.\n\nDefaults to 600 seconds.", + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "thanos": { + "description": "Defines the configuration of the optional Thanos sidecar.", + "type": "object", + "properties": { + "additionalArgs": { + "description": "AdditionalArgs allows setting additional arguments for the Thanos container.\nThe arguments are passed as-is to the Thanos container which may cause issues\nif they are invalid or not supported the given Thanos version.\nIn case of an argument conflict (e.g. an argument which is already set by the\noperator itself) or when providing an invalid argument, the reconciliation will\nfail and an error will be logged.", + "type": "array", + "items": { + "description": "Argument as part of the AdditionalArgs list.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the argument, e.g. \"scrape.discovery-reload-interval\".", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Argument value, e.g. 30s. Can be empty for name-only arguments (e.g. --storage.tsdb.no-lockfile)", + "type": "string" + } + } + } + }, + "baseImage": { + "description": "Deprecated: use 'image' instead.", + "type": "string" + }, + "blockSize": { + "description": "BlockDuration controls the size of TSDB blocks produced by Prometheus.\nThe default value is 2h to match the upstream Prometheus defaults.\n\nWARNING: Changing the block duration can impact the performance and\nefficiency of the entire Prometheus/Thanos stack due to how it interacts\nwith memory and Thanos compactors. It is recommended to keep this value\nset to a multiple of 120 times your longest scrape or rule interval. For\nexample, 30s * 120 = 1h.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "getConfigInterval": { + "description": "How often to retrieve the Prometheus configuration.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "getConfigTimeout": { + "description": "Maximum time to wait when retrieving the Prometheus configuration.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "grpcListenLocal": { + "description": "When true, the Thanos sidecar listens on the loopback interface instead\nof the Pod IP's address for the gRPC endpoints.\n\nIt has no effect if `listenLocal` is true.", + "type": "boolean" + }, + "grpcServerTlsConfig": { + "description": "Configures the TLS parameters for the gRPC server providing the StoreAPI.\n\nNote: Currently only the `caFile`, `certFile`, and `keyFile` fields are supported.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "httpListenLocal": { + "description": "When true, the Thanos sidecar listens on the loopback interface instead\nof the Pod IP's address for the HTTP endpoints.\n\nIt has no effect if `listenLocal` is true.", + "type": "boolean" + }, + "image": { + "description": "Container image name for Thanos. If specified, it takes precedence over\nthe `spec.thanos.baseImage`, `spec.thanos.tag` and `spec.thanos.sha`\nfields.\n\nSpecifying `spec.thanos.version` is still necessary to ensure the\nPrometheus Operator knows which version of Thanos is being configured.\n\nIf neither `spec.thanos.image` nor `spec.thanos.baseImage` are defined,\nthe operator will use the latest upstream version of Thanos available at\nthe time when the operator was released.", + "type": "string" + }, + "listenLocal": { + "description": "Deprecated: use `grpcListenLocal` and `httpListenLocal` instead.", + "type": "boolean" + }, + "logFormat": { + "description": "Log format for the Thanos sidecar.", + "type": "string", + "enum": [ + "", + "logfmt", + "json" + ] + }, + "logLevel": { + "description": "Log level for the Thanos sidecar.", + "type": "string", + "enum": [ + "", + "debug", + "info", + "warn", + "error" + ] + }, + "minTime": { + "description": "Defines the start of time range limit served by the Thanos sidecar's StoreAPI.\nThe field's value should be a constant time in RFC3339 format or a time\nduration relative to current time, such as -1d or 2h45m. Valid duration\nunits are ms, s, m, h, d, w, y.", + "type": "string" + }, + "objectStorageConfig": { + "description": "Defines the Thanos sidecar's configuration to upload TSDB blocks to object storage.\n\nMore info: https://thanos.io/tip/thanos/storage.md/\n\nobjectStorageConfigFile takes precedence over this field.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "objectStorageConfigFile": { + "description": "Defines the Thanos sidecar's configuration file to upload TSDB blocks to object storage.\n\nMore info: https://thanos.io/tip/thanos/storage.md/\n\nThis field takes precedence over objectStorageConfig.", + "type": "string" + }, + "readyTimeout": { + "description": "ReadyTimeout is the maximum time that the Thanos sidecar will wait for\nPrometheus to start.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "resources": { + "description": "Defines the resources requests and limits of the Thanos sidecar.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "sha": { + "description": "Deprecated: use 'image' instead. The image digest can be specified as part of the image name.", + "type": "string" + }, + "tag": { + "description": "Deprecated: use 'image' instead. The image's tag can be specified as as part of the image name.", + "type": "string" + }, + "tracingConfig": { + "description": "Defines the tracing configuration for the Thanos sidecar.\n\n`tracingConfigFile` takes precedence over this field.\n\nMore info: https://thanos.io/tip/thanos/tracing.md/\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tracingConfigFile": { + "description": "Defines the tracing configuration file for the Thanos sidecar.\n\nThis field takes precedence over `tracingConfig`.\n\nMore info: https://thanos.io/tip/thanos/tracing.md/\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "string" + }, + "version": { + "description": "Version of Thanos being deployed. The operator uses this information\nto generate the Prometheus StatefulSet + configuration files.\n\nIf not specified, the operator assumes the latest upstream release of\nThanos available at the time when the version of the operator was\nreleased.", + "type": "string" + }, + "volumeMounts": { + "description": "VolumeMounts allows configuration of additional VolumeMounts for Thanos.\nVolumeMounts specified will be appended to other VolumeMounts in the\n'thanos-sidecar' container.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + } + } + } + }, + "tolerations": { + "description": "Defines the Pods' tolerations if specified.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + }, + "topologySpreadConstraints": { + "description": "Defines the pod's topology spread constraints if specified.", + "type": "array", + "items": { + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "additionalLabelSelectors": { + "description": "Defines what Prometheus Operator managed labels should be added to labelSelector on the topologySpreadConstraint.", + "type": "string", + "enum": [ + "OnResource", + "OnShard" + ] + }, + "labelSelector": { + "description": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field.", + "type": "string" + } + } + } + }, + "tracingConfig": { + "description": "TracingConfig configures tracing in Prometheus.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "object", + "required": [ + "endpoint" + ], + "properties": { + "clientType": { + "description": "Client used to export the traces. Supported values are `http` or `grpc`.", + "type": "string", + "enum": [ + "http", + "grpc" + ] + }, + "compression": { + "description": "Compression key for supported compression types. The only supported value is `gzip`.", + "type": "string", + "enum": [ + "gzip" + ] + }, + "endpoint": { + "description": "Endpoint to send the traces to. Should be provided in format :.", + "type": "string", + "minLength": 1 + }, + "headers": { + "description": "Key-value pairs to be used as headers associated with gRPC or HTTP requests.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "insecure": { + "description": "If disabled, the client will use a secure connection.", + "type": "boolean" + }, + "samplingFraction": { + "description": "Sets the probability a given trace will be sampled. Must be a float from 0 through 1.", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "timeout": { + "description": "Maximum time the exporter will wait for each batch export.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS Config to use when sending traces.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "tsdb": { + "description": "Defines the runtime reloadable configuration of the timeseries database(TSDB).\nIt requires Prometheus >= v2.39.0 or PrometheusAgent >= v2.54.0.", + "type": "object", + "properties": { + "outOfOrderTimeWindow": { + "description": "Configures how old an out-of-order/out-of-bounds sample can be with\nrespect to the TSDB max time.\n\nAn out-of-order/out-of-bounds sample is ingested into the TSDB as long as\nthe timestamp of the sample is >= (TSDB.MaxTime - outOfOrderTimeWindow).\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.\n\nIt requires Prometheus >= v2.39.0 or PrometheusAgent >= v2.54.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "version": { + "description": "Version of Prometheus being deployed. The operator uses this information\nto generate the Prometheus StatefulSet + configuration files.\n\nIf not specified, the operator assumes the latest upstream version of\nPrometheus available at the time when the version of the operator was\nreleased.", + "type": "string" + }, + "volumeMounts": { + "description": "VolumeMounts allows the configuration of additional VolumeMounts.\n\nVolumeMounts will be appended to other VolumeMounts in the 'prometheus'\ncontainer, that are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + } + }, + "volumes": { + "description": "Volumes allows the configuration of additional volumes on the output\nStatefulSet definition. Volumes specified will be appended to other\nvolumes that are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree\nawsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\nDeprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type\nare redirected to the disk.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.\nDeprecated: AzureFile is deprecated. All operations for the in-tree azureFile type\nare redirected to the file.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure share Name", + "type": "string" + } + } + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.\nDeprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine.\nDeprecated: Cinder is deprecated. All operations for the in-tree cinder type\nare redirected to the cinder.csi.openstack.org CSI driver.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume.\nDefaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver.\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "lun is Optional: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\nDeprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.\nDeprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "type": "object", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker\nshould be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: GCEPersistentDisk is deprecated. All operations for the in-tree\ngcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision.\nDeprecated: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "directory is the target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + } + }, + "glusterfs": { + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nDeprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "endpoints is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + } + }, + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.\nThe volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\n- Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\n- IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.\nA failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.\nThe types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.\nThe OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.\nThe volume will be mounted read-only (ro) and non-executable files (noexec).\nSub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.\nThe field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "type": "object", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are:\nAlways: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\nNever: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\nIfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used.\nBehaves in the same way as pod.spec.containers[*].image.\nPull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + } + }, + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md", + "type": "object", + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n: will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "object", + "required": [ + "path", + "server" + ], + "properties": { + "path": { + "description": "path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false.", + "type": "boolean" + } + } + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.\nDeprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine.\nDeprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type\nare redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate\nis on.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem. Esoteric PEM features such as inter-block\ncomments and block headers are stripped. Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has\neffect if signerName is set. Mutually-exclusive with name. If unset,\ninterpreted as \"match nothing\". If set but empty, interpreted as \"match\neverything\".", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive\nwith signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available. If using name, then the named ClusterTrustBundle is\nallowed not to exist. If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name. The contents of all selected\nClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime.\nDeprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "group to map volume access to\nDefault is no group", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to\nDefaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "rbd": { + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.\nDeprecated: RBD is deprecated and the in-tree rbd type is no longer supported.\nMore info: https://examples.k8s.io/volumes/rbd/README.md", + "type": "object", + "required": [ + "image", + "monitors" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is the rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\nDeprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "type": "object", + "required": [ + "gateway", + "secretRef", + "system" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system\nthat is associated with this volume source.", + "type": "string" + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\nDeprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.\nDeprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type\nare redirected to the csi.vsphere.vmware.com CSI driver.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + } + } + } + } + }, + "walCompression": { + "description": "Configures compression of the write-ahead log (WAL) using Snappy.\n\nWAL compression is enabled by default for Prometheus >= 2.20.0\n\nRequires Prometheus v2.11.0 and above.", + "type": "boolean" + }, + "web": { + "description": "Defines the configuration of the Prometheus web server.", + "type": "object", + "properties": { + "httpConfig": { + "description": "Defines HTTP parameters for web server.", + "type": "object", + "properties": { + "headers": { + "description": "List of headers that can be added to HTTP responses.", + "type": "object", + "properties": { + "contentSecurityPolicy": { + "description": "Set the Content-Security-Policy header to HTTP responses.\nUnset if blank.", + "type": "string" + }, + "strictTransportSecurity": { + "description": "Set the Strict-Transport-Security header to HTTP responses.\nUnset if blank.\nPlease make sure that you use this with care as this header might force\nbrowsers to load Prometheus and the other applications hosted on the same\ndomain and subdomains over HTTPS.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security", + "type": "string" + }, + "xContentTypeOptions": { + "description": "Set the X-Content-Type-Options header to HTTP responses.\nUnset if blank. Accepted value is nosniff.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options", + "type": "string", + "enum": [ + "", + "NoSniff" + ] + }, + "xFrameOptions": { + "description": "Set the X-Frame-Options header to HTTP responses.\nUnset if blank. Accepted values are deny and sameorigin.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options", + "type": "string", + "enum": [ + "", + "Deny", + "SameOrigin" + ] + }, + "xXSSProtection": { + "description": "Set the X-XSS-Protection header to all responses.\nUnset if blank.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection", + "type": "string" + } + } + }, + "http2": { + "description": "Enable HTTP/2 support. Note that HTTP/2 is only supported with TLS.\nWhen TLSConfig is not configured, HTTP/2 will be disabled.\nWhenever the value of the field changes, a rolling update will be triggered.", + "type": "boolean" + } + } + }, + "maxConnections": { + "description": "Defines the maximum number of simultaneous connections\nA zero value means that Prometheus doesn't accept any incoming connection.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "pageTitle": { + "description": "The prometheus web page title.", + "type": "string" + }, + "tlsConfig": { + "description": "Defines the TLS parameters for HTTPS.", + "type": "object", + "properties": { + "cert": { + "description": "Secret or ConfigMap containing the TLS certificate for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `certFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the TLS certificate file in the container for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `cert`.", + "type": "string" + }, + "cipherSuites": { + "description": "List of supported cipher suites for TLS versions up to TLS 1.2.\n\nIf not defined, the Go default cipher suites are used.\nAvailable cipher suites are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#pkg-constants", + "type": "array", + "items": { + "type": "string" + } + }, + "clientAuthType": { + "description": "The server policy for client TLS authentication.\n\nFor more detail on clientAuth options:\nhttps://golang.org/pkg/crypto/tls/#ClientAuthType", + "type": "string" + }, + "clientCAFile": { + "description": "Path to the CA certificate file for client certificate authentication to\nthe server.\n\nIt is mutually exclusive with `client_ca`.", + "type": "string" + }, + "client_ca": { + "description": "Secret or ConfigMap containing the CA certificate for client certificate\nauthentication to the server.\n\nIt is mutually exclusive with `clientCAFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "curvePreferences": { + "description": "Elliptic curves that will be used in an ECDHE handshake, in preference\norder.\n\nAvailable curves are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#CurveID", + "type": "array", + "items": { + "type": "string" + } + }, + "keyFile": { + "description": "Path to the TLS private key file in the container for the web server.\n\nIf defined, either `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keySecret`.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the TLS private key for the web server.\n\nEither `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keyFile`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum TLS version that is acceptable.", + "type": "string" + }, + "minVersion": { + "description": "Minimum TLS version that is acceptable.", + "type": "string" + }, + "preferServerCipherSuites": { + "description": "Controls whether the server selects the client's most preferred cipher\nsuite, or the server's most preferred cipher suite.\n\nIf true then the server's preference, as expressed in\nthe order of elements in cipherSuites, is used.", + "type": "boolean" + } + } + } + } + } + } + }, + "status": { + "description": "Most recent observed status of the Prometheus cluster. Read-only.\nMore info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "availableReplicas", + "paused", + "replicas", + "unavailableReplicas", + "updatedReplicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds)\ntargeted by this Prometheus deployment.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "The current state of the Prometheus deployment.", + "type": "array", + "items": { + "description": "Condition represents the state of the resources associated with the\nPrometheus, Alertmanager or ThanosRuler resource.", + "type": "object", + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the time of the last update to the current status property.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details for the condition's last transition.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration represents the .metadata.generation that the\ncondition was set based upon. For instance, if `.metadata.generation` is\ncurrently 12, but the `.status.conditions[].observedGeneration` is 9, the\ncondition is out of date with respect to the current state of the\ninstance.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition.", + "type": "string", + "minLength": 1 + }, + "type": { + "description": "Type of the condition being reported.", + "type": "string", + "minLength": 1 + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "paused": { + "description": "Represents whether any actions on the underlying managed objects are\nbeing performed. Only delete actions will be performed.", + "type": "boolean" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this Prometheus deployment\n(their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "The selector used to match the pods targeted by this Prometheus resource.", + "type": "string" + }, + "shardStatuses": { + "description": "The list has one entry per shard. Each entry provides a summary of the shard status.", + "type": "array", + "items": { + "type": "object", + "required": [ + "availableReplicas", + "replicas", + "shardID", + "unavailableReplicas", + "updatedReplicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds)\ntargeted by this shard.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Total number of pods targeted by this shard.", + "type": "integer", + "format": "int32" + }, + "shardID": { + "description": "Identifier of the shard.", + "type": "string" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this shard.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this shard\nthat have the desired spec.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-map-keys": [ + "shardID" + ], + "x-kubernetes-list-type": "map" + }, + "shards": { + "description": "Shards is the most recently observed number of shards.", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this Prometheus deployment.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this Prometheus deployment\nthat have the desired version spec.", + "type": "integer", + "format": "int32" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "Prometheus", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.PrometheusList": { + "description": "PrometheusList is a list of Prometheus", + "type": "object", + "required": [ + "items" + ], + "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": "List of prometheuses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.Prometheus" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PrometheusList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.PrometheusRule": { + "description": "The `PrometheusRule` custom resource definition (CRD) defines [alerting](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) and [recording](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/) rules to be evaluated by `Prometheus` or `ThanosRuler` objects.\n\n`Prometheus` and `ThanosRuler` objects select `PrometheusRule` objects using label and namespace selectors.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of desired alerting rule definitions for Prometheus.", + "type": "object", + "properties": { + "groups": { + "description": "Content of Prometheus rule file", + "type": "array", + "items": { + "description": "RuleGroup is a list of sequentially evaluated recording and alerting rules.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "interval": { + "description": "Interval determines how often rules in the group are evaluated.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "labels": { + "description": "Labels to add or overwrite before storing the result for its rules.\nThe labels defined at the rule level take precedence.\n\nIt requires Prometheus >= 3.0.0.\nThe field is ignored for Thanos Ruler.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "limit": { + "description": "Limit the number of alerts an alerting rule and series a recording\nrule can produce.\nLimit is supported starting with Prometheus >= 2.31 and Thanos Ruler >= 0.24.", + "type": "integer" + }, + "name": { + "description": "Name of the rule group.", + "type": "string", + "minLength": 1 + }, + "partial_response_strategy": { + "description": "PartialResponseStrategy is only used by ThanosRuler and will\nbe ignored by Prometheus instances.\nMore info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response", + "type": "string", + "pattern": "^(?i)(abort|warn)?$" + }, + "query_offset": { + "description": "Defines the offset the rule evaluation timestamp of this particular group by the specified duration into the past.\n\nIt requires Prometheus >= v2.53.0.\nIt is not supported for ThanosRuler.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "rules": { + "description": "List of alerting and recording rules.", + "type": "array", + "items": { + "description": "Rule describes an alerting or recording rule\nSee Prometheus documentation: [alerting](https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) rule", + "type": "object", + "required": [ + "expr" + ], + "properties": { + "alert": { + "description": "Name of the alert. Must be a valid label value.\nOnly one of `record` and `alert` must be set.", + "type": "string" + }, + "annotations": { + "description": "Annotations to add to each alert.\nOnly valid for alerting rules.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "expr": { + "description": "PromQL expression to evaluate.", + "x-kubernetes-int-or-string": true + }, + "for": { + "description": "Alerts are considered firing once they have been returned for this long.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "keep_firing_for": { + "description": "KeepFiringFor defines how long an alert will continue firing after the condition that triggered it has cleared.", + "type": "string", + "minLength": 1, + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "labels": { + "description": "Labels to add or overwrite.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "record": { + "description": "Name of the time series to output to. Must be a valid metric name.\nOnly one of `record` and `alert` must be set.", + "type": "string" + } + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PrometheusRule", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.PrometheusRuleList": { + "description": "PrometheusRuleList is a list of PrometheusRule", + "type": "object", + "required": [ + "items" + ], + "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": "List of prometheusrules. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.PrometheusRule" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PrometheusRuleList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.ServiceMonitor": { + "description": "The `ServiceMonitor` custom resource definition (CRD) defines how `Prometheus` and `PrometheusAgent` can scrape metrics from a group of services.\nAmong other things, it allows to specify:\n* The services to scrape via label selectors.\n* The container ports to scrape.\n* Authentication credentials to use.\n* Target and metric relabeling.\n\n`Prometheus` and `PrometheusAgent` objects select `ServiceMonitor` objects using label and namespace selectors.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of desired Service selection for target discovery by\nPrometheus.", + "type": "object", + "required": [ + "endpoints", + "selector" + ], + "properties": { + "attachMetadata": { + "description": "`attachMetadata` defines additional metadata which is added to the\ndiscovered targets.\n\nIt requires Prometheus >= v2.37.0.", + "type": "object", + "properties": { + "node": { + "description": "When set to true, Prometheus attaches node metadata to the discovered\ntargets.\n\nThe Prometheus service account must have the `list` and `watch`\npermissions on the `Nodes` objects.", + "type": "boolean" + } + } + }, + "bodySizeLimit": { + "description": "When defined, bodySizeLimit specifies a job level limit on the size\nof uncompressed response body that will be accepted by Prometheus.\n\nIt requires Prometheus >= v2.28.0.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "convertClassicHistogramsToNHCB": { + "description": "Whether to convert all scraped classic histograms into a native histogram with custom buckets.\nIt requires Prometheus >= v3.0.0.", + "type": "boolean" + }, + "endpoints": { + "description": "List of endpoints part of this ServiceMonitor.\nDefines how to scrape metrics from Kubernetes [Endpoints](https://kubernetes.io/docs/concepts/services-networking/service/#endpoints) objects.\nIn most cases, an Endpoints object is backed by a Kubernetes [Service](https://kubernetes.io/docs/concepts/services-networking/service/) object with the same name and labels.", + "type": "array", + "items": { + "description": "Endpoint defines an endpoint serving Prometheus metrics to be scraped by\nPrometheus.", + "type": "object", + "properties": { + "authorization": { + "description": "`authorization` configures the Authorization header credentials to use when\nscraping the target.\n\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "`basicAuth` configures the Basic Authentication credentials to use when\nscraping the target.\n\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenFile": { + "description": "File to read bearer token for scraping the target.\n\nDeprecated: use `authorization` instead.", + "type": "string" + }, + "bearerTokenSecret": { + "description": "`bearerTokenSecret` specifies a key of a Secret containing the bearer\ntoken for scraping targets. The secret needs to be in the same namespace\nas the ServiceMonitor object and readable by the Prometheus Operator.\n\nDeprecated: use `authorization` instead.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "enableHttp2": { + "description": "`enableHttp2` can be used to disable HTTP2 when scraping the target.", + "type": "boolean" + }, + "filterRunning": { + "description": "When true, the pods which are not running (e.g. either in Failed or\nSucceeded state) are dropped during the target discovery.\n\nIf unset, the filtering is enabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase", + "type": "boolean" + }, + "followRedirects": { + "description": "`followRedirects` defines whether the scrape requests should follow HTTP\n3xx redirects.", + "type": "boolean" + }, + "honorLabels": { + "description": "When true, `honorLabels` preserves the metric's labels when they collide\nwith the target's labels.", + "type": "boolean" + }, + "honorTimestamps": { + "description": "`honorTimestamps` controls whether Prometheus preserves the timestamps\nwhen exposed by the target.", + "type": "boolean" + }, + "interval": { + "description": "Interval at which Prometheus scrapes the metrics from the target.\n\nIf empty, Prometheus uses the global scrape interval.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "metricRelabelings": { + "description": "`metricRelabelings` configures the relabeling rules to apply to the\nsamples before ingestion.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "`oauth2` configures the OAuth2 settings to use when scraping the target.\n\nIt requires Prometheus >= 2.27.0.\n\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "params": { + "description": "params define optional HTTP URL parameters.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "path": { + "description": "HTTP path from which to scrape for metrics.\n\nIf empty, Prometheus uses the default value (e.g. `/metrics`).", + "type": "string" + }, + "port": { + "description": "Name of the Service port which this endpoint refers to.\n\nIt takes precedence over `targetPort`.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "relabelings": { + "description": "`relabelings` configures the relabeling rules to apply the target's\nmetadata labels.\n\nThe Operator automatically adds relabelings for a few standard Kubernetes fields.\n\nThe original scrape job's name is available via the `__tmp_prometheus_job_name` label.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "scheme": { + "description": "HTTP scheme to use for scraping.\n\n`http` and `https` are the expected values unless you rewrite the\n`__scheme__` label via relabeling.\n\nIf empty, Prometheus uses the default value `http`.", + "type": "string", + "enum": [ + "http", + "https" + ] + }, + "scrapeTimeout": { + "description": "Timeout after which Prometheus considers the scrape to be failed.\n\nIf empty, Prometheus uses the global scrape timeout unless it is less\nthan the target's scrape interval value in which the latter is used.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "targetPort": { + "description": "Name or number of the target port of the `Pod` object behind the\nService. The port must be specified with the container's port property.", + "x-kubernetes-int-or-string": true + }, + "tlsConfig": { + "description": "TLS configuration to use when scraping the target.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "trackTimestampsStaleness": { + "description": "`trackTimestampsStaleness` defines whether Prometheus tracks staleness of\nthe metrics that have an explicit timestamp present in scraped data.\nHas no effect if `honorTimestamps` is false.\n\nIt requires Prometheus >= v2.48.0.", + "type": "boolean" + } + } + } + }, + "fallbackScrapeProtocol": { + "description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "jobLabel": { + "description": "`jobLabel` selects the label from the associated Kubernetes `Service`\nobject which will be used as the `job` label for all metrics.\n\nFor example if `jobLabel` is set to `foo` and the Kubernetes `Service`\nobject is labeled with `foo: bar`, then Prometheus adds the `job=\"bar\"`\nlabel to all ingested metrics.\n\nIf the value of this field is empty or if the label doesn't exist for\nthe given Service, the `job` label of the metrics defaults to the name\nof the associated Kubernetes `Service`.", + "type": "string" + }, + "keepDroppedTargets": { + "description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.", + "type": "integer", + "format": "int64" + }, + "labelLimit": { + "description": "Per-scrape limit on number of labels that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.", + "type": "integer", + "format": "int64" + }, + "labelNameLengthLimit": { + "description": "Per-scrape limit on length of labels name that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.", + "type": "integer", + "format": "int64" + }, + "labelValueLengthLimit": { + "description": "Per-scrape limit on length of labels value that will be accepted for a sample.\n\nIt requires Prometheus >= v2.27.0.", + "type": "integer", + "format": "int64" + }, + "namespaceSelector": { + "description": "`namespaceSelector` defines in which namespace(s) Prometheus should discover the services.\nBy default, the services are discovered in the same namespace as the `ServiceMonitor` object but it is possible to select pods across different/all namespaces.", + "type": "object", + "properties": { + "any": { + "description": "Boolean describing whether all namespaces are selected in contrast to a\nlist restricting them.", + "type": "boolean" + }, + "matchNames": { + "description": "List of namespace names to select from.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "nativeHistogramBucketLimit": { + "description": "If there are more than this many buckets in a native histogram,\nbuckets will be merged to stay within the limit.\nIt requires Prometheus >= v2.45.0.", + "type": "integer", + "format": "int64" + }, + "nativeHistogramMinBucketFactor": { + "description": "If the growth factor of one bucket to the next is smaller than this,\nbuckets will be merged to increase the factor sufficiently.\nIt requires Prometheus >= v2.50.0.", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "podTargetLabels": { + "description": "`podTargetLabels` defines the labels which are transferred from the\nassociated Kubernetes `Pod` object onto the ingested metrics.", + "type": "array", + "items": { + "type": "string" + } + }, + "sampleLimit": { + "description": "`sampleLimit` defines a per-scrape limit on the number of scraped samples\nthat will be accepted.", + "type": "integer", + "format": "int64" + }, + "scrapeClass": { + "description": "The scrape class to apply.", + "type": "string", + "minLength": 1 + }, + "scrapeClassicHistograms": { + "description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\nIt requires Prometheus >= v2.45.0.\n\nNotice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.", + "type": "boolean" + }, + "scrapeProtocols": { + "description": "`scrapeProtocols` defines the protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.", + "type": "array", + "items": { + "description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "selector": { + "description": "Label selector to select the Kubernetes `Endpoints` objects to scrape metrics from.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "selectorMechanism": { + "description": "Mechanism used to select the endpoints to scrape.\nBy default, the selection process relies on relabel configurations to filter the discovered targets.\nAlternatively, you can opt in for role selectors, which may offer better efficiency in large clusters.\nWhich strategy is best for your use case needs to be carefully evaluated.\n\nIt requires Prometheus >= v2.17.0.", + "type": "string", + "enum": [ + "RelabelConfig", + "RoleSelector" + ] + }, + "targetLabels": { + "description": "`targetLabels` defines the labels which are transferred from the\nassociated Kubernetes `Service` object onto the ingested metrics.", + "type": "array", + "items": { + "type": "string" + } + }, + "targetLimit": { + "description": "`targetLimit` defines a limit on the number of scraped targets that will\nbe accepted.", + "type": "integer", + "format": "int64" + } + } + }, + "status": { + "description": "This Status subresource is under active development and is updated only when the\n\"StatusForConfigurationResources\" feature gate is enabled.\n\nMost recent observed status of the ServiceMonitor. Read-only.\nMore info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "bindings": { + "description": "The list of workload resources (Prometheus or PrometheusAgent) which select the configuration resource.", + "type": "array", + "items": { + "description": "WorkloadBinding is a link between a configuration resource and a workload resource.", + "type": "object", + "required": [ + "group", + "name", + "namespace", + "resource" + ], + "properties": { + "conditions": { + "description": "The current state of the configuration resource when bound to the referenced Prometheus object.", + "type": "array", + "items": { + "description": "ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager, or ThanosRuler.", + "type": "object", + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the time of the last update to the current status property.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details for the condition's last transition.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration represents the .metadata.generation that the\ncondition was set based upon. For instance, if `.metadata.generation` is\ncurrently 12, but the `.status.conditions[].observedGeneration` is 9, the\ncondition is out of date with respect to the current state of the object.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition.", + "type": "string", + "minLength": 1 + }, + "type": { + "description": "Type of the condition being reported.\nCurrently, only \"Accepted\" is supported.", + "type": "string", + "minLength": 1, + "enum": [ + "Accepted" + ] + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "group": { + "description": "The group of the referenced resource.", + "type": "string", + "enum": [ + "monitoring.coreos.com" + ] + }, + "name": { + "description": "The name of the referenced object.", + "type": "string", + "minLength": 1 + }, + "namespace": { + "description": "The namespace of the referenced object.", + "type": "string", + "minLength": 1 + }, + "resource": { + "description": "The type of resource being referenced (e.g. Prometheus or PrometheusAgent).", + "type": "string", + "enum": [ + "prometheuses", + "prometheusagents" + ] + } + } + } + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitor", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.ServiceMonitorList": { + "description": "ServiceMonitorList is a list of ServiceMonitor", + "type": "object", + "required": [ + "items" + ], + "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": "List of servicemonitors. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ServiceMonitor" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ServiceMonitorList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.ThanosRuler": { + "description": "The `ThanosRuler` custom resource definition (CRD) defines a desired [Thanos Ruler](https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md) setup to run in a Kubernetes cluster.\n\nA `ThanosRuler` instance requires at least one compatible Prometheus API endpoint (either Thanos Querier or Prometheus services).\n\nThe resource defines via label and namespace selectors which `PrometheusRule` objects should be associated to the deployed Thanos Ruler instances.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the ThanosRuler cluster. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "additionalArgs": { + "description": "AdditionalArgs allows setting additional arguments for the ThanosRuler container.\nIt is intended for e.g. activating hidden flags which are not supported by\nthe dedicated configuration options yet. The arguments are passed as-is to the\nThanosRuler container which may cause issues if they are invalid or not supported\nby the given ThanosRuler version.\nIn case of an argument conflict (e.g. an argument which is already set by the\noperator itself) or when providing an invalid argument the reconciliation will\nfail and an error will be logged.", + "type": "array", + "items": { + "description": "Argument as part of the AdditionalArgs list.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the argument, e.g. \"scrape.discovery-reload-interval\".", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Argument value, e.g. 30s. Can be empty for name-only arguments (e.g. --storage.tsdb.no-lockfile)", + "type": "string" + } + } + } + }, + "affinity": { + "description": "If specified, the pod's scheduling constraints.", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "alertDropLabels": { + "description": "Configures the label names which should be dropped in Thanos Ruler\nalerts.\n\nThe replica label `thanos_ruler_replica` will always be dropped from the alerts.", + "type": "array", + "items": { + "type": "string" + } + }, + "alertQueryUrl": { + "description": "The external Query URL the Thanos Ruler will set in the 'Source' field\nof all alerts.\nMaps to the '--alert.query-url' CLI arg.", + "type": "string" + }, + "alertRelabelConfigFile": { + "description": "Configures the path to the alert relabeling configuration file.\n\nAlert relabel configuration must have the form as specified in the\nofficial Prometheus documentation:\nhttps://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs\n\nThe operator performs no validation of the configuration file.\n\nThis field takes precedence over `alertRelabelConfig`.", + "type": "string" + }, + "alertRelabelConfigs": { + "description": "Configures alert relabeling in Thanos Ruler.\n\nAlert relabel configuration must have the form as specified in the\nofficial Prometheus documentation:\nhttps://prometheus.io/docs/prometheus/latest/configuration/configuration/#alert_relabel_configs\n\nThe operator performs no validation of the configuration.\n\n`alertRelabelConfigFile` takes precedence over this field.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "alertmanagersConfig": { + "description": "Configures the list of Alertmanager endpoints to send alerts to.\n\nThe configuration format is defined at https://thanos.io/tip/components/rule.md/#alertmanager.\n\nIt requires Thanos >= v0.10.0.\n\nThe operator performs no validation of the configuration.\n\nThis field takes precedence over `alertmanagersUrl`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "alertmanagersUrl": { + "description": "Configures the list of Alertmanager endpoints to send alerts to.\n\nFor Thanos >= v0.10.0, it is recommended to use `alertmanagersConfig` instead.\n\n`alertmanagersConfig` takes precedence over this field.", + "type": "array", + "items": { + "type": "string" + } + }, + "containers": { + "description": "Containers allows injecting additional containers or modifying operator generated\ncontainers. This can be used to allow adding an authentication proxy to a ThanosRuler pod or\nto change the behavior of an operator generated container. Containers described here modify\nan operator generated container if they share the same name and modifications are done via a\nstrategic merge patch. The current container names are: `thanos-ruler` and `config-reloader`.\nOverriding containers is entirely outside the scope of what the maintainers will support and by doing\nso, you accept that this behaviour may break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "dnsConfig": { + "description": "Defines the DNS configuration for the pods.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "options": { + "description": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nResolution options given in Options\nwill override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is required and must be unique.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value is optional.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "dnsPolicy": { + "description": "Defines the DNS policy for the pods.", + "type": "string", + "enum": [ + "ClusterFirstWithHostNet", + "ClusterFirst", + "Default", + "None" + ] + }, + "enableFeatures": { + "description": "Enable access to Thanos Ruler feature flags. By default, no features are enabled.\n\nEnabling features which are disabled by default is entirely outside the\nscope of what the maintainers will support and by doing so, you accept\nthat this behaviour may break at any time without notice.\n\nFor more information see https://thanos.io/tip/components/rule.md/\n\nIt requires Thanos >= 0.39.0.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into pod's environment variables", + "type": "boolean" + }, + "enforcedNamespaceLabel": { + "description": "EnforcedNamespaceLabel enforces adding a namespace label of origin for each alert\nand metric that is user created. The label value will always be the namespace of the object that is\nbeing created.", + "type": "string" + }, + "evaluationInterval": { + "description": "Interval between consecutive evaluations.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "excludedFromEnforcement": { + "description": "List of references to PrometheusRule objects\nto be excluded from enforcing a namespace label of origin.\nApplies only if enforcedNamespaceLabel set to true.", + "type": "array", + "items": { + "description": "ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.", + "type": "object", + "required": [ + "namespace", + "resource" + ], + "properties": { + "group": { + "description": "Group of the referent. When not specified, it defaults to `monitoring.coreos.com`", + "type": "string", + "enum": [ + "monitoring.coreos.com" + ] + }, + "name": { + "description": "Name of the referent. When not set, all resources in the namespace are matched.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string", + "minLength": 1 + }, + "resource": { + "description": "Resource of the referent.", + "type": "string", + "enum": [ + "prometheusrules", + "servicemonitors", + "podmonitors", + "probes", + "scrapeconfigs" + ] + } + } + } + }, + "externalPrefix": { + "description": "The external URL the Thanos Ruler instances will be available under. This is\nnecessary to generate correct URLs. This is necessary if Thanos Ruler is not\nserved from root of a DNS name.", + "type": "string" + }, + "grpcServerTlsConfig": { + "description": "GRPCServerTLSConfig configures the gRPC server from which Thanos Querier reads\nrecorded rule data.\nNote: Currently only the CAFile, CertFile, and KeyFile fields are supported.\nMaps to the '--grpc-server-tls-*' CLI args.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "hostAliases": { + "description": "Pods' hostAliases configuration", + "type": "array", + "items": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file.", + "type": "object", + "required": [ + "hostnames", + "ip" + ], + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + } + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map" + }, + "hostUsers": { + "description": "HostUsers supports the user space in Kubernetes.\n\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/\n\nThe feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.\nStarting Kubernetes 1.33, the feature is enabled by default.", + "type": "boolean" + }, + "image": { + "description": "Thanos container image URL.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy for the 'thanos', 'init-config-reloader' and 'config-reloader' containers.\nSee https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy for more details.", + "type": "string", + "enum": [ + "", + "Always", + "Never", + "IfNotPresent" + ] + }, + "imagePullSecrets": { + "description": "An optional list of references to secrets in the same namespace\nto use for pulling thanos images from registries\nsee http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "InitContainers allows adding initContainers to the pod definition. Those can be used to e.g.\nfetch secrets for injection into the ThanosRuler configuration from external sources. Any\nerrors during the execution of an initContainer will lead to a restart of the Pod.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\nUsing initContainers for any use case other then secret fetching is entirely outside the scope\nof what the maintainers will support and by doing so, you accept that this behaviour may break\nat any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "labels": { + "description": "Configures the external label pairs of the ThanosRuler resource.\n\nA default replica label `thanos_ruler_replica` will be always added as a\nlabel with the value of the pod's name.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "listenLocal": { + "description": "ListenLocal makes the Thanos ruler listen on loopback, so that it\ndoes not bind against the Pod IP.", + "type": "boolean" + }, + "logFormat": { + "description": "Log format for ThanosRuler to be configured with.", + "type": "string", + "enum": [ + "", + "logfmt", + "json" + ] + }, + "logLevel": { + "description": "Log level for ThanosRuler to be configured with.", + "type": "string", + "enum": [ + "", + "debug", + "info", + "warn", + "error" + ] + }, + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready\nwithout any of its container crashing for it to be considered available.\n\nIf unset, pods will be considered available as soon as they are ready.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "nodeSelector": { + "description": "Define which Nodes the Pods are scheduled on.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "objectStorageConfig": { + "description": "Configures object storage.\n\nThe configuration format is defined at https://thanos.io/tip/thanos/storage.md/#configuring-access-to-object-storage\n\nThe operator performs no validation of the configuration.\n\n`objectStorageConfigFile` takes precedence over this field.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "objectStorageConfigFile": { + "description": "Configures the path of the object storage configuration file.\n\nThe configuration format is defined at https://thanos.io/tip/thanos/storage.md/#configuring-access-to-object-storage\n\nThe operator performs no validation of the configuration file.\n\nThis field takes precedence over `objectStorageConfig`.", + "type": "string" + }, + "paused": { + "description": "When a ThanosRuler deployment is paused, no actions except for deletion\nwill be performed on the underlying objects.", + "type": "boolean" + }, + "podMetadata": { + "description": "PodMetadata configures labels and annotations which are propagated to the ThanosRuler pods.\n\nThe following items are reserved and cannot be overridden:\n* \"app.kubernetes.io/name\" label, set to \"thanos-ruler\".\n* \"app.kubernetes.io/managed-by\" label, set to \"prometheus-operator\".\n* \"app.kubernetes.io/instance\" label, set to the name of the ThanosRuler instance.\n* \"thanos-ruler\" label, set to the name of the ThanosRuler instance.\n* \"kubectl.kubernetes.io/default-container\" annotation, set to \"thanos-ruler\".", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "portName": { + "description": "Port name used for the pods and governing service.\nDefaults to `web`.", + "type": "string" + }, + "priorityClassName": { + "description": "Priority class assigned to the Pods", + "type": "string" + }, + "prometheusRulesExcludedFromEnforce": { + "description": "PrometheusRulesExcludedFromEnforce - list of Prometheus rules to be excluded from enforcing\nof adding namespace labels. Works only if enforcedNamespaceLabel set to true.\nMake sure both ruleNamespace and ruleName are set for each pair\nDeprecated: use excludedFromEnforcement instead.", + "type": "array", + "items": { + "description": "PrometheusRuleExcludeConfig enables users to configure excluded\nPrometheusRule names and their namespaces to be ignored while enforcing\nnamespace label for alerts and metrics.", + "type": "object", + "required": [ + "ruleName", + "ruleNamespace" + ], + "properties": { + "ruleName": { + "description": "Name of the excluded PrometheusRule object.", + "type": "string" + }, + "ruleNamespace": { + "description": "Namespace of the excluded PrometheusRule object.", + "type": "string" + } + } + } + }, + "queryConfig": { + "description": "Configures the list of Thanos Query endpoints from which to query metrics.\n\nThe configuration format is defined at https://thanos.io/tip/components/rule.md/#query-api\n\nIt requires Thanos >= v0.11.0.\n\nThe operator performs no validation of the configuration.\n\nThis field takes precedence over `queryEndpoints`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "queryEndpoints": { + "description": "Configures the list of Thanos Query endpoints from which to query metrics.\n\nFor Thanos >= v0.11.0, it is recommended to use `queryConfig` instead.\n\n`queryConfig` takes precedence over this field.", + "type": "array", + "items": { + "type": "string" + } + }, + "remoteWrite": { + "description": "Defines the list of remote write configurations.\n\nWhen the list isn't empty, the ruler is configured with stateless mode.\n\nIt requires Thanos >= 0.24.0.", + "type": "array", + "items": { + "description": "RemoteWriteSpec defines the configuration to write samples from Prometheus\nto a remote endpoint.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "authorization": { + "description": "Authorization section for the URL.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `sigv4`, `basicAuth`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "azureAd": { + "description": "AzureAD for the URL.\n\nIt requires Prometheus >= v2.45.0 or Thanos >= v0.31.0.\n\nCannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `sigv4`.", + "type": "object", + "properties": { + "cloud": { + "description": "The Azure Cloud. Options are 'AzurePublic', 'AzureChina', or 'AzureGovernment'.", + "type": "string", + "enum": [ + "AzureChina", + "AzureGovernment", + "AzurePublic" + ] + }, + "managedIdentity": { + "description": "ManagedIdentity defines the Azure User-assigned Managed identity.\nCannot be set at the same time as `oauth` or `sdk`.", + "type": "object", + "required": [ + "clientId" + ], + "properties": { + "clientId": { + "description": "The client id", + "type": "string" + } + } + }, + "oauth": { + "description": "OAuth defines the oauth config that is being used to authenticate.\nCannot be set at the same time as `managedIdentity` or `sdk`.\n\nIt requires Prometheus >= v2.48.0 or Thanos >= v0.31.0.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tenantId" + ], + "properties": { + "clientId": { + "description": "`clientID` is the clientId of the Azure Active Directory application that is being used to authenticate.", + "type": "string", + "minLength": 1 + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the client secret of the Azure Active Directory application that is being used to authenticate.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tenantId": { + "description": "`tenantId` is the tenant ID of the Azure Active Directory application that is being used to authenticate.", + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-zA-Z-.]+$" + } + } + }, + "sdk": { + "description": "SDK defines the Azure SDK config that is being used to authenticate.\nSee https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication\nCannot be set at the same time as `oauth` or `managedIdentity`.\n\nIt requires Prometheus >= v2.52.0 or Thanos >= v0.36.0.", + "type": "object", + "properties": { + "tenantId": { + "description": "`tenantId` is the tenant ID of the azure active directory application that is being used to authenticate.", + "type": "string", + "pattern": "^[0-9a-zA-Z-.]+$" + } + } + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for the URL.\n\nCannot be set at the same time as `sigv4`, `authorization`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerToken": { + "description": "*Warning: this field shouldn't be used because the token value appears\nin clear-text. Prefer using `authorization`.*\n\nDeprecated: this will be removed in a future release.", + "type": "string" + }, + "bearerTokenFile": { + "description": "File from which to read bearer token for the URL.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.", + "type": "boolean" + }, + "headers": { + "description": "Custom HTTP headers to be sent along with each remote write request.\nBe aware that headers that are set by Prometheus itself can't be overwritten.\n\nIt requires Prometheus >= v2.25.0 or Thanos >= v0.24.0.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "messageVersion": { + "description": "The Remote Write message's version to use when writing to the endpoint.\n\n`Version1.0` corresponds to the `prometheus.WriteRequest` protobuf message introduced in Remote Write 1.0.\n`Version2.0` corresponds to the `io.prometheus.write.v2.Request` protobuf message introduced in Remote Write 2.0.\n\nWhen `Version2.0` is selected, Prometheus will automatically be\nconfigured to append the metadata of scraped metrics to the WAL.\n\nBefore setting this field, consult with your remote storage provider\nwhat message version it supports.\n\nIt requires Prometheus >= v2.54.0 or Thanos >= v0.37.0.", + "type": "string", + "enum": [ + "V1.0", + "V2.0" + ] + }, + "metadataConfig": { + "description": "MetadataConfig configures the sending of series metadata to the remote storage.", + "type": "object", + "properties": { + "maxSamplesPerSend": { + "description": "MaxSamplesPerSend is the maximum number of metadata samples per send.\n\nIt requires Prometheus >= v2.29.0.", + "type": "integer", + "format": "int32", + "minimum": -1 + }, + "send": { + "description": "Defines whether metric metadata is sent to the remote storage or not.", + "type": "boolean" + }, + "sendInterval": { + "description": "Defines how frequently metric metadata is sent to the remote storage.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "name": { + "description": "The name of the remote write queue, it must be unique if specified. The\nname is used in metrics and logging in order to differentiate queues.\n\nIt requires Prometheus >= v2.15.0 or Thanos >= 0.24.0.", + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 configuration for the URL.\n\nIt requires Prometheus >= v2.27.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `sigv4`, `authorization`, `basicAuth`, or `azureAd`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "queueConfig": { + "description": "QueueConfig allows tuning of the remote write queue parameters.", + "type": "object", + "properties": { + "batchSendDeadline": { + "description": "BatchSendDeadline is the maximum time a sample will wait in buffer.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "capacity": { + "description": "Capacity is the number of samples to buffer per shard before we start\ndropping them.", + "type": "integer" + }, + "maxBackoff": { + "description": "MaxBackoff is the maximum retry delay.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "maxRetries": { + "description": "MaxRetries is the maximum number of times to retry a batch on recoverable errors.", + "type": "integer" + }, + "maxSamplesPerSend": { + "description": "MaxSamplesPerSend is the maximum number of samples per send.", + "type": "integer" + }, + "maxShards": { + "description": "MaxShards is the maximum number of shards, i.e. amount of concurrency.", + "type": "integer" + }, + "minBackoff": { + "description": "MinBackoff is the initial retry delay. Gets doubled for every retry.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "minShards": { + "description": "MinShards is the minimum number of shards, i.e. amount of concurrency.", + "type": "integer" + }, + "retryOnRateLimit": { + "description": "Retry upon receiving a 429 status code from the remote-write storage.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "boolean" + }, + "sampleAgeLimit": { + "description": "SampleAgeLimit drops samples older than the limit.\nIt requires Prometheus >= v2.50.0 or Thanos >= v0.32.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "remoteTimeout": { + "description": "Timeout for requests to the remote write endpoint.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "roundRobinDNS": { + "description": "When enabled:\n - The remote-write mechanism will resolve the hostname via DNS.\n - It will randomly select one of the resolved IP addresses and connect to it.\n\nWhen disabled (default behavior):\n - The Go standard library will handle hostname resolution.\n - It will attempt connections to each resolved IP address sequentially.\n\nNote: The connection timeout applies to the entire resolution and connection process.\n If disabled, the timeout is distributed across all connection attempts.\n\nIt requires Prometheus >= v3.1.0 or Thanos >= v0.38.0.", + "type": "boolean" + }, + "sendExemplars": { + "description": "Enables sending of exemplars over remote write. Note that\nexemplar-storage itself must be enabled using the `spec.enableFeatures`\noption for exemplars to be scraped in the first place.\n\nIt requires Prometheus >= v2.27.0 or Thanos >= v0.24.0.", + "type": "boolean" + }, + "sendNativeHistograms": { + "description": "Enables sending of native histograms, also known as sparse histograms\nover remote write.\n\nIt requires Prometheus >= v2.40.0 or Thanos >= v0.30.0.", + "type": "boolean" + }, + "sigv4": { + "description": "Sigv4 allows to configures AWS's Signature Verification 4 for the URL.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key. If not specified, the environment variable\n`AWS_ACCESS_KEY_ID` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "profile": { + "description": "Profile is the named AWS profile used to authenticate.", + "type": "string" + }, + "region": { + "description": "Region is the AWS region. If blank, the region from the default credentials chain used.", + "type": "string" + }, + "roleArn": { + "description": "RoleArn is the named AWS profile used to authenticate.", + "type": "string" + }, + "secretKey": { + "description": "SecretKey is the AWS API secret. If not specified, the environment\nvariable `AWS_SECRET_ACCESS_KEY` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "tlsConfig": { + "description": "TLS Config to use for the URL.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "url": { + "description": "The URL of the endpoint to send samples to.", + "type": "string", + "minLength": 1 + }, + "writeRelabelConfigs": { + "description": "The list of remote write relabel configurations.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + } + } + } + }, + "replicas": { + "description": "Number of thanos ruler instances to deploy.", + "type": "integer", + "format": "int32" + }, + "resendDelay": { + "description": "Minimum amount of time to wait before resending an alert to Alertmanager.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "resources": { + "description": "Resources defines the resource requirements for single Pods.\nIf not provided, no requests/limits will be set", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "retention": { + "description": "Time duration ThanosRuler shall retain data for. Default is '24h', and\nmust match the regular expression `[0-9]+(ms|s|m|h|d|w|y)` (milliseconds\nseconds minutes hours days weeks years).\n\nThe field has no effect when remote-write is configured since the Ruler\noperates in stateless mode.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "routePrefix": { + "description": "The route prefix ThanosRuler registers HTTP handlers for. This allows thanos UI to be served on a sub-path.", + "type": "string" + }, + "ruleConcurrentEval": { + "description": "How many rules can be evaluated concurrently.\nIt requires Thanos >= v0.37.0.", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "ruleGracePeriod": { + "description": "Minimum duration between alert and restored \"for\" state.\nThis is maintained only for alerts with configured \"for\" time greater than grace period.\nIt requires Thanos >= v0.30.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "ruleNamespaceSelector": { + "description": "Namespaces to be selected for Rules discovery. If unspecified, only\nthe same namespace as the ThanosRuler object is in is used.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "ruleOutageTolerance": { + "description": "Max time to tolerate prometheus outage for restoring \"for\" state of alert.\nIt requires Thanos >= v0.30.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "ruleQueryOffset": { + "description": "The default rule group's query offset duration to use.\nIt requires Thanos >= v0.38.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "ruleSelector": { + "description": "PrometheusRule objects to be selected for rule evaluation. An empty\nlabel selector matches all objects. A null label selector matches no\nobjects.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext.", + "type": "object", + "properties": { + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.\nIt has no effect on nodes that do not support SELinux or to volumes does not support SELinux.\nValid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime.\nThis may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option.\nThis requires all Pods that share the same volume to use the same SELinux label.\nIt is not possible to share the same volume among privileged and unprivileged Pods.\nEligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes\nwhose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their\nCSIDriver instance. Other volumes are always re-labelled recursively.\n\"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used.\nIf not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes\nand \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in\naddition to the container's primary GID and fsGroup (if specified). If\nthe SupplementalGroupsPolicy feature is enabled, the\nsupplementalGroupsPolicy field determines whether these are in addition\nto or instead of any group memberships defined in the container image.\nIf unspecified, no additional groups are added, though group memberships\ndefined in the container image may still be used, depending on the\nsupplementalGroupsPolicy field.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated.\nValid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used.\n(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled\nand the container runtime must implement support for this feature.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run the\nThanos Ruler Pods.", + "type": "string" + }, + "serviceName": { + "description": "The name of the service name used by the underlying StatefulSet(s) as the governing service.\nIf defined, the Service must be created before the ThanosRuler resource in the same namespace and it must define a selector that matches the pod labels.\nIf empty, the operator will create and manage a headless service named `thanos-ruler-operated` for ThanosRuler resources.\nWhen deploying multiple ThanosRuler resources in the same namespace, it is recommended to specify a different value for each.\nSee https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.", + "type": "string", + "minLength": 1 + }, + "storage": { + "description": "Storage spec to specify how storage shall be used.", + "type": "object", + "properties": { + "disableMountSubPath": { + "description": "Deprecated: subPath usage will be removed in a future release.", + "type": "boolean" + }, + "emptyDir": { + "description": "EmptyDirVolumeSource to be used by the StatefulSet.\nIf specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "EphemeralVolumeSource to be used by the StatefulSet.\nThis is a beta field in k8s 1.21 and GA in 1.15.\nFor lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate.\nMore info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "volumeClaimTemplate": { + "description": "Defines the PVC spec to be used by the Prometheus StatefulSets.\nThe easiest way to use a volume that cannot be automatically provisioned\nis to use a label selector alongside manually created PersistentVolumes.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "EmbeddedMetadata contains metadata relevant to an EmbeddedResource.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "spec": { + "description": "Defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "status": { + "description": "Deprecated: this field is never set.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "allocatedResourceStatuses": { + "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "description": "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it.", + "type": "string" + }, + "x-kubernetes-map-type": "granular" + }, + "allocatedResources": { + "description": "allocatedResources tracks the resources allocated to a PVC including its capacity.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation\nis requested.\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\nIf a volume expansion capacity request is lowered, allocatedResources is only\nlowered if there are no expansion operations in progress and if the actual volume capacity\nis equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "capacity": { + "description": "capacity represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "conditions": { + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'.", + "type": "array", + "items": { + "description": "PersistentVolumeClaimCondition contains details about state of pvc", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastProbeTime": { + "description": "lastProbeTime is the time we probed the condition.", + "type": "string", + "format": "date-time" + }, + "lastTransitionTime": { + "description": "lastTransitionTime is the time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "message is the human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition.\nCan be True, False, Unknown.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "currentVolumeAttributesClassName": { + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "string" + }, + "modifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.\nWhen this is unset, there is no ModifyVolume operation being attempted.\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.", + "type": "string" + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + } + }, + "phase": { + "description": "phase represents the current phase of PersistentVolumeClaim.", + "type": "string" + } + } + } + } + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down) which may lead to data corruption.\n\nDefaults to 120 seconds.", + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + }, + "topologySpreadConstraints": { + "description": "If specified, the pod's topology spread constraints.", + "type": "array", + "items": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "labelSelector": { + "description": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field.", + "type": "string" + } + } + } + }, + "tracingConfig": { + "description": "Configures tracing.\n\nThe configuration format is defined at https://thanos.io/tip/thanos/tracing.md/#configuration\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.\n\nThe operator performs no validation of the configuration.\n\n`tracingConfigFile` takes precedence over this field.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tracingConfigFile": { + "description": "Configures the path of the tracing configuration file.\n\nThe configuration format is defined at https://thanos.io/tip/thanos/tracing.md/#configuration\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.\n\nThe operator performs no validation of the configuration file.\n\nThis field takes precedence over `tracingConfig`.", + "type": "string" + }, + "version": { + "description": "Version of Thanos to be deployed.", + "type": "string" + }, + "volumeMounts": { + "description": "VolumeMounts allows configuration of additional VolumeMounts on the output StatefulSet definition.\nVolumeMounts specified will be appended to other VolumeMounts in the ruler container,\nthat are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + } + }, + "volumes": { + "description": "Volumes allows configuration of additional volumes on the output StatefulSet definition. Volumes specified will\nbe appended to other volumes that are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree\nawsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\nDeprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type\nare redirected to the disk.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.\nDeprecated: AzureFile is deprecated. All operations for the in-tree azureFile type\nare redirected to the file.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure share Name", + "type": "string" + } + } + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.\nDeprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine.\nDeprecated: Cinder is deprecated. All operations for the in-tree cinder type\nare redirected to the cinder.csi.openstack.org CSI driver.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume.\nDefaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver.\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "lun is Optional: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\nDeprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.\nDeprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "type": "object", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker\nshould be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: GCEPersistentDisk is deprecated. All operations for the in-tree\ngcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision.\nDeprecated: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "directory is the target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + } + }, + "glusterfs": { + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nDeprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "endpoints is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + } + }, + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.\nThe volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\n- Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\n- IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.\nA failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.\nThe types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.\nThe OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.\nThe volume will be mounted read-only (ro) and non-executable files (noexec).\nSub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.\nThe field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "type": "object", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are:\nAlways: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\nNever: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\nIfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used.\nBehaves in the same way as pod.spec.containers[*].image.\nPull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + } + }, + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md", + "type": "object", + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n: will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "object", + "required": [ + "path", + "server" + ], + "properties": { + "path": { + "description": "path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false.", + "type": "boolean" + } + } + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.\nDeprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine.\nDeprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type\nare redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate\nis on.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem. Esoteric PEM features such as inter-block\ncomments and block headers are stripped. Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has\neffect if signerName is set. Mutually-exclusive with name. If unset,\ninterpreted as \"match nothing\". If set but empty, interpreted as \"match\neverything\".", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive\nwith signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available. If using name, then the named ClusterTrustBundle is\nallowed not to exist. If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name. The contents of all selected\nClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime.\nDeprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "group to map volume access to\nDefault is no group", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to\nDefaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "rbd": { + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.\nDeprecated: RBD is deprecated and the in-tree rbd type is no longer supported.\nMore info: https://examples.k8s.io/volumes/rbd/README.md", + "type": "object", + "required": [ + "image", + "monitors" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is the rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\nDeprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "type": "object", + "required": [ + "gateway", + "secretRef", + "system" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system\nthat is associated with this volume source.", + "type": "string" + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\nDeprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.\nDeprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type\nare redirected to the csi.vsphere.vmware.com CSI driver.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + } + } + } + } + }, + "web": { + "description": "Defines the configuration of the ThanosRuler web server.", + "type": "object", + "properties": { + "httpConfig": { + "description": "Defines HTTP parameters for web server.", + "type": "object", + "properties": { + "headers": { + "description": "List of headers that can be added to HTTP responses.", + "type": "object", + "properties": { + "contentSecurityPolicy": { + "description": "Set the Content-Security-Policy header to HTTP responses.\nUnset if blank.", + "type": "string" + }, + "strictTransportSecurity": { + "description": "Set the Strict-Transport-Security header to HTTP responses.\nUnset if blank.\nPlease make sure that you use this with care as this header might force\nbrowsers to load Prometheus and the other applications hosted on the same\ndomain and subdomains over HTTPS.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security", + "type": "string" + }, + "xContentTypeOptions": { + "description": "Set the X-Content-Type-Options header to HTTP responses.\nUnset if blank. Accepted value is nosniff.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options", + "type": "string", + "enum": [ + "", + "NoSniff" + ] + }, + "xFrameOptions": { + "description": "Set the X-Frame-Options header to HTTP responses.\nUnset if blank. Accepted values are deny and sameorigin.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options", + "type": "string", + "enum": [ + "", + "Deny", + "SameOrigin" + ] + }, + "xXSSProtection": { + "description": "Set the X-XSS-Protection header to all responses.\nUnset if blank.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection", + "type": "string" + } + } + }, + "http2": { + "description": "Enable HTTP/2 support. Note that HTTP/2 is only supported with TLS.\nWhen TLSConfig is not configured, HTTP/2 will be disabled.\nWhenever the value of the field changes, a rolling update will be triggered.", + "type": "boolean" + } + } + }, + "tlsConfig": { + "description": "Defines the TLS parameters for HTTPS.", + "type": "object", + "properties": { + "cert": { + "description": "Secret or ConfigMap containing the TLS certificate for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `certFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the TLS certificate file in the container for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `cert`.", + "type": "string" + }, + "cipherSuites": { + "description": "List of supported cipher suites for TLS versions up to TLS 1.2.\n\nIf not defined, the Go default cipher suites are used.\nAvailable cipher suites are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#pkg-constants", + "type": "array", + "items": { + "type": "string" + } + }, + "clientAuthType": { + "description": "The server policy for client TLS authentication.\n\nFor more detail on clientAuth options:\nhttps://golang.org/pkg/crypto/tls/#ClientAuthType", + "type": "string" + }, + "clientCAFile": { + "description": "Path to the CA certificate file for client certificate authentication to\nthe server.\n\nIt is mutually exclusive with `client_ca`.", + "type": "string" + }, + "client_ca": { + "description": "Secret or ConfigMap containing the CA certificate for client certificate\nauthentication to the server.\n\nIt is mutually exclusive with `clientCAFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "curvePreferences": { + "description": "Elliptic curves that will be used in an ECDHE handshake, in preference\norder.\n\nAvailable curves are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#CurveID", + "type": "array", + "items": { + "type": "string" + } + }, + "keyFile": { + "description": "Path to the TLS private key file in the container for the web server.\n\nIf defined, either `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keySecret`.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the TLS private key for the web server.\n\nEither `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keyFile`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum TLS version that is acceptable.", + "type": "string" + }, + "minVersion": { + "description": "Minimum TLS version that is acceptable.", + "type": "string" + }, + "preferServerCipherSuites": { + "description": "Controls whether the server selects the client's most preferred cipher\nsuite, or the server's most preferred cipher suite.\n\nIf true then the server's preference, as expressed in\nthe order of elements in cipherSuites, is used.", + "type": "boolean" + } + } + } + } + } + } + }, + "status": { + "description": "Most recent observed status of the ThanosRuler cluster. Read-only.\nMore info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "availableReplicas", + "paused", + "replicas", + "unavailableReplicas", + "updatedReplicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds)\ntargeted by this ThanosRuler deployment.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "The current state of the ThanosRuler object.", + "type": "array", + "items": { + "description": "Condition represents the state of the resources associated with the\nPrometheus, Alertmanager or ThanosRuler resource.", + "type": "object", + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the time of the last update to the current status property.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details for the condition's last transition.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration represents the .metadata.generation that the\ncondition was set based upon. For instance, if `.metadata.generation` is\ncurrently 12, but the `.status.conditions[].observedGeneration` is 9, the\ncondition is out of date with respect to the current state of the\ninstance.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition.", + "type": "string", + "minLength": 1 + }, + "type": { + "description": "Type of the condition being reported.", + "type": "string", + "minLength": 1 + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "paused": { + "description": "Represents whether any actions on the underlying managed objects are\nbeing performed. Only delete actions will be performed.", + "type": "boolean" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this ThanosRuler deployment\n(their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this ThanosRuler deployment.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this ThanosRuler deployment\nthat have the desired version spec.", + "type": "integer", + "format": "int32" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ThanosRuler", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1.ThanosRulerList": { + "description": "ThanosRulerList is a list of ThanosRuler", + "type": "object", + "required": [ + "items" + ], + "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": "List of thanosrulers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1.ThanosRuler" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ThanosRulerList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1alpha1.AlertmanagerConfig": { + "description": "AlertmanagerConfig configures the Prometheus Alertmanager,\nspecifying how alerts should be grouped, inhibited and notified to external systems.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "AlertmanagerConfigSpec is a specification of the desired behavior of the\nAlertmanager configuration.\nBy default, the Alertmanager configuration only applies to alerts for which\nthe `namespace` label is equal to the namespace of the AlertmanagerConfig\nresource (see the `.spec.alertmanagerConfigMatcherStrategy` field of the\nAlertmanager CRD).", + "type": "object", + "properties": { + "inhibitRules": { + "description": "List of inhibition rules. The rules will only apply to alerts matching\nthe resource's namespace.", + "type": "array", + "items": { + "description": "InhibitRule defines an inhibition rule that allows to mute alerts when other\nalerts are already firing.\nSee https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule", + "type": "object", + "properties": { + "equal": { + "description": "Labels that must have an equal value in the source and target alert for\nthe inhibition to take effect.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceMatch": { + "description": "Matchers for which one or more alerts have to exist for the inhibition\nto take effect. The operator enforces that the alert matches the\nresource's namespace.", + "type": "array", + "items": { + "description": "Matcher defines how to match on alert's labels.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "matchType": { + "description": "Match operation available with AlertManager >= v0.22.0 and\ntakes precedence over Regex (deprecated) if non-empty.", + "type": "string", + "enum": [ + "!=", + "=", + "=~", + "!~" + ] + }, + "name": { + "description": "Label to match.", + "type": "string", + "minLength": 1 + }, + "regex": { + "description": "Whether to match on equality (false) or regular-expression (true).\nDeprecated: for AlertManager >= v0.22.0, `matchType` should be used instead.", + "type": "boolean" + }, + "value": { + "description": "Label value to match.", + "type": "string" + } + } + } + }, + "targetMatch": { + "description": "Matchers that have to be fulfilled in the alerts to be muted. The\noperator enforces that the alert matches the resource's namespace.", + "type": "array", + "items": { + "description": "Matcher defines how to match on alert's labels.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "matchType": { + "description": "Match operation available with AlertManager >= v0.22.0 and\ntakes precedence over Regex (deprecated) if non-empty.", + "type": "string", + "enum": [ + "!=", + "=", + "=~", + "!~" + ] + }, + "name": { + "description": "Label to match.", + "type": "string", + "minLength": 1 + }, + "regex": { + "description": "Whether to match on equality (false) or regular-expression (true).\nDeprecated: for AlertManager >= v0.22.0, `matchType` should be used instead.", + "type": "boolean" + }, + "value": { + "description": "Label value to match.", + "type": "string" + } + } + } + } + } + } + }, + "muteTimeIntervals": { + "description": "List of MuteTimeInterval specifying when the routes should be muted.", + "type": "array", + "items": { + "description": "MuteTimeInterval specifies the periods in time when notifications will be muted", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the time interval", + "type": "string" + }, + "timeIntervals": { + "description": "TimeIntervals is a list of TimeInterval", + "type": "array", + "items": { + "description": "TimeInterval describes intervals of time", + "type": "object", + "properties": { + "daysOfMonth": { + "description": "DaysOfMonth is a list of DayOfMonthRange", + "type": "array", + "items": { + "description": "DayOfMonthRange is an inclusive range of days of the month beginning at 1", + "type": "object", + "properties": { + "end": { + "description": "End of the inclusive range", + "type": "integer", + "maximum": 31, + "minimum": -31 + }, + "start": { + "description": "Start of the inclusive range", + "type": "integer", + "maximum": 31, + "minimum": -31 + } + } + } + }, + "months": { + "description": "Months is a list of MonthRange", + "type": "array", + "items": { + "description": "MonthRange is an inclusive range of months of the year beginning in January\nMonths can be specified by name (e.g 'January') by numerical month (e.g '1') or as an inclusive range (e.g 'January:March', '1:3', '1:March')", + "type": "string", + "pattern": "^((?i)january|february|march|april|may|june|july|august|september|october|november|december|1[0-2]|[1-9])(?:((:((?i)january|february|march|april|may|june|july|august|september|october|november|december|1[0-2]|[1-9]))$)|$)" + } + }, + "times": { + "description": "Times is a list of TimeRange", + "type": "array", + "items": { + "description": "TimeRange defines a start and end time in 24hr format", + "type": "object", + "properties": { + "endTime": { + "description": "EndTime is the end time in 24hr format.", + "type": "string", + "pattern": "^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$)" + }, + "startTime": { + "description": "StartTime is the start time in 24hr format.", + "type": "string", + "pattern": "^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$)" + } + } + } + }, + "weekdays": { + "description": "Weekdays is a list of WeekdayRange", + "type": "array", + "items": { + "description": "WeekdayRange is an inclusive range of days of the week beginning on Sunday\nDays can be specified by name (e.g 'Sunday') or as an inclusive range (e.g 'Monday:Friday')", + "type": "string", + "pattern": "^((?i)sun|mon|tues|wednes|thurs|fri|satur)day(?:((:(sun|mon|tues|wednes|thurs|fri|satur)day)$)|$)" + } + }, + "years": { + "description": "Years is a list of YearRange", + "type": "array", + "items": { + "description": "YearRange is an inclusive range of years", + "type": "string", + "pattern": "^2\\d{3}(?::2\\d{3}|$)" + } + } + } + } + } + } + } + }, + "receivers": { + "description": "List of receivers.", + "type": "array", + "items": { + "description": "Receiver defines one or more notification integrations.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "discordConfigs": { + "description": "List of Discord configurations.", + "type": "array", + "items": { + "description": "DiscordConfig configures notifications via Discord.\nSee https://prometheus.io/docs/alerting/latest/configuration/#discord_config", + "type": "object", + "required": [ + "apiURL" + ], + "properties": { + "apiURL": { + "description": "The secret's key that contains the Discord webhook URL.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "avatarURL": { + "description": "The avatar url of the message sender.", + "type": "string", + "pattern": "^https?://.+$" + }, + "content": { + "description": "The template of the content's body.", + "type": "string", + "minLength": 1 + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "The template of the message's body.", + "type": "string" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "title": { + "description": "The template of the message's title.", + "type": "string" + }, + "username": { + "description": "The username of the message sender.", + "type": "string", + "minLength": 1 + } + } + } + }, + "emailConfigs": { + "description": "List of Email configurations.", + "type": "array", + "items": { + "description": "EmailConfig configures notifications via Email.", + "type": "object", + "properties": { + "authIdentity": { + "description": "The identity to use for authentication.", + "type": "string" + }, + "authPassword": { + "description": "The secret's key that contains the password to use for authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "authSecret": { + "description": "The secret's key that contains the CRAM-MD5 secret.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "authUsername": { + "description": "The username to use for authentication.", + "type": "string" + }, + "from": { + "description": "The sender address.", + "type": "string" + }, + "headers": { + "description": "Further headers email header key/value pairs. Overrides any headers\npreviously set by the notification implementation.", + "type": "array", + "items": { + "description": "KeyValue defines a (key, value) tuple.", + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "description": "Key of the tuple.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value of the tuple.", + "type": "string" + } + } + } + }, + "hello": { + "description": "The hostname to identify to the SMTP server.", + "type": "string" + }, + "html": { + "description": "The HTML body of the email notification.", + "type": "string" + }, + "requireTLS": { + "description": "The SMTP TLS requirement.\nNote that Go does not support unencrypted connections to remote SMTP endpoints.", + "type": "boolean" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "smarthost": { + "description": "The SMTP host and port through which emails are sent. E.g. example.com:25", + "type": "string" + }, + "text": { + "description": "The text body of the email notification.", + "type": "string" + }, + "tlsConfig": { + "description": "TLS configuration", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "to": { + "description": "The email address to send notifications to.", + "type": "string" + } + } + } + }, + "msteamsConfigs": { + "description": "List of MSTeams configurations.\nIt requires Alertmanager >= 0.26.0.", + "type": "array", + "items": { + "description": "MSTeamsConfig configures notifications via Microsoft Teams.\nIt requires Alertmanager >= 0.26.0.", + "type": "object", + "required": [ + "webhookUrl" + ], + "properties": { + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "sendResolved": { + "description": "Whether to notify about resolved alerts.", + "type": "boolean" + }, + "summary": { + "description": "Message summary template.\nIt requires Alertmanager >= 0.27.0.", + "type": "string" + }, + "text": { + "description": "Message body template.", + "type": "string" + }, + "title": { + "description": "Message title template.", + "type": "string" + }, + "webhookUrl": { + "description": "MSTeams webhook URL.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "msteamsv2Configs": { + "description": "List of MSTeamsV2 configurations.\nIt requires Alertmanager >= 0.28.0.", + "type": "array", + "items": { + "description": "MSTeamsV2Config configures notifications via Microsoft Teams using the new message format with adaptive cards as required by flows\nSee https://prometheus.io/docs/alerting/latest/configuration/#msteamsv2_config\nIt requires Alertmanager >= 0.28.0.", + "type": "object", + "properties": { + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "sendResolved": { + "description": "Whether to notify about resolved alerts.", + "type": "boolean" + }, + "text": { + "description": "Message body template.", + "type": "string", + "minLength": 1 + }, + "title": { + "description": "Message title template.", + "type": "string", + "minLength": 1 + }, + "webhookURL": { + "description": "MSTeams incoming webhook URL.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "name": { + "description": "Name of the receiver. Must be unique across all items from the list.", + "type": "string", + "minLength": 1 + }, + "opsgenieConfigs": { + "description": "List of OpsGenie configurations.", + "type": "array", + "items": { + "description": "OpsGenieConfig configures notifications via OpsGenie.\nSee https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config", + "type": "object", + "properties": { + "actions": { + "description": "Comma separated list of actions that will be available for the alert.", + "type": "string" + }, + "apiKey": { + "description": "The secret's key that contains the OpsGenie API key.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "apiURL": { + "description": "The URL to send OpsGenie API requests to.", + "type": "string" + }, + "description": { + "description": "Description of the incident.", + "type": "string" + }, + "details": { + "description": "A set of arbitrary key/value pairs that provide further detail about the incident.", + "type": "array", + "items": { + "description": "KeyValue defines a (key, value) tuple.", + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "description": "Key of the tuple.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value of the tuple.", + "type": "string" + } + } + } + }, + "entity": { + "description": "Optional field that can be used to specify which domain alert is related to.", + "type": "string" + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "Alert text limited to 130 characters.", + "type": "string" + }, + "note": { + "description": "Additional alert note.", + "type": "string" + }, + "priority": { + "description": "Priority level of alert. Possible values are P1, P2, P3, P4, and P5.", + "type": "string" + }, + "responders": { + "description": "List of responders responsible for notifications.", + "type": "array", + "items": { + "description": "OpsGenieConfigResponder defines a responder to an incident.\nOne of `id`, `name` or `username` has to be defined.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "id": { + "description": "ID of the responder.", + "type": "string" + }, + "name": { + "description": "Name of the responder.", + "type": "string" + }, + "type": { + "description": "Type of responder.", + "type": "string", + "minLength": 1 + }, + "username": { + "description": "Username of the responder.", + "type": "string" + } + } + } + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "source": { + "description": "Backlink to the sender of the notification.", + "type": "string" + }, + "tags": { + "description": "Comma separated list of tags attached to the notifications.", + "type": "string" + }, + "updateAlerts": { + "description": "Whether to update message and description of the alert in OpsGenie if it already exists\nBy default, the alert is never updated in OpsGenie, the new message only appears in activity log.", + "type": "boolean" + } + } + } + }, + "pagerdutyConfigs": { + "description": "List of PagerDuty configurations.", + "type": "array", + "items": { + "description": "PagerDutyConfig configures notifications via PagerDuty.\nSee https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config", + "type": "object", + "properties": { + "class": { + "description": "The class/type of the event.", + "type": "string" + }, + "client": { + "description": "Client identification.", + "type": "string" + }, + "clientURL": { + "description": "Backlink to the sender of notification.", + "type": "string" + }, + "component": { + "description": "The part or component of the affected system that is broken.", + "type": "string" + }, + "description": { + "description": "Description of the incident.", + "type": "string" + }, + "details": { + "description": "Arbitrary key/value pairs that provide further detail about the incident.", + "type": "array", + "items": { + "description": "KeyValue defines a (key, value) tuple.", + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "description": "Key of the tuple.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value of the tuple.", + "type": "string" + } + } + } + }, + "group": { + "description": "A cluster or grouping of sources.", + "type": "string" + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "pagerDutyImageConfigs": { + "description": "A list of image details to attach that provide further detail about an incident.", + "type": "array", + "items": { + "description": "PagerDutyImageConfig attaches images to an incident", + "type": "object", + "properties": { + "alt": { + "description": "Alt is the optional alternative text for the image.", + "type": "string" + }, + "href": { + "description": "Optional URL; makes the image a clickable link.", + "type": "string" + }, + "src": { + "description": "Src of the image being attached to the incident", + "type": "string" + } + } + } + }, + "pagerDutyLinkConfigs": { + "description": "A list of link details to attach that provide further detail about an incident.", + "type": "array", + "items": { + "description": "PagerDutyLinkConfig attaches text links to an incident", + "type": "object", + "properties": { + "alt": { + "description": "Text that describes the purpose of the link, and can be used as the link's text.", + "type": "string" + }, + "href": { + "description": "Href is the URL of the link to be attached", + "type": "string" + } + } + } + }, + "routingKey": { + "description": "The secret's key that contains the PagerDuty integration key (when using\nEvents API v2). Either this field or `serviceKey` needs to be defined.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "serviceKey": { + "description": "The secret's key that contains the PagerDuty service key (when using\nintegration type \"Prometheus\"). Either this field or `routingKey` needs to\nbe defined.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "severity": { + "description": "Severity of the incident.", + "type": "string" + }, + "source": { + "description": "Unique location of the affected system.", + "type": "string" + }, + "url": { + "description": "The URL to send requests to.", + "type": "string" + } + } + } + }, + "pushoverConfigs": { + "description": "List of Pushover configurations.", + "type": "array", + "items": { + "description": "PushoverConfig configures notifications via Pushover.\nSee https://prometheus.io/docs/alerting/latest/configuration/#pushover_config", + "type": "object", + "properties": { + "device": { + "description": "The name of a device to send the notification to", + "type": "string" + }, + "expire": { + "description": "How long your notification will continue to be retried for, unless the user\nacknowledges the notification.", + "type": "string", + "pattern": "^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$" + }, + "html": { + "description": "Whether notification message is HTML or plain text.", + "type": "boolean" + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "Notification message.", + "type": "string" + }, + "priority": { + "description": "Priority, see https://pushover.net/api#priority", + "type": "string" + }, + "retry": { + "description": "How often the Pushover servers will send the same notification to the user.\nMust be at least 30 seconds.", + "type": "string", + "pattern": "^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "sound": { + "description": "The name of one of the sounds supported by device clients to override the user's default sound choice", + "type": "string" + }, + "title": { + "description": "Notification title.", + "type": "string" + }, + "token": { + "description": "The secret's key that contains the registered application's API token, see https://pushover.net/apps.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.\nEither `token` or `tokenFile` is required.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tokenFile": { + "description": "The token file that contains the registered application's API token, see https://pushover.net/apps.\nEither `token` or `tokenFile` is required.\nIt requires Alertmanager >= v0.26.0.", + "type": "string" + }, + "ttl": { + "description": "The time to live definition for the alert notification", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "url": { + "description": "A supplementary URL shown alongside the message.", + "type": "string" + }, + "urlTitle": { + "description": "A title for supplementary URL, otherwise just the URL is shown", + "type": "string" + }, + "userKey": { + "description": "The secret's key that contains the recipient user's user key.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.\nEither `userKey` or `userKeyFile` is required.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "userKeyFile": { + "description": "The user key file that contains the recipient user's user key.\nEither `userKey` or `userKeyFile` is required.\nIt requires Alertmanager >= v0.26.0.", + "type": "string" + } + } + } + }, + "rocketchatConfigs": { + "description": "List of RocketChat configurations.\nIt requires Alertmanager >= 0.28.0.", + "type": "array", + "items": { + "description": "RocketChatConfig configures notifications via RocketChat.\nIt requires Alertmanager >= 0.28.0.", + "type": "object", + "required": [ + "token", + "tokenID" + ], + "properties": { + "actions": { + "description": "Actions to include in the message.", + "type": "array", + "minItems": 1, + "items": { + "description": "RocketChatActionConfig defines actions for RocketChat messages.", + "type": "object", + "properties": { + "msg": { + "description": "The message to send when the button is clicked.", + "type": "string", + "minLength": 1 + }, + "text": { + "description": "The button text.", + "type": "string", + "minLength": 1 + }, + "url": { + "description": "The URL the button links to.", + "type": "string", + "pattern": "^https?://.+$" + } + } + } + }, + "apiURL": { + "description": "The API URL for RocketChat.\nDefaults to https://open.rocket.chat/ if not specified.", + "type": "string", + "pattern": "^https?://.+$" + }, + "channel": { + "description": "The channel to send alerts to.", + "type": "string", + "minLength": 1 + }, + "color": { + "description": "The message color.", + "type": "string", + "minLength": 1 + }, + "emoji": { + "description": "If provided, the avatar will be displayed as an emoji.", + "type": "string", + "minLength": 1 + }, + "fields": { + "description": "Additional fields for the message.", + "type": "array", + "minItems": 1, + "items": { + "description": "RocketChatFieldConfig defines additional fields for RocketChat messages.", + "type": "object", + "properties": { + "short": { + "description": "Whether this field should be a short field.", + "type": "boolean" + }, + "title": { + "description": "The title of this field.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "The value of this field, displayed underneath the title value.", + "type": "string", + "minLength": 1 + } + } + } + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "iconURL": { + "description": "Icon URL for the message.", + "type": "string", + "pattern": "^https?://.+$" + }, + "imageURL": { + "description": "Image URL for the message.", + "type": "string", + "pattern": "^https?://.+$" + }, + "linkNames": { + "description": "Whether to enable link names.", + "type": "boolean" + }, + "sendResolved": { + "description": "Whether to notify about resolved alerts.", + "type": "boolean" + }, + "shortFields": { + "description": "Whether to use short fields.", + "type": "boolean" + }, + "text": { + "description": "The message text to send, it is optional because of attachments.", + "type": "string", + "minLength": 1 + }, + "thumbURL": { + "description": "Thumbnail URL for the message.", + "type": "string", + "pattern": "^https?://.+$" + }, + "title": { + "description": "The message title.", + "type": "string", + "minLength": 1 + }, + "titleLink": { + "description": "The title link for the message.", + "type": "string", + "minLength": 1 + }, + "token": { + "description": "The sender token.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tokenID": { + "description": "The sender token ID.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "slackConfigs": { + "description": "List of Slack configurations.", + "type": "array", + "items": { + "description": "SlackConfig configures notifications via Slack.\nSee https://prometheus.io/docs/alerting/latest/configuration/#slack_config", + "type": "object", + "properties": { + "actions": { + "description": "A list of Slack actions that are sent with each notification.", + "type": "array", + "items": { + "description": "SlackAction configures a single Slack action that is sent with each\nnotification.\nSee https://api.slack.com/docs/message-attachments#action_fields and\nhttps://api.slack.com/docs/message-buttons for more information.", + "type": "object", + "required": [ + "text", + "type" + ], + "properties": { + "confirm": { + "description": "SlackConfirmationField protect users from destructive actions or\nparticularly distinguished decisions by asking them to confirm their button\nclick one more time.\nSee https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields\nfor more information.", + "type": "object", + "required": [ + "text" + ], + "properties": { + "dismissText": { + "type": "string" + }, + "okText": { + "type": "string" + }, + "text": { + "type": "string", + "minLength": 1 + }, + "title": { + "type": "string" + } + } + }, + "name": { + "type": "string" + }, + "style": { + "type": "string" + }, + "text": { + "type": "string", + "minLength": 1 + }, + "type": { + "type": "string", + "minLength": 1 + }, + "url": { + "type": "string" + }, + "value": { + "type": "string" + } + } + } + }, + "apiURL": { + "description": "The secret's key that contains the Slack webhook URL.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "callbackId": { + "type": "string" + }, + "channel": { + "description": "The channel or user to send notifications to.", + "type": "string" + }, + "color": { + "type": "string" + }, + "fallback": { + "type": "string" + }, + "fields": { + "description": "A list of Slack fields that are sent with each notification.", + "type": "array", + "items": { + "description": "SlackField configures a single Slack field that is sent with each notification.\nEach field must contain a title, value, and optionally, a boolean value to indicate if the field\nis short enough to be displayed next to other fields designated as short.\nSee https://api.slack.com/docs/message-attachments#fields for more information.", + "type": "object", + "required": [ + "title", + "value" + ], + "properties": { + "short": { + "type": "boolean" + }, + "title": { + "type": "string", + "minLength": 1 + }, + "value": { + "type": "string", + "minLength": 1 + } + } + } + }, + "footer": { + "type": "string" + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "iconEmoji": { + "type": "string" + }, + "iconURL": { + "type": "string" + }, + "imageURL": { + "type": "string" + }, + "linkNames": { + "type": "boolean" + }, + "mrkdwnIn": { + "type": "array", + "items": { + "type": "string" + } + }, + "pretext": { + "type": "string" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "shortFields": { + "type": "boolean" + }, + "text": { + "type": "string" + }, + "thumbURL": { + "type": "string" + }, + "title": { + "type": "string" + }, + "titleLink": { + "type": "string" + }, + "username": { + "type": "string" + } + } + } + }, + "snsConfigs": { + "description": "List of SNS configurations", + "type": "array", + "items": { + "description": "SNSConfig configures notifications via AWS SNS.\nSee https://prometheus.io/docs/alerting/latest/configuration/#sns_configs", + "type": "object", + "properties": { + "apiURL": { + "description": "The SNS API URL i.e. https://sns.us-east-2.amazonaws.com.\nIf not specified, the SNS API URL from the SNS SDK will be used.", + "type": "string" + }, + "attributes": { + "description": "SNS message attributes.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "The message content of the SNS notification.", + "type": "string" + }, + "phoneNumber": { + "description": "Phone number if message is delivered via SMS in E.164 format.\nIf you don't specify this value, you must specify a value for the TopicARN or TargetARN.", + "type": "string" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "sigv4": { + "description": "Configures AWS's Signature Verification 4 signing process to sign requests.", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key. If not specified, the environment variable\n`AWS_ACCESS_KEY_ID` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "profile": { + "description": "Profile is the named AWS profile used to authenticate.", + "type": "string" + }, + "region": { + "description": "Region is the AWS region. If blank, the region from the default credentials chain used.", + "type": "string" + }, + "roleArn": { + "description": "RoleArn is the named AWS profile used to authenticate.", + "type": "string" + }, + "secretKey": { + "description": "SecretKey is the AWS API secret. If not specified, the environment\nvariable `AWS_SECRET_ACCESS_KEY` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "subject": { + "description": "Subject line when the message is delivered to email endpoints.", + "type": "string" + }, + "targetARN": { + "description": "The mobile platform endpoint ARN if message is delivered via mobile notifications.\nIf you don't specify this value, you must specify a value for the topic_arn or PhoneNumber.", + "type": "string" + }, + "topicARN": { + "description": "SNS topic ARN, i.e. arn:aws:sns:us-east-2:698519295917:My-Topic\nIf you don't specify this value, you must specify a value for the PhoneNumber or TargetARN.", + "type": "string" + } + } + } + }, + "telegramConfigs": { + "description": "List of Telegram configurations.", + "type": "array", + "items": { + "description": "TelegramConfig configures notifications via Telegram.\nSee https://prometheus.io/docs/alerting/latest/configuration/#telegram_config", + "type": "object", + "required": [ + "chatID" + ], + "properties": { + "apiURL": { + "description": "The Telegram API URL i.e. https://api.telegram.org.\nIf not specified, default API URL will be used.", + "type": "string" + }, + "botToken": { + "description": "Telegram bot token. It is mutually exclusive with `botTokenFile`.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.\n\nEither `botToken` or `botTokenFile` is required.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "botTokenFile": { + "description": "File to read the Telegram bot token from. It is mutually exclusive with `botToken`.\nEither `botToken` or `botTokenFile` is required.\n\nIt requires Alertmanager >= v0.26.0.", + "type": "string" + }, + "chatID": { + "description": "The Telegram chat ID.", + "type": "integer", + "format": "int64" + }, + "disableNotifications": { + "description": "Disable telegram notifications", + "type": "boolean" + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "Message template", + "type": "string" + }, + "messageThreadID": { + "description": "The Telegram Group Topic ID.\nIt requires Alertmanager >= 0.26.0.", + "type": "integer", + "format": "int64" + }, + "parseMode": { + "description": "Parse mode for telegram message", + "type": "string", + "enum": [ + "MarkdownV2", + "Markdown", + "HTML" + ] + }, + "sendResolved": { + "description": "Whether to notify about resolved alerts.", + "type": "boolean" + } + } + } + }, + "victoropsConfigs": { + "description": "List of VictorOps configurations.", + "type": "array", + "items": { + "description": "VictorOpsConfig configures notifications via VictorOps.\nSee https://prometheus.io/docs/alerting/latest/configuration/#victorops_config", + "type": "object", + "properties": { + "apiKey": { + "description": "The secret's key that contains the API key to use when talking to the VictorOps API.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "apiUrl": { + "description": "The VictorOps API URL.", + "type": "string" + }, + "customFields": { + "description": "Additional custom fields for notification.", + "type": "array", + "items": { + "description": "KeyValue defines a (key, value) tuple.", + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "description": "Key of the tuple.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value of the tuple.", + "type": "string" + } + } + } + }, + "entityDisplayName": { + "description": "Contains summary of the alerted problem.", + "type": "string" + }, + "httpConfig": { + "description": "The HTTP client's configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "messageType": { + "description": "Describes the behavior of the alert (CRITICAL, WARNING, INFO).", + "type": "string" + }, + "monitoringTool": { + "description": "The monitoring tool the state message is from.", + "type": "string" + }, + "routingKey": { + "description": "A key used to map the alert to a team.", + "type": "string" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "stateMessage": { + "description": "Contains long explanation of the alerted problem.", + "type": "string" + } + } + } + }, + "webexConfigs": { + "description": "List of Webex configurations.", + "type": "array", + "items": { + "description": "WebexConfig configures notification via Cisco Webex\nSee https://prometheus.io/docs/alerting/latest/configuration/#webex_config", + "type": "object", + "required": [ + "roomID" + ], + "properties": { + "apiURL": { + "description": "The Webex Teams API URL i.e. https://webexapis.com/v1/messages\nProvide if different from the default API URL.", + "type": "string", + "pattern": "^https?://.+$" + }, + "httpConfig": { + "description": "The HTTP client's configuration.\nYou must supply the bot token via the `httpConfig.authorization` field.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "Message template", + "type": "string" + }, + "roomID": { + "description": "ID of the Webex Teams room where to send the messages.", + "type": "string", + "minLength": 1 + }, + "sendResolved": { + "description": "Whether to notify about resolved alerts.", + "type": "boolean" + } + } + } + }, + "webhookConfigs": { + "description": "List of webhook configurations.", + "type": "array", + "items": { + "description": "WebhookConfig configures notifications via a generic receiver supporting the webhook payload.\nSee https://prometheus.io/docs/alerting/latest/configuration/#webhook_config", + "type": "object", + "properties": { + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "maxAlerts": { + "description": "Maximum number of alerts to be sent per webhook message. When 0, all alerts are included.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "timeout": { + "description": "The maximum time to wait for a webhook request to complete, before failing the\nrequest and allowing it to be retried.\nIt requires Alertmanager >= v0.28.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "url": { + "description": "The URL to send HTTP POST requests to. `urlSecret` takes precedence over\n`url`. One of `urlSecret` and `url` should be defined.", + "type": "string" + }, + "urlSecret": { + "description": "The secret's key that contains the webhook URL to send HTTP requests to.\n`urlSecret` takes precedence over `url`. One of `urlSecret` and `url`\nshould be defined.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "wechatConfigs": { + "description": "List of WeChat configurations.", + "type": "array", + "items": { + "description": "WeChatConfig configures notifications via WeChat.\nSee https://prometheus.io/docs/alerting/latest/configuration/#wechat_config", + "type": "object", + "properties": { + "agentID": { + "type": "string" + }, + "apiSecret": { + "description": "The secret's key that contains the WeChat API key.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "apiURL": { + "description": "The WeChat API URL.", + "type": "string" + }, + "corpID": { + "description": "The corp id for authentication.", + "type": "string" + }, + "httpConfig": { + "description": "HTTP client configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerTokenSecret": { + "description": "The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "followRedirects": { + "description": "FollowRedirects specifies whether the client should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 client credentials used to fetch a token for the targets.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyURL": { + "description": "Optional proxy URL.\n\nIf defined, this field takes precedence over `proxyUrl`.", + "type": "string" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS configuration for the client.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "message": { + "description": "API request data as defined by the WeChat API.", + "type": "string" + }, + "messageType": { + "type": "string" + }, + "sendResolved": { + "description": "Whether or not to notify about resolved alerts.", + "type": "boolean" + }, + "toParty": { + "type": "string" + }, + "toTag": { + "type": "string" + }, + "toUser": { + "type": "string" + } + } + } + } + } + } + }, + "route": { + "description": "The Alertmanager route definition for alerts matching the resource's\nnamespace. If present, it will be added to the generated Alertmanager\nconfiguration as a first-level route.", + "type": "object", + "properties": { + "activeTimeIntervals": { + "description": "ActiveTimeIntervals is a list of MuteTimeInterval names when this route should be active.", + "type": "array", + "items": { + "type": "string" + } + }, + "continue": { + "description": "Boolean indicating whether an alert should continue matching subsequent\nsibling nodes. It will always be overridden to true for the first-level\nroute by the Prometheus operator.", + "type": "boolean" + }, + "groupBy": { + "description": "List of labels to group by.\nLabels must not be repeated (unique list).\nSpecial label \"...\" (aggregate by all possible labels), if provided, must be the only element in the list.", + "type": "array", + "items": { + "type": "string" + } + }, + "groupInterval": { + "description": "How long to wait before sending an updated notification.\nMust match the regular expression`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$`\nExample: \"5m\"", + "type": "string" + }, + "groupWait": { + "description": "How long to wait before sending the initial notification.\nMust match the regular expression`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$`\nExample: \"30s\"", + "type": "string" + }, + "matchers": { + "description": "List of matchers that the alert's labels should match. For the first\nlevel route, the operator removes any existing equality and regexp\nmatcher on the `namespace` label and adds a `namespace: ` matcher.", + "type": "array", + "items": { + "description": "Matcher defines how to match on alert's labels.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "matchType": { + "description": "Match operation available with AlertManager >= v0.22.0 and\ntakes precedence over Regex (deprecated) if non-empty.", + "type": "string", + "enum": [ + "!=", + "=", + "=~", + "!~" + ] + }, + "name": { + "description": "Label to match.", + "type": "string", + "minLength": 1 + }, + "regex": { + "description": "Whether to match on equality (false) or regular-expression (true).\nDeprecated: for AlertManager >= v0.22.0, `matchType` should be used instead.", + "type": "boolean" + }, + "value": { + "description": "Label value to match.", + "type": "string" + } + } + } + }, + "muteTimeIntervals": { + "description": "Note: this comment applies to the field definition above but appears\nbelow otherwise it gets included in the generated manifest.\nCRD schema doesn't support self-referential types for now (see\nhttps://github.com/kubernetes/kubernetes/issues/62872). We have to use\nan alternative type to circumvent the limitation. The downside is that\nthe Kube API can't validate the data beyond the fact that it is a valid\nJSON representation.\nMuteTimeIntervals is a list of MuteTimeInterval names that will mute this route when matched,", + "type": "array", + "items": { + "type": "string" + } + }, + "receiver": { + "description": "Name of the receiver for this route. If not empty, it should be listed in\nthe `receivers` field.", + "type": "string" + }, + "repeatInterval": { + "description": "How long to wait before repeating the last notification.\nMust match the regular expression`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$`\nExample: \"4h\"", + "type": "string" + }, + "routes": { + "description": "Child routes.", + "type": "array", + "items": { + "x-kubernetes-preserve-unknown-fields": true + } + } + } + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfig", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1alpha1.AlertmanagerConfigList": { + "description": "AlertmanagerConfigList is a list of AlertmanagerConfig", + "type": "object", + "required": [ + "items" + ], + "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": "List of alertmanagerconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.AlertmanagerConfig" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "AlertmanagerConfigList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1alpha1.PrometheusAgent": { + "description": "The `PrometheusAgent` custom resource definition (CRD) defines a desired [Prometheus Agent](https://prometheus.io/blog/2021/11/16/agent/) setup to run in a Kubernetes cluster.\n\nThe CRD is very similar to the `Prometheus` CRD except for features which aren't available in agent mode like rule evaluation, persistent storage and Thanos sidecar.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Prometheus agent. More info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "additionalArgs": { + "description": "AdditionalArgs allows setting additional arguments for the 'prometheus' container.\n\nIt is intended for e.g. activating hidden flags which are not supported by\nthe dedicated configuration options yet. The arguments are passed as-is to the\nPrometheus container which may cause issues if they are invalid or not supported\nby the given Prometheus version.\n\nIn case of an argument conflict (e.g. an argument which is already set by the\noperator itself) or when providing an invalid argument, the reconciliation will\nfail and an error will be logged.", + "type": "array", + "items": { + "description": "Argument as part of the AdditionalArgs list.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the argument, e.g. \"scrape.discovery-reload-interval\".", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Argument value, e.g. 30s. Can be empty for name-only arguments (e.g. --storage.tsdb.no-lockfile)", + "type": "string" + } + } + } + }, + "additionalScrapeConfigs": { + "description": "AdditionalScrapeConfigs allows specifying a key of a Secret containing\nadditional Prometheus scrape configurations. Scrape configurations\nspecified are appended to the configurations generated by the Prometheus\nOperator. Job configurations specified must have the form as specified\nin the official Prometheus documentation:\nhttps://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config.\nAs scrape configs are appended, the user is responsible to make sure it\nis valid. Note that using this feature may expose the possibility to\nbreak upgrades of Prometheus. It is advised to review Prometheus release\nnotes to ensure that no incompatible scrape configs are going to break\nPrometheus after the upgrade.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "affinity": { + "description": "Defines the Pods' affinity scheduling rules if specified.", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "apiserverConfig": { + "description": "APIServerConfig allows specifying a host and auth methods to access the\nKuberntees API server.\nIf null, Prometheus is assumed to run inside of the cluster: it will\ndiscover the API servers automatically and use the Pod's CA certificate\nand bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.", + "type": "object", + "required": [ + "host" + ], + "properties": { + "authorization": { + "description": "Authorization section for the API server.\n\nCannot be set at the same time as `basicAuth`, `bearerToken`, or\n`bearerTokenFile`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for the API server.\n\nCannot be set at the same time as `authorization`, `bearerToken`, or\n`bearerTokenFile`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerToken": { + "description": "*Warning: this field shouldn't be used because the token value appears\nin clear-text. Prefer using `authorization`.*\n\nDeprecated: this will be removed in a future release.", + "type": "string" + }, + "bearerTokenFile": { + "description": "File to read bearer token for accessing apiserver.\n\nCannot be set at the same time as `basicAuth`, `authorization`, or `bearerToken`.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "host": { + "description": "Kubernetes API address consisting of a hostname or IP address followed\nby an optional port number.", + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "tlsConfig": { + "description": "TLS Config to use for the API server.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "arbitraryFSAccessThroughSMs": { + "description": "When true, ServiceMonitor, PodMonitor and Probe object are forbidden to\nreference arbitrary files on the file system of the 'prometheus'\ncontainer.\nWhen a ServiceMonitor's endpoint specifies a `bearerTokenFile` value\n(e.g. '/var/run/secrets/kubernetes.io/serviceaccount/token'), a\nmalicious target can get access to the Prometheus service account's\ntoken in the Prometheus' scrape request. Setting\n`spec.arbitraryFSAccessThroughSM` to 'true' would prevent the attack.\nUsers should instead provide the credentials using the\n`spec.bearerTokenSecret` field.", + "type": "object", + "properties": { + "deny": { + "type": "boolean" + } + } + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in the pod.\nIf the field isn't set, the operator mounts the service account token by default.\n\n**Warning:** be aware that by default, Prometheus requires the service account token for Kubernetes service discovery.\nIt is possible to use strategic merge patch to project the service account token into the 'prometheus' container.", + "type": "boolean" + }, + "bodySizeLimit": { + "description": "BodySizeLimit defines per-scrape on response body size.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedBodySizeLimit.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "configMaps": { + "description": "ConfigMaps is a list of ConfigMaps in the same namespace as the Prometheus\nobject, which shall be mounted into the Prometheus Pods.\nEach ConfigMap is added to the StatefulSet definition as a volume named `configmap-`.\nThe ConfigMaps are mounted into /etc/prometheus/configmaps/ in the 'prometheus' container.", + "type": "array", + "items": { + "type": "string" + } + }, + "containers": { + "description": "Containers allows injecting additional containers or modifying operator\ngenerated containers. This can be used to allow adding an authentication\nproxy to the Pods or to change the behavior of an operator generated\ncontainer. Containers described here modify an operator generated\ncontainer if they share the same name and modifications are done via a\nstrategic merge patch.\n\nThe names of containers managed by the operator are:\n* `prometheus`\n* `config-reloader`\n* `thanos-sidecar`\n\nOverriding containers is entirely outside the scope of what the\nmaintainers will support and by doing so, you accept that this behaviour\nmay break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "convertClassicHistogramsToNHCB": { + "description": "Whether to convert all scraped classic histograms into a native\nhistogram with custom buckets.\n\nIt requires Prometheus >= v3.4.0.", + "type": "boolean" + }, + "dnsConfig": { + "description": "Defines the DNS configuration for the pods.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "options": { + "description": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nResolution options given in Options\nwill override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is required and must be unique.", + "type": "string", + "minLength": 1 + }, + "value": { + "description": "Value is optional.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "dnsPolicy": { + "description": "Defines the DNS policy for the pods.", + "type": "string", + "enum": [ + "ClusterFirstWithHostNet", + "ClusterFirst", + "Default", + "None" + ] + }, + "enableFeatures": { + "description": "Enable access to Prometheus feature flags. By default, no features are enabled.\n\nEnabling features which are disabled by default is entirely outside the\nscope of what the maintainers will support and by doing so, you accept\nthat this behaviour may break at any time without notice.\n\nFor more information see https://prometheus.io/docs/prometheus/latest/feature_flags/", + "type": "array", + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "enableOTLPReceiver": { + "description": "Enable Prometheus to be used as a receiver for the OTLP Metrics protocol.\n\nNote that the OTLP receiver endpoint is automatically enabled if `.spec.otlpConfig` is defined.\n\nIt requires Prometheus >= v2.47.0.", + "type": "boolean" + }, + "enableRemoteWriteReceiver": { + "description": "Enable Prometheus to be used as a receiver for the Prometheus remote\nwrite protocol.\n\nWARNING: This is not considered an efficient way of ingesting samples.\nUse it with caution for specific low-volume use cases.\nIt is not suitable for replacing the ingestion via scraping and turning\nPrometheus into a push-based metrics collection system.\nFor more information see https://prometheus.io/docs/prometheus/latest/querying/api/#remote-write-receiver\n\nIt requires Prometheus >= v2.33.0.", + "type": "boolean" + }, + "enableServiceLinks": { + "description": "Indicates whether information about services should be injected into pod's environment variables", + "type": "boolean" + }, + "enforcedBodySizeLimit": { + "description": "When defined, enforcedBodySizeLimit specifies a global limit on the size\nof uncompressed response body that will be accepted by Prometheus.\nTargets responding with a body larger than this many bytes will cause\nthe scrape to fail.\n\nIt requires Prometheus >= v2.28.0.\n\nWhen both `enforcedBodySizeLimit` and `bodySizeLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined bodySizeLimit value will inherit the global bodySizeLimit value (Prometheus >= 2.45.0) or the enforcedBodySizeLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedBodySizeLimit` is greater than the `bodySizeLimit`, the `bodySizeLimit` will be set to `enforcedBodySizeLimit`.\n* Scrape objects with a bodySizeLimit value less than or equal to enforcedBodySizeLimit keep their specific value.\n* Scrape objects with a bodySizeLimit value greater than enforcedBodySizeLimit are set to enforcedBodySizeLimit.", + "type": "string", + "pattern": "(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$" + }, + "enforcedKeepDroppedTargets": { + "description": "When defined, enforcedKeepDroppedTargets specifies a global limit on the number of targets\ndropped by relabeling that will be kept in memory. The value overrides\nany `spec.keepDroppedTargets` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.keepDroppedTargets` is\ngreater than zero and less than `spec.enforcedKeepDroppedTargets`.\n\nIt requires Prometheus >= v2.47.0.\n\nWhen both `enforcedKeepDroppedTargets` and `keepDroppedTargets` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined keepDroppedTargets value will inherit the global keepDroppedTargets value (Prometheus >= 2.45.0) or the enforcedKeepDroppedTargets value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedKeepDroppedTargets` is greater than the `keepDroppedTargets`, the `keepDroppedTargets` will be set to `enforcedKeepDroppedTargets`.\n* Scrape objects with a keepDroppedTargets value less than or equal to enforcedKeepDroppedTargets keep their specific value.\n* Scrape objects with a keepDroppedTargets value greater than enforcedKeepDroppedTargets are set to enforcedKeepDroppedTargets.", + "type": "integer", + "format": "int64" + }, + "enforcedLabelLimit": { + "description": "When defined, enforcedLabelLimit specifies a global limit on the number\nof labels per sample. The value overrides any `spec.labelLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.labelLimit` is\ngreater than zero and less than `spec.enforcedLabelLimit`.\n\nIt requires Prometheus >= v2.27.0.\n\nWhen both `enforcedLabelLimit` and `labelLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined labelLimit value will inherit the global labelLimit value (Prometheus >= 2.45.0) or the enforcedLabelLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedLabelLimit` is greater than the `labelLimit`, the `labelLimit` will be set to `enforcedLabelLimit`.\n* Scrape objects with a labelLimit value less than or equal to enforcedLabelLimit keep their specific value.\n* Scrape objects with a labelLimit value greater than enforcedLabelLimit are set to enforcedLabelLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedLabelNameLengthLimit": { + "description": "When defined, enforcedLabelNameLengthLimit specifies a global limit on the length\nof labels name per sample. The value overrides any `spec.labelNameLengthLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.labelNameLengthLimit` is\ngreater than zero and less than `spec.enforcedLabelNameLengthLimit`.\n\nIt requires Prometheus >= v2.27.0.\n\nWhen both `enforcedLabelNameLengthLimit` and `labelNameLengthLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined labelNameLengthLimit value will inherit the global labelNameLengthLimit value (Prometheus >= 2.45.0) or the enforcedLabelNameLengthLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedLabelNameLengthLimit` is greater than the `labelNameLengthLimit`, the `labelNameLengthLimit` will be set to `enforcedLabelNameLengthLimit`.\n* Scrape objects with a labelNameLengthLimit value less than or equal to enforcedLabelNameLengthLimit keep their specific value.\n* Scrape objects with a labelNameLengthLimit value greater than enforcedLabelNameLengthLimit are set to enforcedLabelNameLengthLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedLabelValueLengthLimit": { + "description": "When not null, enforcedLabelValueLengthLimit defines a global limit on the length\nof labels value per sample. The value overrides any `spec.labelValueLengthLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.labelValueLengthLimit` is\ngreater than zero and less than `spec.enforcedLabelValueLengthLimit`.\n\nIt requires Prometheus >= v2.27.0.\n\nWhen both `enforcedLabelValueLengthLimit` and `labelValueLengthLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined labelValueLengthLimit value will inherit the global labelValueLengthLimit value (Prometheus >= 2.45.0) or the enforcedLabelValueLengthLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedLabelValueLengthLimit` is greater than the `labelValueLengthLimit`, the `labelValueLengthLimit` will be set to `enforcedLabelValueLengthLimit`.\n* Scrape objects with a labelValueLengthLimit value less than or equal to enforcedLabelValueLengthLimit keep their specific value.\n* Scrape objects with a labelValueLengthLimit value greater than enforcedLabelValueLengthLimit are set to enforcedLabelValueLengthLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedNamespaceLabel": { + "description": "When not empty, a label will be added to:\n\n1. All metrics scraped from `ServiceMonitor`, `PodMonitor`, `Probe` and `ScrapeConfig` objects.\n2. All metrics generated from recording rules defined in `PrometheusRule` objects.\n3. All alerts generated from alerting rules defined in `PrometheusRule` objects.\n4. All vector selectors of PromQL expressions defined in `PrometheusRule` objects.\n\nThe label will not added for objects referenced in `spec.excludedFromEnforcement`.\n\nThe label's name is this field's value.\nThe label's value is the namespace of the `ServiceMonitor`,\n`PodMonitor`, `Probe`, `PrometheusRule` or `ScrapeConfig` object.", + "type": "string" + }, + "enforcedSampleLimit": { + "description": "When defined, enforcedSampleLimit specifies a global limit on the number\nof scraped samples that will be accepted. This overrides any\n`spec.sampleLimit` set by ServiceMonitor, PodMonitor, Probe objects\nunless `spec.sampleLimit` is greater than zero and less than\n`spec.enforcedSampleLimit`.\n\nIt is meant to be used by admins to keep the overall number of\nsamples/series under a desired limit.\n\nWhen both `enforcedSampleLimit` and `sampleLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined sampleLimit value will inherit the global sampleLimit value (Prometheus >= 2.45.0) or the enforcedSampleLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedSampleLimit` is greater than the `sampleLimit`, the `sampleLimit` will be set to `enforcedSampleLimit`.\n* Scrape objects with a sampleLimit value less than or equal to enforcedSampleLimit keep their specific value.\n* Scrape objects with a sampleLimit value greater than enforcedSampleLimit are set to enforcedSampleLimit.", + "type": "integer", + "format": "int64" + }, + "enforcedTargetLimit": { + "description": "When defined, enforcedTargetLimit specifies a global limit on the number\nof scraped targets. The value overrides any `spec.targetLimit` set by\nServiceMonitor, PodMonitor, Probe objects unless `spec.targetLimit` is\ngreater than zero and less than `spec.enforcedTargetLimit`.\n\nIt is meant to be used by admins to to keep the overall number of\ntargets under a desired limit.\n\nWhen both `enforcedTargetLimit` and `targetLimit` are defined and greater than zero, the following rules apply:\n* Scrape objects without a defined targetLimit value will inherit the global targetLimit value (Prometheus >= 2.45.0) or the enforcedTargetLimit value (Prometheus < v2.45.0).\n If Prometheus version is >= 2.45.0 and the `enforcedTargetLimit` is greater than the `targetLimit`, the `targetLimit` will be set to `enforcedTargetLimit`.\n* Scrape objects with a targetLimit value less than or equal to enforcedTargetLimit keep their specific value.\n* Scrape objects with a targetLimit value greater than enforcedTargetLimit are set to enforcedTargetLimit.", + "type": "integer", + "format": "int64" + }, + "excludedFromEnforcement": { + "description": "List of references to PodMonitor, ServiceMonitor, Probe and PrometheusRule objects\nto be excluded from enforcing a namespace label of origin.\n\nIt is only applicable if `spec.enforcedNamespaceLabel` set to true.", + "type": "array", + "items": { + "description": "ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.", + "type": "object", + "required": [ + "namespace", + "resource" + ], + "properties": { + "group": { + "description": "Group of the referent. When not specified, it defaults to `monitoring.coreos.com`", + "type": "string", + "enum": [ + "monitoring.coreos.com" + ] + }, + "name": { + "description": "Name of the referent. When not set, all resources in the namespace are matched.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string", + "minLength": 1 + }, + "resource": { + "description": "Resource of the referent.", + "type": "string", + "enum": [ + "prometheusrules", + "servicemonitors", + "podmonitors", + "probes", + "scrapeconfigs" + ] + } + } + } + }, + "externalLabels": { + "description": "The labels to add to any time series or alerts when communicating with\nexternal systems (federation, remote storage, Alertmanager).\nLabels defined by `spec.replicaExternalLabelName` and\n`spec.prometheusExternalLabelName` take precedence over this list.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "externalUrl": { + "description": "The external URL under which the Prometheus service is externally\navailable. This is necessary to generate correct URLs (for instance if\nPrometheus is accessible behind an Ingress resource).", + "type": "string" + }, + "hostAliases": { + "description": "Optional list of hosts and IPs that will be injected into the Pod's\nhosts file if specified.", + "type": "array", + "items": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file.", + "type": "object", + "required": [ + "hostnames", + "ip" + ], + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + } + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map" + }, + "hostNetwork": { + "description": "Use the host's network namespace if true.\n\nMake sure to understand the security implications if you want to enable\nit (https://kubernetes.io/docs/concepts/configuration/overview/ ).\n\nWhen hostNetwork is enabled, this will set the DNS policy to\n`ClusterFirstWithHostNet` automatically (unless `.spec.DNSPolicy` is set\nto a different value).", + "type": "boolean" + }, + "hostUsers": { + "description": "HostUsers supports the user space in Kubernetes.\n\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/user-namespaces/\n\nThe feature requires at least Kubernetes 1.28 with the `UserNamespacesSupport` feature gate enabled.\nStarting Kubernetes 1.33, the feature is enabled by default.", + "type": "boolean" + }, + "ignoreNamespaceSelectors": { + "description": "When true, `spec.namespaceSelector` from all PodMonitor, ServiceMonitor\nand Probe objects will be ignored. They will only discover targets\nwithin the namespace of the PodMonitor, ServiceMonitor and Probe\nobject.", + "type": "boolean" + }, + "image": { + "description": "Container image name for Prometheus. If specified, it takes precedence\nover the `spec.baseImage`, `spec.tag` and `spec.sha` fields.\n\nSpecifying `spec.version` is still necessary to ensure the Prometheus\nOperator knows which version of Prometheus is being configured.\n\nIf neither `spec.image` nor `spec.baseImage` are defined, the operator\nwill use the latest upstream version of Prometheus available at the time\nwhen the operator was released.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy for the 'prometheus', 'init-config-reloader' and 'config-reloader' containers.\nSee https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy for more details.", + "type": "string", + "enum": [ + "", + "Always", + "Never", + "IfNotPresent" + ] + }, + "imagePullSecrets": { + "description": "An optional list of references to Secrets in the same namespace\nto use for pulling images from registries.\nSee http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "InitContainers allows injecting initContainers to the Pod definition. Those\ncan be used to e.g. fetch secrets for injection into the Prometheus\nconfiguration from external sources. Any errors during the execution of\nan initContainer will lead to a restart of the Pod. More info:\nhttps://kubernetes.io/docs/concepts/workloads/pods/init-containers/\nInitContainers described here modify an operator generated init\ncontainers if they share the same name and modifications are done via a\nstrategic merge patch.\n\nThe names of init container name managed by the operator are:\n* `init-config-reloader`.\n\nOverriding init containers is entirely outside the scope of what the\nmaintainers will support and by doing so, you accept that this behaviour\nmay break at any time without notice.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "Optional text to prepend to the name of each environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "stopSignal": { + "description": "StopSignal defines which signal will be sent to a container when it is being stopped.\nIf not specified, the default is defined by the container runtime in use.\nStopSignal can only be set for Pods with a non-empty .spec.os.name", + "type": "string" + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "keepDroppedTargets": { + "description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedKeepDroppedTargets.", + "type": "integer", + "format": "int64" + }, + "labelLimit": { + "description": "Per-scrape limit on number of labels that will be accepted for a sample.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedLabelLimit.", + "type": "integer", + "format": "int64" + }, + "labelNameLengthLimit": { + "description": "Per-scrape limit on length of labels name that will be accepted for a sample.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedLabelNameLengthLimit.", + "type": "integer", + "format": "int64" + }, + "labelValueLengthLimit": { + "description": "Per-scrape limit on length of labels value that will be accepted for a sample.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedLabelValueLengthLimit.", + "type": "integer", + "format": "int64" + }, + "listenLocal": { + "description": "When true, the Prometheus server listens on the loopback address\ninstead of the Pod IP's address.", + "type": "boolean" + }, + "logFormat": { + "description": "Log format for Log level for Prometheus and the config-reloader sidecar.", + "type": "string", + "enum": [ + "", + "logfmt", + "json" + ] + }, + "logLevel": { + "description": "Log level for Prometheus and the config-reloader sidecar.", + "type": "string", + "enum": [ + "", + "debug", + "info", + "warn", + "error" + ] + }, + "maximumStartupDurationSeconds": { + "description": "Defines the maximum time that the `prometheus` container's startup probe will wait before being considered failed. The startup probe will return success after the WAL replay is complete.\nIf set, the value should be greater than 60 (seconds). Otherwise it will be equal to 600 seconds (15 minutes).", + "type": "integer", + "format": "int32", + "minimum": 60 + }, + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created Pod should be ready\nwithout any of its container crashing for it to be considered available.\n\nIf unset, pods will be considered available as soon as they are ready.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "mode": { + "description": "Mode defines how the Prometheus operator deploys the PrometheusAgent pod(s).\n\n(Alpha) Using this field requires the `PrometheusAgentDaemonSet` feature gate to be enabled.", + "type": "string", + "enum": [ + "StatefulSet", + "DaemonSet" + ] + }, + "nameEscapingScheme": { + "description": "Specifies the character escaping scheme that will be requested when scraping\nfor metric and label names that do not conform to the legacy Prometheus\ncharacter set.\n\nIt requires Prometheus >= v3.4.0.", + "type": "string", + "enum": [ + "AllowUTF8", + "Underscores", + "Dots", + "Values" + ] + }, + "nameValidationScheme": { + "description": "Specifies the validation scheme for metric and label names.\n\nIt requires Prometheus >= v2.55.0.", + "type": "string", + "enum": [ + "UTF8", + "Legacy" + ] + }, + "nodeSelector": { + "description": "Defines on which Nodes the Pods are scheduled.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "otlp": { + "description": "Settings related to the OTLP receiver feature.\nIt requires Prometheus >= v2.55.0.", + "type": "object", + "properties": { + "convertHistogramsToNHCB": { + "description": "Configures optional translation of OTLP explicit bucket histograms into native histograms with custom buckets.\nIt requires Prometheus >= v3.4.0.", + "type": "boolean" + }, + "ignoreResourceAttributes": { + "description": "List of OpenTelemetry resource attributes to ignore when `promoteAllResourceAttributes` is true.\n\nIt requires `promoteAllResourceAttributes` to be true.\nIt requires Prometheus >= v3.5.0.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "keepIdentifyingResourceAttributes": { + "description": "Enables adding `service.name`, `service.namespace` and `service.instance.id`\nresource attributes to the `target_info` metric, on top of converting them into the `instance` and `job` labels.\n\nIt requires Prometheus >= v3.1.0.", + "type": "boolean" + }, + "promoteAllResourceAttributes": { + "description": "Promote all resource attributes to metric labels except the ones defined in `ignoreResourceAttributes`.\n\nCannot be true when `promoteResourceAttributes` is defined.\nIt requires Prometheus >= v3.5.0.", + "type": "boolean" + }, + "promoteResourceAttributes": { + "description": "List of OpenTelemetry Attributes that should be promoted to metric labels, defaults to none.\nCannot be defined when `promoteAllResourceAttributes` is true.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "translationStrategy": { + "description": "Configures how the OTLP receiver endpoint translates the incoming metrics.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "NoUTF8EscapingWithSuffixes", + "UnderscoreEscapingWithSuffixes", + "NoTranslation" + ] + } + } + }, + "overrideHonorLabels": { + "description": "When true, Prometheus resolves label conflicts by renaming the labels in the scraped data\n to “exported_” for all targets created from ServiceMonitor, PodMonitor and\nScrapeConfig objects. Otherwise the HonorLabels field of the service or pod monitor applies.\nIn practice,`overrideHonorLaels:true` enforces `honorLabels:false`\nfor all ServiceMonitor, PodMonitor and ScrapeConfig objects.", + "type": "boolean" + }, + "overrideHonorTimestamps": { + "description": "When true, Prometheus ignores the timestamps for all the targets created\nfrom service and pod monitors.\nOtherwise the HonorTimestamps field of the service or pod monitor applies.", + "type": "boolean" + }, + "paused": { + "description": "When a Prometheus deployment is paused, no actions except for deletion\nwill be performed on the underlying objects.", + "type": "boolean" + }, + "persistentVolumeClaimRetentionPolicy": { + "description": "The field controls if and how PVCs are deleted during the lifecycle of a StatefulSet.\nThe default behavior is all PVCs are retained.\nThis is an alpha field from kubernetes 1.23 until 1.26 and a beta field from 1.26.\nIt requires enabling the StatefulSetAutoDeletePVC feature gate.", + "type": "object", + "properties": { + "whenDeleted": { + "description": "WhenDeleted specifies what happens to PVCs created from StatefulSet\nVolumeClaimTemplates when the StatefulSet is deleted. The default policy\nof `Retain` causes PVCs to not be affected by StatefulSet deletion. The\n`Delete` policy causes those PVCs to be deleted.", + "type": "string" + }, + "whenScaled": { + "description": "WhenScaled specifies what happens to PVCs created from StatefulSet\nVolumeClaimTemplates when the StatefulSet is scaled down. The default\npolicy of `Retain` causes PVCs to not be affected by a scaledown. The\n`Delete` policy causes the associated PVCs for any excess pods above\nthe replica count to be deleted.", + "type": "string" + } + } + }, + "podMetadata": { + "description": "PodMetadata configures labels and annotations which are propagated to the Prometheus pods.\n\nThe following items are reserved and cannot be overridden:\n* \"prometheus\" label, set to the name of the Prometheus object.\n* \"app.kubernetes.io/instance\" label, set to the name of the Prometheus object.\n* \"app.kubernetes.io/managed-by\" label, set to \"prometheus-operator\".\n* \"app.kubernetes.io/name\" label, set to \"prometheus\".\n* \"app.kubernetes.io/version\" label, set to the Prometheus version.\n* \"operator.prometheus.io/name\" label, set to the name of the Prometheus object.\n* \"operator.prometheus.io/shard\" label, set to the shard number of the Prometheus object.\n* \"kubectl.kubernetes.io/default-container\" annotation, set to \"prometheus\".", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "podMonitorNamespaceSelector": { + "description": "Namespaces to match for PodMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "podMonitorSelector": { + "description": "PodMonitors to be selected for target discovery. An empty label selector\nmatches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "podTargetLabels": { + "description": "PodTargetLabels are appended to the `spec.podTargetLabels` field of all\nPodMonitor and ServiceMonitor objects.", + "type": "array", + "items": { + "type": "string" + } + }, + "portName": { + "description": "Port name used for the pods and governing service.\nDefault: \"web\"", + "type": "string" + }, + "priorityClassName": { + "description": "Priority class assigned to the Pods.", + "type": "string" + }, + "probeNamespaceSelector": { + "description": "Namespaces to match for Probe discovery. An empty label\nselector matches all namespaces. A null label selector matches the\ncurrent namespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "probeSelector": { + "description": "Probes to be selected for target discovery. An empty label selector\nmatches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prometheusExternalLabelName": { + "description": "Name of Prometheus external label used to denote the Prometheus instance\nname. The external label will _not_ be added when the field is set to\nthe empty string (`\"\"`).\n\nDefault: \"prometheus\"", + "type": "string" + }, + "reloadStrategy": { + "description": "Defines the strategy used to reload the Prometheus configuration.\nIf not specified, the configuration is reloaded using the /-/reload HTTP endpoint.", + "type": "string", + "enum": [ + "HTTP", + "ProcessSignal" + ] + }, + "remoteWrite": { + "description": "Defines the list of remote write configurations.", + "type": "array", + "items": { + "description": "RemoteWriteSpec defines the configuration to write samples from Prometheus\nto a remote endpoint.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "authorization": { + "description": "Authorization section for the URL.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `sigv4`, `basicAuth`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "azureAd": { + "description": "AzureAD for the URL.\n\nIt requires Prometheus >= v2.45.0 or Thanos >= v0.31.0.\n\nCannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `sigv4`.", + "type": "object", + "properties": { + "cloud": { + "description": "The Azure Cloud. Options are 'AzurePublic', 'AzureChina', or 'AzureGovernment'.", + "type": "string", + "enum": [ + "AzureChina", + "AzureGovernment", + "AzurePublic" + ] + }, + "managedIdentity": { + "description": "ManagedIdentity defines the Azure User-assigned Managed identity.\nCannot be set at the same time as `oauth` or `sdk`.", + "type": "object", + "required": [ + "clientId" + ], + "properties": { + "clientId": { + "description": "The client id", + "type": "string" + } + } + }, + "oauth": { + "description": "OAuth defines the oauth config that is being used to authenticate.\nCannot be set at the same time as `managedIdentity` or `sdk`.\n\nIt requires Prometheus >= v2.48.0 or Thanos >= v0.31.0.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tenantId" + ], + "properties": { + "clientId": { + "description": "`clientID` is the clientId of the Azure Active Directory application that is being used to authenticate.", + "type": "string", + "minLength": 1 + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the client secret of the Azure Active Directory application that is being used to authenticate.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tenantId": { + "description": "`tenantId` is the tenant ID of the Azure Active Directory application that is being used to authenticate.", + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-zA-Z-.]+$" + } + } + }, + "sdk": { + "description": "SDK defines the Azure SDK config that is being used to authenticate.\nSee https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication\nCannot be set at the same time as `oauth` or `managedIdentity`.\n\nIt requires Prometheus >= v2.52.0 or Thanos >= v0.36.0.", + "type": "object", + "properties": { + "tenantId": { + "description": "`tenantId` is the tenant ID of the azure active directory application that is being used to authenticate.", + "type": "string", + "pattern": "^[0-9a-zA-Z-.]+$" + } + } + } + } + }, + "basicAuth": { + "description": "BasicAuth configuration for the URL.\n\nCannot be set at the same time as `sigv4`, `authorization`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "bearerToken": { + "description": "*Warning: this field shouldn't be used because the token value appears\nin clear-text. Prefer using `authorization`.*\n\nDeprecated: this will be removed in a future release.", + "type": "string" + }, + "bearerTokenFile": { + "description": "File from which to read bearer token for the URL.\n\nDeprecated: this will be removed in a future release. Prefer using `authorization`.", + "type": "string" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.", + "type": "boolean" + }, + "headers": { + "description": "Custom HTTP headers to be sent along with each remote write request.\nBe aware that headers that are set by Prometheus itself can't be overwritten.\n\nIt requires Prometheus >= v2.25.0 or Thanos >= v0.24.0.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "messageVersion": { + "description": "The Remote Write message's version to use when writing to the endpoint.\n\n`Version1.0` corresponds to the `prometheus.WriteRequest` protobuf message introduced in Remote Write 1.0.\n`Version2.0` corresponds to the `io.prometheus.write.v2.Request` protobuf message introduced in Remote Write 2.0.\n\nWhen `Version2.0` is selected, Prometheus will automatically be\nconfigured to append the metadata of scraped metrics to the WAL.\n\nBefore setting this field, consult with your remote storage provider\nwhat message version it supports.\n\nIt requires Prometheus >= v2.54.0 or Thanos >= v0.37.0.", + "type": "string", + "enum": [ + "V1.0", + "V2.0" + ] + }, + "metadataConfig": { + "description": "MetadataConfig configures the sending of series metadata to the remote storage.", + "type": "object", + "properties": { + "maxSamplesPerSend": { + "description": "MaxSamplesPerSend is the maximum number of metadata samples per send.\n\nIt requires Prometheus >= v2.29.0.", + "type": "integer", + "format": "int32", + "minimum": -1 + }, + "send": { + "description": "Defines whether metric metadata is sent to the remote storage or not.", + "type": "boolean" + }, + "sendInterval": { + "description": "Defines how frequently metric metadata is sent to the remote storage.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "name": { + "description": "The name of the remote write queue, it must be unique if specified. The\nname is used in metrics and logging in order to differentiate queues.\n\nIt requires Prometheus >= v2.15.0 or Thanos >= 0.24.0.", + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "OAuth2 configuration for the URL.\n\nIt requires Prometheus >= v2.27.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `sigv4`, `authorization`, `basicAuth`, or `azureAd`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "queueConfig": { + "description": "QueueConfig allows tuning of the remote write queue parameters.", + "type": "object", + "properties": { + "batchSendDeadline": { + "description": "BatchSendDeadline is the maximum time a sample will wait in buffer.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "capacity": { + "description": "Capacity is the number of samples to buffer per shard before we start\ndropping them.", + "type": "integer" + }, + "maxBackoff": { + "description": "MaxBackoff is the maximum retry delay.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "maxRetries": { + "description": "MaxRetries is the maximum number of times to retry a batch on recoverable errors.", + "type": "integer" + }, + "maxSamplesPerSend": { + "description": "MaxSamplesPerSend is the maximum number of samples per send.", + "type": "integer" + }, + "maxShards": { + "description": "MaxShards is the maximum number of shards, i.e. amount of concurrency.", + "type": "integer" + }, + "minBackoff": { + "description": "MinBackoff is the initial retry delay. Gets doubled for every retry.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "minShards": { + "description": "MinShards is the minimum number of shards, i.e. amount of concurrency.", + "type": "integer" + }, + "retryOnRateLimit": { + "description": "Retry upon receiving a 429 status code from the remote-write storage.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "boolean" + }, + "sampleAgeLimit": { + "description": "SampleAgeLimit drops samples older than the limit.\nIt requires Prometheus >= v2.50.0 or Thanos >= v0.32.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "remoteTimeout": { + "description": "Timeout for requests to the remote write endpoint.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "roundRobinDNS": { + "description": "When enabled:\n - The remote-write mechanism will resolve the hostname via DNS.\n - It will randomly select one of the resolved IP addresses and connect to it.\n\nWhen disabled (default behavior):\n - The Go standard library will handle hostname resolution.\n - It will attempt connections to each resolved IP address sequentially.\n\nNote: The connection timeout applies to the entire resolution and connection process.\n If disabled, the timeout is distributed across all connection attempts.\n\nIt requires Prometheus >= v3.1.0 or Thanos >= v0.38.0.", + "type": "boolean" + }, + "sendExemplars": { + "description": "Enables sending of exemplars over remote write. Note that\nexemplar-storage itself must be enabled using the `spec.enableFeatures`\noption for exemplars to be scraped in the first place.\n\nIt requires Prometheus >= v2.27.0 or Thanos >= v0.24.0.", + "type": "boolean" + }, + "sendNativeHistograms": { + "description": "Enables sending of native histograms, also known as sparse histograms\nover remote write.\n\nIt requires Prometheus >= v2.40.0 or Thanos >= v0.30.0.", + "type": "boolean" + }, + "sigv4": { + "description": "Sigv4 allows to configures AWS's Signature Verification 4 for the URL.\n\nIt requires Prometheus >= v2.26.0 or Thanos >= v0.24.0.\n\nCannot be set at the same time as `authorization`, `basicAuth`, `oauth2`, or `azureAd`.", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key. If not specified, the environment variable\n`AWS_ACCESS_KEY_ID` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "profile": { + "description": "Profile is the named AWS profile used to authenticate.", + "type": "string" + }, + "region": { + "description": "Region is the AWS region. If blank, the region from the default credentials chain used.", + "type": "string" + }, + "roleArn": { + "description": "RoleArn is the named AWS profile used to authenticate.", + "type": "string" + }, + "secretKey": { + "description": "SecretKey is the AWS API secret. If not specified, the environment\nvariable `AWS_SECRET_ACCESS_KEY` is used.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "tlsConfig": { + "description": "TLS Config to use for the URL.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "url": { + "description": "The URL of the endpoint to send samples to.", + "type": "string", + "minLength": 1 + }, + "writeRelabelConfigs": { + "description": "The list of remote write relabel configurations.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + } + } + } + }, + "remoteWriteReceiverMessageVersions": { + "description": "List of the protobuf message versions to accept when receiving the\nremote writes.\n\nIt requires Prometheus >= v2.54.0.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "V1.0", + "V2.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "replicaExternalLabelName": { + "description": "Name of Prometheus external label used to denote the replica name.\nThe external label will _not_ be added when the field is set to the\nempty string (`\"\"`).\n\nDefault: \"prometheus_replica\"", + "type": "string" + }, + "replicas": { + "description": "Number of replicas of each shard to deploy for a Prometheus deployment.\n`spec.replicas` multiplied by `spec.shards` is the total number of Pods\ncreated.\n\nDefault: 1", + "type": "integer", + "format": "int32" + }, + "resources": { + "description": "Defines the resources requests and limits of the 'prometheus' container.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "routePrefix": { + "description": "The route prefix Prometheus registers HTTP handlers for.\n\nThis is useful when using `spec.externalURL`, and a proxy is rewriting\nHTTP routes of a request, and the actual ExternalURL is still true, but\nthe server serves requests under a different route prefix. For example\nfor use with `kubectl proxy`.", + "type": "string" + }, + "runtime": { + "description": "RuntimeConfig configures the values for the Prometheus process behavior", + "type": "object", + "properties": { + "goGC": { + "description": "The Go garbage collection target percentage. Lowering this number may increase the CPU usage.\nSee: https://tip.golang.org/doc/gc-guide#GOGC", + "type": "integer", + "format": "int32", + "minimum": -1 + } + } + }, + "sampleLimit": { + "description": "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedSampleLimit.", + "type": "integer", + "format": "int64" + }, + "scrapeClasses": { + "description": "List of scrape classes to expose to scraping objects such as\nPodMonitors, ServiceMonitors, Probes and ScrapeConfigs.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "attachMetadata": { + "description": "AttachMetadata configures additional metadata to the discovered targets.\nWhen the scrape object defines its own configuration, it takes\nprecedence over the scrape class configuration.", + "type": "object", + "properties": { + "node": { + "description": "When set to true, Prometheus attaches node metadata to the discovered\ntargets.\n\nThe Prometheus service account must have the `list` and `watch`\npermissions on the `Nodes` objects.", + "type": "boolean" + } + } + }, + "authorization": { + "description": "Authorization section for the ScrapeClass.\nIt will only apply if the scrape resource doesn't specify any Authorization.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "credentialsFile": { + "description": "File to read a secret from, mutually exclusive with `credentials`.", + "type": "string" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "default": { + "description": "Default indicates that the scrape applies to all scrape objects that\ndon't configure an explicit scrape class name.\n\nOnly one scrape class can be set as the default.", + "type": "boolean" + }, + "fallbackScrapeProtocol": { + "description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\nIt will only apply if the scrape resource doesn't specify any FallbackScrapeProtocol\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "metricRelabelings": { + "description": "MetricRelabelings configures the relabeling rules to apply to all samples before ingestion.\n\nThe Operator adds the scrape class metric relabelings defined here.\nThen the Operator adds the target-specific metric relabelings defined in ServiceMonitors, PodMonitors, Probes and ScrapeConfigs.\nThen the Operator adds namespace enforcement relabeling rule, specified in '.spec.enforcedNamespaceLabel'.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the scrape class.", + "type": "string", + "minLength": 1 + }, + "relabelings": { + "description": "Relabelings configures the relabeling rules to apply to all scrape targets.\n\nThe Operator automatically adds relabelings for a few standard Kubernetes fields\nlike `__meta_kubernetes_namespace` and `__meta_kubernetes_service_name`.\nThen the Operator adds the scrape class relabelings defined here.\nThen the Operator adds the target-specific relabelings defined in the scrape object.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "tlsConfig": { + "description": "TLSConfig defines the TLS settings to use for the scrape. When the\nscrape objects define their own CA, certificate and/or key, they take\nprecedence over the corresponding scrape class fields.\n\nFor now only the `caFile`, `certFile` and `keyFile` fields are supported.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "scrapeClassicHistograms": { + "description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\n\nNotice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.\n\nIt requires Prometheus >= v3.5.0.", + "type": "boolean" + }, + "scrapeConfigNamespaceSelector": { + "description": "Namespaces to match for ScrapeConfig discovery. An empty label selector\nmatches all namespaces. A null label selector matches the current\nnamespace only.\n\nNote that the ScrapeConfig custom resource definition is currently at Alpha level.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "scrapeConfigSelector": { + "description": "ScrapeConfigs to be selected for target discovery. An empty label\nselector matches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.\n\nNote that the ScrapeConfig custom resource definition is currently at Alpha level.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "scrapeFailureLogFile": { + "description": "File to which scrape failures are logged.\nReloading the configuration will reopen the file.\n\nIf the filename has an empty path, e.g. 'file.log', The Prometheus Pods\nwill mount the file into an emptyDir volume at `/var/log/prometheus`.\nIf a full path is provided, e.g. '/var/log/prometheus/file.log', you\nmust mount a volume in the specified directory and it must be writable.\nIt requires Prometheus >= v2.55.0.", + "type": "string", + "minLength": 1 + }, + "scrapeInterval": { + "description": "Interval between consecutive scrapes.\n\nDefault: \"30s\"", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "scrapeProtocols": { + "description": "The protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.\n\n`PrometheusText1.0.0` requires Prometheus >= v3.0.0.", + "type": "array", + "items": { + "description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "scrapeTimeout": { + "description": "Number of seconds to wait until a scrape request times out.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "secrets": { + "description": "Secrets is a list of Secrets in the same namespace as the Prometheus\nobject, which shall be mounted into the Prometheus Pods.\nEach Secret is added to the StatefulSet definition as a volume named `secret-`.\nThe Secrets are mounted into /etc/prometheus/secrets/ in the 'prometheus' container.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings.\nThis defaults to the default PodSecurityContext.", + "type": "object", + "properties": { + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.\nIt has no effect on nodes that do not support SELinux or to volumes does not support SELinux.\nValid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime.\nThis may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option.\nThis requires all Pods that share the same volume to use the same SELinux label.\nIt is not possible to share the same volume among privileged and unprivileged Pods.\nEligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes\nwhose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their\nCSIDriver instance. Other volumes are always re-labelled recursively.\n\"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used.\nIf not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes\nand \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in\naddition to the container's primary GID and fsGroup (if specified). If\nthe SupplementalGroupsPolicy feature is enabled, the\nsupplementalGroupsPolicy field determines whether these are in addition\nto or instead of any group memberships defined in the container image.\nIf unspecified, no additional groups are added, though group memberships\ndefined in the container image may still be used, depending on the\nsupplementalGroupsPolicy field.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated.\nValid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used.\n(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled\nand the container runtime must implement support for this feature.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run the\nPrometheus Pods.", + "type": "string" + }, + "serviceDiscoveryRole": { + "description": "Defines the service discovery role used to discover targets from\n`ServiceMonitor` objects and Alertmanager endpoints.\n\nIf set, the value should be either \"Endpoints\" or \"EndpointSlice\".\nIf unset, the operator assumes the \"Endpoints\" role.", + "type": "string", + "enum": [ + "Endpoints", + "EndpointSlice" + ] + }, + "serviceMonitorNamespaceSelector": { + "description": "Namespaces to match for ServicedMonitors discovery. An empty label selector\nmatches all namespaces. A null label selector (default value) matches the current\nnamespace only.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceMonitorSelector": { + "description": "ServiceMonitors to be selected for target discovery. An empty label\nselector matches all objects. A null label selector matches no objects.\n\nIf `spec.serviceMonitorSelector`, `spec.podMonitorSelector`, `spec.probeSelector`\nand `spec.scrapeConfigSelector` are null, the Prometheus configuration is unmanaged.\nThe Prometheus operator will ensure that the Prometheus configuration's\nSecret exists, but it is the responsibility of the user to provide the raw\ngzipped Prometheus configuration under the `prometheus.yaml.gz` key.\nThis behavior is *deprecated* and will be removed in the next major version\nof the custom resource definition. It is recommended to use\n`spec.additionalScrapeConfigs` instead.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceName": { + "description": "The name of the service name used by the underlying StatefulSet(s) as the governing service.\nIf defined, the Service must be created before the Prometheus/PrometheusAgent resource in the same namespace and it must define a selector that matches the pod labels.\nIf empty, the operator will create and manage a headless service named `prometheus-operated` for Prometheus resources,\nor `prometheus-agent-operated` for PrometheusAgent resources.\nWhen deploying multiple Prometheus/PrometheusAgent resources in the same namespace, it is recommended to specify a different value for each.\nSee https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id for more details.", + "type": "string", + "minLength": 1 + }, + "shards": { + "description": "Number of shards to distribute the scraped targets onto.\n\n`spec.replicas` multiplied by `spec.shards` is the total number of Pods\nbeing created.\n\nWhen not defined, the operator assumes only one shard.\n\nNote that scaling down shards will not reshard data onto the remaining\ninstances, it must be manually moved. Increasing shards will not reshard\ndata either but it will continue to be available from the same\ninstances. To query globally, use either\n* Thanos sidecar + querier for query federation and Thanos Ruler for rules.\n* Remote-write to send metrics to a central location.\n\nBy default, the sharding of targets is performed on:\n* The `__address__` target's metadata label for PodMonitor,\nServiceMonitor and ScrapeConfig resources.\n* The `__param_target__` label for Probe resources.\n\nUsers can define their own sharding implementation by setting the\n`__tmp_hash` label during the target discovery with relabeling\nconfiguration (either in the monitoring resources or via scrape class).\n\nYou can also disable sharding on a specific target by setting the\n`__tmp_disable_sharding` label with relabeling configuration. When\nthe label value isn't empty, all Prometheus shards will scrape the target.", + "type": "integer", + "format": "int32" + }, + "storage": { + "description": "Storage defines the storage used by Prometheus.", + "type": "object", + "properties": { + "disableMountSubPath": { + "description": "Deprecated: subPath usage will be removed in a future release.", + "type": "boolean" + }, + "emptyDir": { + "description": "EmptyDirVolumeSource to be used by the StatefulSet.\nIf specified, it takes precedence over `ephemeral` and `volumeClaimTemplate`.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "EphemeralVolumeSource to be used by the StatefulSet.\nThis is a beta field in k8s 1.21 and GA in 1.15.\nFor lower versions, starting with k8s 1.19, it requires enabling the GenericEphemeralVolume feature gate.\nMore info: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "volumeClaimTemplate": { + "description": "Defines the PVC spec to be used by the Prometheus StatefulSets.\nThe easiest way to use a volume that cannot be automatically provisioned\nis to use a label selector alongside manually created PersistentVolumes.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "EmbeddedMetadata contains metadata relevant to an EmbeddedResource.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/", + "type": "string" + } + } + }, + "spec": { + "description": "Defines the desired characteristics of a volume requested by a pod author.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "status": { + "description": "Deprecated: this field is never set.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the actual access modes the volume backing the PVC has.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "allocatedResourceStatuses": { + "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "description": "When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource\nthat it does not recognizes, then it should ignore that update and let other controllers\nhandle it.", + "type": "string" + }, + "x-kubernetes-map-type": "granular" + }, + "allocatedResources": { + "description": "allocatedResources tracks the resources allocated to a PVC including its capacity.\nKey names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered\nreserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation\nis requested.\nFor storage quota, the larger value from allocatedResources and PVC.spec.resources is used.\nIf allocatedResources is not set, PVC.spec.resources alone is used for quota calculation.\nIf a volume expansion capacity request is lowered, allocatedResources is only\nlowered if there are no expansion operations in progress and if the actual volume capacity\nis equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName\nshould ignore the update for the purpose it was designed. For example - a controller that\nonly is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid\nresources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "capacity": { + "description": "capacity represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "conditions": { + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being\nresized then the Condition will be set to 'Resizing'.", + "type": "array", + "items": { + "description": "PersistentVolumeClaimCondition contains details about state of pvc", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastProbeTime": { + "description": "lastProbeTime is the time we probed the condition.", + "type": "string", + "format": "date-time" + }, + "lastTransitionTime": { + "description": "lastTransitionTime is the time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "message is the human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason\nfor condition's last transition. If it reports \"Resizing\" that means the underlying\npersistent volume is being resized.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition.\nCan be True, False, Unknown.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.\nMore info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "currentVolumeAttributesClassName": { + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.\nWhen unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "string" + }, + "modifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.\nWhen this is unset, there is no ModifyVolume operation being attempted.\nThis is a beta field and requires enabling VolumeAttributesClass feature (off by default).", + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.", + "type": "string" + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + } + }, + "phase": { + "description": "phase represents the current phase of PersistentVolumeClaim.", + "type": "string" + } + } + } + } + } + } + }, + "targetLimit": { + "description": "TargetLimit defines a limit on the number of scraped targets that will be accepted.\nOnly valid in Prometheus versions 2.45.0 and newer.\n\nNote that the global limit only applies to scrape objects that don't specify an explicit limit value.\nIf you want to enforce a maximum limit for all scrape objects, refer to enforcedTargetLimit.", + "type": "integer", + "format": "int64" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down) which may lead to data corruption.\n\nDefaults to 600 seconds.", + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "tolerations": { + "description": "Defines the Pods' tolerations if specified.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + }, + "topologySpreadConstraints": { + "description": "Defines the pod's topology spread constraints if specified.", + "type": "array", + "items": { + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "additionalLabelSelectors": { + "description": "Defines what Prometheus Operator managed labels should be added to labelSelector on the topologySpreadConstraint.", + "type": "string", + "enum": [ + "OnResource", + "OnShard" + ] + }, + "labelSelector": { + "description": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field.", + "type": "string" + } + } + } + }, + "tracingConfig": { + "description": "TracingConfig configures tracing in Prometheus.\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.", + "type": "object", + "required": [ + "endpoint" + ], + "properties": { + "clientType": { + "description": "Client used to export the traces. Supported values are `http` or `grpc`.", + "type": "string", + "enum": [ + "http", + "grpc" + ] + }, + "compression": { + "description": "Compression key for supported compression types. The only supported value is `gzip`.", + "type": "string", + "enum": [ + "gzip" + ] + }, + "endpoint": { + "description": "Endpoint to send the traces to. Should be provided in format :.", + "type": "string", + "minLength": 1 + }, + "headers": { + "description": "Key-value pairs to be used as headers associated with gRPC or HTTP requests.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "insecure": { + "description": "If disabled, the client will use a secure connection.", + "type": "boolean" + }, + "samplingFraction": { + "description": "Sets the probability a given trace will be sampled. Must be a float from 0 through 1.", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "timeout": { + "description": "Maximum time the exporter will wait for each batch export.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS Config to use when sending traces.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "caFile": { + "description": "Path to the CA cert in the Prometheus container to use for the targets.", + "type": "string" + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the client cert file in the Prometheus container for the targets.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keyFile": { + "description": "Path to the client key file in the Prometheus container for the targets.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + }, + "tsdb": { + "description": "Defines the runtime reloadable configuration of the timeseries database(TSDB).\nIt requires Prometheus >= v2.39.0 or PrometheusAgent >= v2.54.0.", + "type": "object", + "properties": { + "outOfOrderTimeWindow": { + "description": "Configures how old an out-of-order/out-of-bounds sample can be with\nrespect to the TSDB max time.\n\nAn out-of-order/out-of-bounds sample is ingested into the TSDB as long as\nthe timestamp of the sample is >= (TSDB.MaxTime - outOfOrderTimeWindow).\n\nThis is an *experimental feature*, it may change in any upcoming release\nin a breaking way.\n\nIt requires Prometheus >= v2.39.0 or PrometheusAgent >= v2.54.0.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + }, + "version": { + "description": "Version of Prometheus being deployed. The operator uses this information\nto generate the Prometheus StatefulSet + configuration files.\n\nIf not specified, the operator assumes the latest upstream version of\nPrometheus available at the time when the version of the operator was\nreleased.", + "type": "string" + }, + "volumeMounts": { + "description": "VolumeMounts allows the configuration of additional VolumeMounts.\n\nVolumeMounts will be appended to other VolumeMounts in the 'prometheus'\ncontainer, that are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + } + }, + "volumes": { + "description": "Volumes allows the configuration of additional volumes on the output\nStatefulSet definition. Volumes specified will be appended to other\nvolumes that are generated as a result of StorageSpec objects.", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree\nawsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\nDeprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type\nare redirected to the disk.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.\nDeprecated: AzureFile is deprecated. All operations for the in-tree azureFile type\nare redirected to the file.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure share Name", + "type": "string" + } + } + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.\nDeprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine.\nDeprecated: Cinder is deprecated. All operations for the in-tree cinder type\nare redirected to the cinder.csi.openstack.org CSI driver.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume.\nDefaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver.\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "lun is Optional: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\nDeprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.\nDeprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "type": "object", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker\nshould be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: GCEPersistentDisk is deprecated. All operations for the in-tree\ngcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision.\nDeprecated: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "directory is the target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + } + }, + "glusterfs": { + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nDeprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "endpoints is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + } + }, + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.\nThe volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\n- Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\n- IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.\nA failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.\nThe types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.\nThe OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.\nThe volume will be mounted read-only (ro) and non-executable files (noexec).\nSub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.\nThe field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "type": "object", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are:\nAlways: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\nNever: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\nIfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used.\nBehaves in the same way as pod.spec.containers[*].image.\nPull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + } + }, + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md", + "type": "object", + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n: will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "object", + "required": [ + "path", + "server" + ], + "properties": { + "path": { + "description": "path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false.", + "type": "boolean" + } + } + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.\nDeprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine.\nDeprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type\nare redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate\nis on.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem. Esoteric PEM features such as inter-block\ncomments and block headers are stripped. Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has\neffect if signerName is set. Mutually-exclusive with name. If unset,\ninterpreted as \"match nothing\". If set but empty, interpreted as \"match\neverything\".", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive\nwith signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available. If using name, then the named ClusterTrustBundle is\nallowed not to exist. If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name. The contents of all selected\nClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime.\nDeprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "group to map volume access to\nDefault is no group", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to\nDefaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "rbd": { + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.\nDeprecated: RBD is deprecated and the in-tree rbd type is no longer supported.\nMore info: https://examples.k8s.io/volumes/rbd/README.md", + "type": "object", + "required": [ + "image", + "monitors" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is the rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\nDeprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "type": "object", + "required": [ + "gateway", + "secretRef", + "system" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system\nthat is associated with this volume source.", + "type": "string" + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\nDeprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.\nDeprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type\nare redirected to the csi.vsphere.vmware.com CSI driver.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + } + } + } + } + }, + "walCompression": { + "description": "Configures compression of the write-ahead log (WAL) using Snappy.\n\nWAL compression is enabled by default for Prometheus >= 2.20.0\n\nRequires Prometheus v2.11.0 and above.", + "type": "boolean" + }, + "web": { + "description": "Defines the configuration of the Prometheus web server.", + "type": "object", + "properties": { + "httpConfig": { + "description": "Defines HTTP parameters for web server.", + "type": "object", + "properties": { + "headers": { + "description": "List of headers that can be added to HTTP responses.", + "type": "object", + "properties": { + "contentSecurityPolicy": { + "description": "Set the Content-Security-Policy header to HTTP responses.\nUnset if blank.", + "type": "string" + }, + "strictTransportSecurity": { + "description": "Set the Strict-Transport-Security header to HTTP responses.\nUnset if blank.\nPlease make sure that you use this with care as this header might force\nbrowsers to load Prometheus and the other applications hosted on the same\ndomain and subdomains over HTTPS.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security", + "type": "string" + }, + "xContentTypeOptions": { + "description": "Set the X-Content-Type-Options header to HTTP responses.\nUnset if blank. Accepted value is nosniff.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options", + "type": "string", + "enum": [ + "", + "NoSniff" + ] + }, + "xFrameOptions": { + "description": "Set the X-Frame-Options header to HTTP responses.\nUnset if blank. Accepted values are deny and sameorigin.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options", + "type": "string", + "enum": [ + "", + "Deny", + "SameOrigin" + ] + }, + "xXSSProtection": { + "description": "Set the X-XSS-Protection header to all responses.\nUnset if blank.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection", + "type": "string" + } + } + }, + "http2": { + "description": "Enable HTTP/2 support. Note that HTTP/2 is only supported with TLS.\nWhen TLSConfig is not configured, HTTP/2 will be disabled.\nWhenever the value of the field changes, a rolling update will be triggered.", + "type": "boolean" + } + } + }, + "maxConnections": { + "description": "Defines the maximum number of simultaneous connections\nA zero value means that Prometheus doesn't accept any incoming connection.", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "pageTitle": { + "description": "The prometheus web page title.", + "type": "string" + }, + "tlsConfig": { + "description": "Defines the TLS parameters for HTTPS.", + "type": "object", + "properties": { + "cert": { + "description": "Secret or ConfigMap containing the TLS certificate for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `certFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "certFile": { + "description": "Path to the TLS certificate file in the container for the web server.\n\nEither `keySecret` or `keyFile` must be defined.\n\nIt is mutually exclusive with `cert`.", + "type": "string" + }, + "cipherSuites": { + "description": "List of supported cipher suites for TLS versions up to TLS 1.2.\n\nIf not defined, the Go default cipher suites are used.\nAvailable cipher suites are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#pkg-constants", + "type": "array", + "items": { + "type": "string" + } + }, + "clientAuthType": { + "description": "The server policy for client TLS authentication.\n\nFor more detail on clientAuth options:\nhttps://golang.org/pkg/crypto/tls/#ClientAuthType", + "type": "string" + }, + "clientCAFile": { + "description": "Path to the CA certificate file for client certificate authentication to\nthe server.\n\nIt is mutually exclusive with `client_ca`.", + "type": "string" + }, + "client_ca": { + "description": "Secret or ConfigMap containing the CA certificate for client certificate\nauthentication to the server.\n\nIt is mutually exclusive with `clientCAFile`.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "curvePreferences": { + "description": "Elliptic curves that will be used in an ECDHE handshake, in preference\norder.\n\nAvailable curves are documented in the Go documentation:\nhttps://golang.org/pkg/crypto/tls/#CurveID", + "type": "array", + "items": { + "type": "string" + } + }, + "keyFile": { + "description": "Path to the TLS private key file in the container for the web server.\n\nIf defined, either `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keySecret`.", + "type": "string" + }, + "keySecret": { + "description": "Secret containing the TLS private key for the web server.\n\nEither `cert` or `certFile` must be defined.\n\nIt is mutually exclusive with `keyFile`.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum TLS version that is acceptable.", + "type": "string" + }, + "minVersion": { + "description": "Minimum TLS version that is acceptable.", + "type": "string" + }, + "preferServerCipherSuites": { + "description": "Controls whether the server selects the client's most preferred cipher\nsuite, or the server's most preferred cipher suite.\n\nIf true then the server's preference, as expressed in\nthe order of elements in cipherSuites, is used.", + "type": "boolean" + } + } + } + } + } + }, + "x-kubernetes-validations": [ + { + "message": "replicas cannot be set when mode is DaemonSet", + "rule": "!(has(self.mode) && self.mode == 'DaemonSet' && has(self.replicas))" + }, + { + "message": "storage cannot be set when mode is DaemonSet", + "rule": "!(has(self.mode) && self.mode == 'DaemonSet' && has(self.storage))" + }, + { + "message": "shards cannot be greater than 1 when mode is DaemonSet", + "rule": "!(has(self.mode) && self.mode == 'DaemonSet' && has(self.shards) && self.shards > 1)" + }, + { + "message": "persistentVolumeClaimRetentionPolicy cannot be set when mode is DaemonSet", + "rule": "!(has(self.mode) && self.mode == 'DaemonSet' && has(self.persistentVolumeClaimRetentionPolicy))" + }, + { + "message": "scrapeConfigSelector cannot be set when mode is DaemonSet", + "rule": "!(has(self.mode) && self.mode == 'DaemonSet' && has(self.scrapeConfigSelector))" + }, + { + "message": "probeSelector cannot be set when mode is DaemonSet", + "rule": "!(has(self.mode) && self.mode == 'DaemonSet' && has(self.probeSelector))" + } + ] + }, + "status": { + "description": "Most recent observed status of the Prometheus cluster. Read-only.\nMore info:\nhttps://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "availableReplicas", + "paused", + "replicas", + "unavailableReplicas", + "updatedReplicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds)\ntargeted by this Prometheus deployment.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "The current state of the Prometheus deployment.", + "type": "array", + "items": { + "description": "Condition represents the state of the resources associated with the\nPrometheus, Alertmanager or ThanosRuler resource.", + "type": "object", + "required": [ + "lastTransitionTime", + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the time of the last update to the current status property.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details for the condition's last transition.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration represents the .metadata.generation that the\ncondition was set based upon. For instance, if `.metadata.generation` is\ncurrently 12, but the `.status.conditions[].observedGeneration` is 9, the\ncondition is out of date with respect to the current state of the\ninstance.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition.", + "type": "string", + "minLength": 1 + }, + "type": { + "description": "Type of the condition being reported.", + "type": "string", + "minLength": 1 + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "paused": { + "description": "Represents whether any actions on the underlying managed objects are\nbeing performed. Only delete actions will be performed.", + "type": "boolean" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this Prometheus deployment\n(their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "The selector used to match the pods targeted by this Prometheus resource.", + "type": "string" + }, + "shardStatuses": { + "description": "The list has one entry per shard. Each entry provides a summary of the shard status.", + "type": "array", + "items": { + "type": "object", + "required": [ + "availableReplicas", + "replicas", + "shardID", + "unavailableReplicas", + "updatedReplicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds)\ntargeted by this shard.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Total number of pods targeted by this shard.", + "type": "integer", + "format": "int32" + }, + "shardID": { + "description": "Identifier of the shard.", + "type": "string" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this shard.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this shard\nthat have the desired spec.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-map-keys": [ + "shardID" + ], + "x-kubernetes-list-type": "map" + }, + "shards": { + "description": "Shards is the most recently observed number of shards.", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this Prometheus deployment.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this Prometheus deployment\nthat have the desired version spec.", + "type": "integer", + "format": "int32" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgent", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1alpha1.PrometheusAgentList": { + "description": "PrometheusAgentList is a list of PrometheusAgent", + "type": "object", + "required": [ + "items" + ], + "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": "List of prometheusagents. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.PrometheusAgent" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "PrometheusAgentList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1alpha1.ScrapeConfig": { + "description": "ScrapeConfig defines a namespaced Prometheus scrape_config to be aggregated across\nmultiple namespaces into the Prometheus configuration.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "ScrapeConfigSpec is a specification of the desired configuration for a scrape configuration.", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header to use on every scrape request.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "azureSDConfigs": { + "description": "AzureSDConfigs defines a list of Azure service discovery configurations.", + "type": "array", + "items": { + "description": "AzureSDConfig allow retrieving scrape targets from Azure VMs.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#azure_sd_config", + "type": "object", + "required": [ + "subscriptionID" + ], + "properties": { + "authenticationMethod": { + "description": "# The authentication method, either `OAuth` or `ManagedIdentity` or `SDK`.\nSee https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview\nSDK authentication method uses environment variables by default.\nSee https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication", + "type": "string", + "enum": [ + "OAuth", + "ManagedIdentity", + "SDK" + ] + }, + "authorization": { + "description": "Authorization header configuration to authenticate against the target HTTP endpoint.\nCannot be set at the same time as `oAuth2`, or `basicAuth`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to authenticate against the target HTTP endpoint.\nMore info: https://prometheus.io/docs/operating/configuration/#endpoints\nCannot be set at the same time as `authorization`, or `oAuth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientID": { + "description": "Optional client ID. Only required with the OAuth authentication method.", + "type": "string", + "minLength": 1 + }, + "clientSecret": { + "description": "Optional client secret. Only required with the OAuth authentication method.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "environment": { + "description": "The Azure environment.", + "type": "string", + "minLength": 1 + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration to authenticate against the target HTTP endpoint.\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "The port to scrape metrics from. If using the public IP address, this must\ninstead be specified in the relabeling rule.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "RefreshInterval configures the refresh interval at which Prometheus will re-read the instance list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "resourceGroup": { + "description": "Optional resource group name. Limits discovery to this resource group.\nRequires Prometheus v2.35.0 and above", + "type": "string", + "minLength": 1 + }, + "subscriptionID": { + "description": "The subscription ID. Always required.", + "type": "string", + "minLength": 1 + }, + "tenantID": { + "description": "Optional tenant ID. Only required with the OAuth authentication method.", + "type": "string", + "minLength": 1 + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "consulSDConfigs": { + "description": "ConsulSDConfigs defines a list of Consul service discovery configurations.", + "type": "array", + "items": { + "description": "ConsulSDConfig defines a Consul service discovery configuration\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#consul_sd_config", + "type": "object", + "required": [ + "server" + ], + "properties": { + "allowStale": { + "description": "Allow stale Consul results (see https://www.consul.io/api/features/consistency.html). Will reduce load on Consul.\nIf unset, Prometheus uses its default value.", + "type": "boolean" + }, + "authorization": { + "description": "Optional Authorization header configuration to authenticate against the Consul Server.\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "Optional BasicAuth information to authenticate against the Consul Server.\nMore info: https://prometheus.io/docs/operating/configuration/#endpoints\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "datacenter": { + "description": "Consul Datacenter name, if not provided it will use the local Consul Agent Datacenter.", + "type": "string", + "minLength": 1 + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.\nIf unset, Prometheus uses its default value.", + "type": "boolean" + }, + "filter": { + "description": "Filter expression used to filter the catalog results.\nSee https://www.consul.io/api-docs/catalog#list-services\nIt requires Prometheus >= 3.0.0.", + "type": "string", + "minLength": 1 + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.\nIf unset, Prometheus uses its default value.", + "type": "boolean" + }, + "namespace": { + "description": "Namespaces are only supported in Consul Enterprise.\n\nIt requires Prometheus >= 2.28.0.", + "type": "string", + "minLength": 1 + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "nodeMeta": { + "description": "Node metadata key/value pairs to filter nodes for a given service.\nStarting with Consul 1.14, it is recommended to use `filter` with the `NodeMeta` selector instead.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "oauth2": { + "description": "Optional OAuth2.0 configuration.\nCannot be set at the same time as `basicAuth`, or `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "partition": { + "description": "Admin Partitions are only supported in Consul Enterprise.", + "type": "string", + "minLength": 1 + }, + "pathPrefix": { + "description": "Prefix for URIs for when consul is behind an API gateway (reverse proxy).\n\nIt requires Prometheus >= 2.45.0.", + "type": "string", + "minLength": 1 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "The time after which the provided names are refreshed.\nOn large setup it might be a good idea to increase this value because the catalog will change all the time.\nIf unset, Prometheus uses its default value.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "scheme": { + "description": "HTTP Scheme default \"http\"", + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + "server": { + "description": "Consul server address. A valid string consisting of a hostname or IP followed by an optional port number.", + "type": "string", + "minLength": 1 + }, + "services": { + "description": "A list of services for which targets are retrieved. If omitted, all services are scraped.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "tagSeparator": { + "description": "The string by which Consul tags are joined into the tag label.\nIf unset, Prometheus uses its default value.", + "type": "string", + "minLength": 1 + }, + "tags": { + "description": "An optional list of tags used to filter nodes for a given service. Services must contain all tags in the list.\nStarting with Consul 1.14, it is recommended to use `filter` with the `ServiceTags` selector instead.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "tlsConfig": { + "description": "TLS configuration to connect to the Consul API.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenRef": { + "description": "Consul ACL TokenRef, if not provided it will use the ACL from the local Consul Agent.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "convertClassicHistogramsToNHCB": { + "description": "Whether to convert all scraped classic histograms into a native histogram with custom buckets.\nIt requires Prometheus >= v3.0.0.", + "type": "boolean" + }, + "digitalOceanSDConfigs": { + "description": "DigitalOceanSDConfigs defines a list of DigitalOcean service discovery configurations.", + "type": "array", + "items": { + "description": "DigitalOceanSDConfig allow retrieving scrape targets from DigitalOcean's Droplets API.\nThis service discovery uses the public IPv4 address by default, by that can be changed with relabeling\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#digitalocean_sd_config", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration to authenticate against the DigitalOcean API.\nCannot be set at the same time as `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "The port to scrape metrics from.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Refresh interval to re-read the instance list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "dnsSDConfigs": { + "description": "DNSSDConfigs defines a list of DNS service discovery configurations.", + "type": "array", + "items": { + "description": "DNSSDConfig allows specifying a set of DNS domain names which are periodically queried to discover a list of targets.\nThe DNS servers to be contacted are read from /etc/resolv.conf.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config", + "type": "object", + "required": [ + "names" + ], + "properties": { + "names": { + "description": "A list of DNS domain names to be queried.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + } + }, + "port": { + "description": "The port number used if the query type is not SRV\nIgnored for SRV records", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "refreshInterval": { + "description": "RefreshInterval configures the time after which the provided names are refreshed.\nIf not set, Prometheus uses its default value.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "type": { + "description": "The type of DNS query to perform. One of SRV, A, AAAA, MX or NS.\nIf not set, Prometheus uses its default value.\n\nWhen set to NS, it requires Prometheus >= v2.49.0.\nWhen set to MX, it requires Prometheus >= v2.38.0", + "type": "string", + "enum": [ + "A", + "AAAA", + "MX", + "NS", + "SRV" + ] + } + } + } + }, + "dockerSDConfigs": { + "description": "DockerSDConfigs defines a list of Docker service discovery configurations.", + "type": "array", + "items": { + "description": "Docker SD configurations allow retrieving scrape targets from Docker Engine hosts.\nThis SD discovers \"containers\" and will create a target for each network IP and\nport the container is configured to expose.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#docker_sd_config", + "type": "object", + "required": [ + "host" + ], + "properties": { + "authorization": { + "description": "Authorization header configuration to authenticate against the Docker API.\nCannot be set at the same time as `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "filters": { + "description": "Optional filters to limit the discovery process to a subset of the available resources.", + "type": "array", + "items": { + "description": "Filter name and value pairs to limit the discovery process to a subset of available resources.", + "type": "object", + "required": [ + "name", + "values" + ], + "properties": { + "name": { + "description": "Name of the Filter.", + "type": "string" + }, + "values": { + "description": "Value to filter on.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "host": { + "description": "Address of the docker daemon", + "type": "string", + "minLength": 1 + }, + "hostNetworkingHost": { + "description": "The host to use if the container is in host networking mode.", + "type": "string", + "minLength": 1 + }, + "matchFirstNetwork": { + "description": "Configure whether to match the first network if the container has multiple networks defined.\nIf unset, Prometheus uses true by default.\nIt requires Prometheus >= v2.54.1.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "The port to scrape metrics from.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Time after which the container is refreshed.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "dockerSwarmSDConfigs": { + "description": "DockerswarmSDConfigs defines a list of Dockerswarm service discovery configurations.", + "type": "array", + "items": { + "description": "DockerSwarmSDConfig configurations allow retrieving scrape targets from Docker Swarm engine.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dockerswarm_sd_config", + "type": "object", + "required": [ + "host", + "role" + ], + "properties": { + "authorization": { + "description": "Authorization header configuration to authenticate against the target HTTP endpoint.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "Optional HTTP basic authentication information.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "filters": { + "description": "Optional filters to limit the discovery process to a subset of available\nresources.\nThe available filters are listed in the upstream documentation:\nServices: https://docs.docker.com/engine/api/v1.40/#operation/ServiceList\nTasks: https://docs.docker.com/engine/api/v1.40/#operation/TaskList\nNodes: https://docs.docker.com/engine/api/v1.40/#operation/NodeList", + "type": "array", + "items": { + "description": "Filter name and value pairs to limit the discovery process to a subset of available resources.", + "type": "object", + "required": [ + "name", + "values" + ], + "properties": { + "name": { + "description": "Name of the Filter.", + "type": "string" + }, + "values": { + "description": "Value to filter on.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "host": { + "description": "Address of the Docker daemon", + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*://.+$" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "The port to scrape metrics from, when `role` is nodes, and for discovered\ntasks and services that don't have published ports.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "The time after which the service discovery data is refreshed.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "role": { + "description": "Role of the targets to retrieve. Must be `Services`, `Tasks`, or `Nodes`.", + "type": "string", + "enum": [ + "Services", + "Tasks", + "Nodes" + ] + }, + "tlsConfig": { + "description": "TLS configuration to use on every scrape request", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "ec2SDConfigs": { + "description": "EC2SDConfigs defines a list of EC2 service discovery configurations.", + "type": "array", + "items": { + "description": "EC2SDConfig allow retrieving scrape targets from AWS EC2 instances.\nThe private IP address is used by default, but may be changed to the public IP address with relabeling.\nThe IAM credentials used must have the ec2:DescribeInstances permission to discover scrape targets\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ec2_sd_config\n\nThe EC2 service discovery requires AWS API keys or role ARN for authentication.\nBasicAuth, Authorization and OAuth2 fields are not present on purpose.", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.\nIt requires Prometheus >= v2.41.0", + "type": "boolean" + }, + "filters": { + "description": "Filters can be used optionally to filter the instance list by other criteria.\nAvailable filter criteria can be found here:\nhttps://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html\nFilter API documentation: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Filter.html\nIt requires Prometheus >= v2.3.0", + "type": "array", + "items": { + "description": "Filter name and value pairs to limit the discovery process to a subset of available resources.", + "type": "object", + "required": [ + "name", + "values" + ], + "properties": { + "name": { + "description": "Name of the Filter.", + "type": "string" + }, + "values": { + "description": "Value to filter on.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.\nIt requires Prometheus >= v2.41.0", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "port": { + "description": "The port to scrape metrics from. If using the public IP address, this must\ninstead be specified in the relabeling rule.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "RefreshInterval configures the refresh interval at which Prometheus will re-read the instance list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "region": { + "description": "The AWS region.", + "type": "string", + "minLength": 1 + }, + "roleARN": { + "description": "AWS Role ARN, an alternative to using AWS API keys.", + "type": "string", + "minLength": 1 + }, + "secretKey": { + "description": "SecretKey is the AWS API secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tlsConfig": { + "description": "TLS configuration to connect to the AWS EC2 API.\nIt requires Prometheus >= v2.41.0", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "enableCompression": { + "description": "When false, Prometheus will request uncompressed response from the scraped target.\n\nIt requires Prometheus >= v2.49.0.\n\nIf unset, Prometheus uses true by default.", + "type": "boolean" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "eurekaSDConfigs": { + "description": "EurekaSDConfigs defines a list of Eureka service discovery configurations.", + "type": "array", + "items": { + "description": "Eureka SD configurations allow retrieving scrape targets using the Eureka REST API.\nPrometheus will periodically check the REST endpoint and create a target for every app instance.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#eureka_sd_config", + "type": "object", + "required": [ + "server" + ], + "properties": { + "authorization": { + "description": "Authorization header to use on every scrape request.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization` or `basic_auth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Refresh interval to re-read the instance list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "server": { + "description": "The URL to connect to the Eureka server.", + "type": "string", + "minLength": 1 + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "fallbackScrapeProtocol": { + "description": "The protocol to use if a scrape returns blank, unparseable, or otherwise invalid Content-Type.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "fileSDConfigs": { + "description": "FileSDConfigs defines a list of file service discovery configurations.", + "type": "array", + "items": { + "description": "FileSDConfig defines a Prometheus file service discovery configuration\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#file_sd_config", + "type": "object", + "required": [ + "files" + ], + "properties": { + "files": { + "description": "List of files to be used for file discovery. Recommendation: use absolute paths. While relative paths work, the\nprometheus-operator project makes no guarantees about the working directory where the configuration file is\nstored.\nFiles must be mounted using Prometheus.ConfigMaps or Prometheus.Secrets.", + "type": "array", + "minItems": 1, + "items": { + "description": "SDFile represents a file used for service discovery", + "type": "string", + "pattern": "^[^*]*(\\*[^/]*)?\\.(json|yml|yaml|JSON|YML|YAML)$" + }, + "x-kubernetes-list-type": "set" + }, + "refreshInterval": { + "description": "RefreshInterval configures the refresh interval at which Prometheus will reload the content of the files.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + } + } + } + }, + "gceSDConfigs": { + "description": "GCESDConfigs defines a list of GCE service discovery configurations.", + "type": "array", + "items": { + "description": "GCESDConfig configures scrape targets from GCP GCE instances.\nThe private IP address is used by default, but may be changed to\nthe public IP address with relabeling.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#gce_sd_config\n\nThe GCE service discovery will load the Google Cloud credentials\nfrom the file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable.\nSee https://cloud.google.com/kubernetes-engine/docs/tutorials/authenticating-to-cloud-platform\n\nA pre-requisite for using GCESDConfig is that a Secret containing valid\nGoogle Cloud credentials is mounted into the Prometheus or PrometheusAgent\npod via the `.spec.secrets` field and that the GOOGLE_APPLICATION_CREDENTIALS\nenvironment variable is set to /etc/prometheus/secrets//.", + "type": "object", + "required": [ + "project", + "zone" + ], + "properties": { + "filter": { + "description": "Filter can be used optionally to filter the instance list by other criteria\nSyntax of this filter is described in the filter query parameter section:\nhttps://cloud.google.com/compute/docs/reference/latest/instances/list", + "type": "string", + "minLength": 1 + }, + "port": { + "description": "The port to scrape metrics from. If using the public IP address, this must\ninstead be specified in the relabeling rule.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "project": { + "description": "The Google Cloud Project ID", + "type": "string", + "minLength": 1 + }, + "refreshInterval": { + "description": "RefreshInterval configures the refresh interval at which Prometheus will re-read the instance list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tagSeparator": { + "description": "The tag separator is used to separate the tags on concatenation", + "type": "string", + "minLength": 1 + }, + "zone": { + "description": "The zone of the scrape targets. If you need multiple zones use multiple GCESDConfigs.", + "type": "string", + "minLength": 1 + } + } + } + }, + "hetznerSDConfigs": { + "description": "HetznerSDConfigs defines a list of Hetzner service discovery configurations.", + "type": "array", + "items": { + "description": "HetznerSDConfig allow retrieving scrape targets from Hetzner Cloud API and Robot API.\nThis service discovery uses the public IPv4 address by default, but that can be changed with relabeling\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#hetzner_sd_config", + "type": "object", + "required": [ + "role" + ], + "properties": { + "authorization": { + "description": "Authorization header configuration, required when role is hcloud.\nRole robot does not support bearer token authentication.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request, required when role is robot.\nRole hcloud does not support basic auth.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "labelSelector": { + "description": "Label selector used to filter the servers when fetching them from the API.\nIt requires Prometheus >= v3.5.0.", + "type": "string", + "minLength": 1 + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be used at the same time as `basic_auth` or `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "The port to scrape metrics from.", + "type": "integer" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "The time after which the servers are refreshed.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "role": { + "description": "The Hetzner role of entities that should be discovered.", + "type": "string", + "enum": [ + "hcloud", + "Hcloud", + "robot", + "Robot" + ] + }, + "tlsConfig": { + "description": "TLS configuration to use on every scrape request.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "honorLabels": { + "description": "HonorLabels chooses the metric's labels on collisions with target labels.", + "type": "boolean" + }, + "honorTimestamps": { + "description": "HonorTimestamps controls whether Prometheus respects the timestamps present in scraped data.", + "type": "boolean" + }, + "httpSDConfigs": { + "description": "HTTPSDConfigs defines a list of HTTP service discovery configurations.", + "type": "array", + "items": { + "description": "HTTPSDConfig defines a prometheus HTTP service discovery configuration\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config", + "type": "object", + "required": [ + "url" + ], + "properties": { + "authorization": { + "description": "Authorization header configuration to authenticate against the target HTTP endpoint.\nCannot be set at the same time as `oAuth2`, or `basicAuth`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to authenticate against the target HTTP endpoint.\nMore info: https://prometheus.io/docs/operating/configuration/#endpoints\nCannot be set at the same time as `authorization`, or `oAuth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration to authenticate against the target HTTP endpoint.\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "RefreshInterval configures the refresh interval at which Prometheus will re-query the\nendpoint to update the target list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "url": { + "description": "URL from which the targets are fetched.", + "type": "string", + "minLength": 1, + "pattern": "^http(s)?://.+$" + } + } + } + }, + "ionosSDConfigs": { + "description": "IonosSDConfigs defines a list of IONOS service discovery configurations.", + "type": "array", + "items": { + "description": "IonosSDConfig configurations allow retrieving scrape targets from IONOS resources.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ionos_sd_config", + "type": "object", + "required": [ + "authorization", + "datacenterID" + ], + "properties": { + "authorization": { + "description": "Authorization` header configuration, required when using IONOS.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "datacenterID": { + "description": "The unique ID of the IONOS data center.", + "type": "string", + "minLength": 1 + }, + "enableHTTP2": { + "description": "Configure whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether the HTTP requests should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Configure whether to enable OAuth2.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "Port to scrape the metrics from.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Refresh interval to re-read the list of resources.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the IONOS API.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "jobName": { + "description": "The value of the `job` label assigned to the scraped metrics by default.\n\nThe `job_name` field in the rendered scrape configuration is always controlled by the\noperator to prevent duplicate job names, which Prometheus does not allow. Instead the\n`job` label is set by means of relabeling configs.", + "type": "string", + "minLength": 1 + }, + "keepDroppedTargets": { + "description": "Per-scrape limit on the number of targets dropped by relabeling\nthat will be kept in memory. 0 means no limit.\n\nIt requires Prometheus >= v2.47.0.", + "type": "integer", + "format": "int64" + }, + "kubernetesSDConfigs": { + "description": "KubernetesSDConfigs defines a list of Kubernetes service discovery configurations.", + "type": "array", + "items": { + "description": "KubernetesSDConfig allows retrieving scrape targets from Kubernetes' REST API.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kubernetes_sd_config", + "type": "object", + "required": [ + "role" + ], + "properties": { + "apiServer": { + "description": "The API server address consisting of a hostname or IP address followed\nby an optional port number.\nIf left empty, Prometheus is assumed to run inside\nof the cluster. It will discover API servers automatically and use the pod's\nCA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.", + "type": "string", + "minLength": 1 + }, + "attachMetadata": { + "description": "Optional metadata to attach to discovered targets.\nIt requires Prometheus >= v2.35.0 when using the `Pod` role and\nPrometheus >= v2.37.0 for `Endpoints` and `Endpointslice` roles.", + "type": "object", + "properties": { + "node": { + "description": "Attaches node metadata to discovered targets.\nWhen set to true, Prometheus must have the `get` permission on the\n`Nodes` objects.\nOnly valid for Pod, Endpoint and Endpointslice roles.", + "type": "boolean" + } + } + }, + "authorization": { + "description": "Authorization header to use on every scrape request.\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request.\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "namespaces": { + "description": "Optional namespace discovery. If omitted, Prometheus discovers targets across all namespaces.", + "type": "object", + "properties": { + "names": { + "description": "List of namespaces where to watch for resources.\nIf empty and `ownNamespace` isn't true, Prometheus watches for resources in all namespaces.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "ownNamespace": { + "description": "Includes the namespace in which the Prometheus pod runs to the list of watched namespaces.", + "type": "boolean" + } + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "role": { + "description": "Role of the Kubernetes entities that should be discovered.\nRole `Endpointslice` requires Prometheus >= v2.21.0", + "type": "string", + "enum": [ + "Pod", + "Endpoints", + "Ingress", + "Service", + "Node", + "EndpointSlice" + ] + }, + "selectors": { + "description": "Selector to select objects.\nIt requires Prometheus >= v2.17.0", + "type": "array", + "items": { + "description": "K8SSelectorConfig is Kubernetes Selector Config", + "type": "object", + "required": [ + "role" + ], + "properties": { + "field": { + "description": "An optional field selector to limit the service discovery to resources which have fields with specific values.\ne.g: `metadata.name=foobar`", + "type": "string", + "minLength": 1 + }, + "label": { + "description": "An optional label selector to limit the service discovery to resources with specific labels and label values.\ne.g: `node.kubernetes.io/instance-type=master`", + "type": "string", + "minLength": 1 + }, + "role": { + "description": "Role specifies the type of Kubernetes resource to limit the service discovery to.\nAccepted values are: Node, Pod, Endpoints, EndpointSlice, Service, Ingress.", + "type": "string", + "enum": [ + "Pod", + "Endpoints", + "Ingress", + "Service", + "Node", + "EndpointSlice" + ] + } + } + }, + "x-kubernetes-list-map-keys": [ + "role" + ], + "x-kubernetes-list-type": "map" + }, + "tlsConfig": { + "description": "TLS configuration to connect to the Kubernetes API.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "kumaSDConfigs": { + "description": "KumaSDConfigs defines a list of Kuma service discovery configurations.", + "type": "array", + "items": { + "description": "KumaSDConfig allow retrieving scrape targets from Kuma's control plane.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#kuma_sd_config", + "type": "object", + "required": [ + "server" + ], + "properties": { + "authorization": { + "description": "Authorization header to use on every scrape request.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientID": { + "description": "Client id is used by Kuma Control Plane to compute Monitoring Assignment for specific Prometheus backend.", + "type": "string" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "fetchTimeout": { + "description": "The time after which the monitoring assignments are refreshed.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization`, or `basicAuth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "The time to wait between polling update requests.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "server": { + "description": "Address of the Kuma Control Plane's MADS xDS server.", + "type": "string", + "minLength": 1 + }, + "tlsConfig": { + "description": "TLS configuration to use on every scrape request", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "labelLimit": { + "description": "Per-scrape limit on number of labels that will be accepted for a sample.\nOnly valid in Prometheus versions 2.27.0 and newer.", + "type": "integer", + "format": "int64" + }, + "labelNameLengthLimit": { + "description": "Per-scrape limit on length of labels name that will be accepted for a sample.\nOnly valid in Prometheus versions 2.27.0 and newer.", + "type": "integer", + "format": "int64" + }, + "labelValueLengthLimit": { + "description": "Per-scrape limit on length of labels value that will be accepted for a sample.\nOnly valid in Prometheus versions 2.27.0 and newer.", + "type": "integer", + "format": "int64" + }, + "lightSailSDConfigs": { + "description": "LightsailSDConfigs defines a list of Lightsail service discovery configurations.", + "type": "array", + "items": { + "description": "LightSailSDConfig configurations allow retrieving scrape targets from AWS Lightsail instances.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#lightsail_sd_config", + "type": "object", + "properties": { + "accessKey": { + "description": "AccessKey is the AWS API key.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "authorization": { + "description": "Optional `authorization` HTTP header configuration.\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "Optional HTTP basic authentication information.\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Configure whether to enable HTTP2.", + "type": "boolean" + }, + "endpoint": { + "description": "Custom endpoint to be used.", + "type": "string", + "minLength": 1 + }, + "followRedirects": { + "description": "Configure whether the HTTP requests should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth2.0 configuration.\nCannot be set at the same time as `basicAuth`, or `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "Port to scrape the metrics from.\nIf using the public IP address, this must instead be specified in the relabeling rule.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Refresh interval to re-read the list of instances.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "region": { + "description": "The AWS region.", + "type": "string", + "minLength": 1 + }, + "roleARN": { + "description": "AWS Role ARN, an alternative to using AWS API keys.", + "type": "string" + }, + "secretKey": { + "description": "SecretKey is the AWS API secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tlsConfig": { + "description": "TLS configuration to connect to the Puppet DB.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "linodeSDConfigs": { + "description": "LinodeSDConfigs defines a list of Linode service discovery configurations.", + "type": "array", + "items": { + "description": "LinodeSDConfig configurations allow retrieving scrape targets from Linode's Linode APIv4.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#linode_sd_config", + "type": "object", + "properties": { + "authorization": { + "description": "Authorization header configuration.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be used at the same time as `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "Default port to scrape metrics from.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Time after which the linode instances are refreshed.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "region": { + "description": "Optional region to filter on.", + "type": "string", + "minLength": 1 + }, + "tagSeparator": { + "description": "The string by which Linode Instance tags are joined into the tag label.", + "type": "string", + "minLength": 1 + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "metricRelabelings": { + "description": "MetricRelabelConfigs to apply to samples before ingestion.", + "type": "array", + "minItems": 1, + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "metricsPath": { + "description": "MetricsPath HTTP path to scrape for metrics. If empty, Prometheus uses the default value (e.g. /metrics).", + "type": "string", + "minLength": 1 + }, + "nameEscapingScheme": { + "description": "Metric name escaping mode to request through content negotiation.\n\nIt requires Prometheus >= v3.4.0.", + "type": "string", + "enum": [ + "AllowUTF8", + "Underscores", + "Dots", + "Values" + ] + }, + "nameValidationScheme": { + "description": "Specifies the validation scheme for metric and label names.\n\nIt requires Prometheus >= v3.0.0.", + "type": "string", + "enum": [ + "UTF8", + "Legacy" + ] + }, + "nativeHistogramBucketLimit": { + "description": "If there are more than this many buckets in a native histogram,\nbuckets will be merged to stay within the limit.\nIt requires Prometheus >= v2.45.0.", + "type": "integer", + "format": "int64" + }, + "nativeHistogramMinBucketFactor": { + "description": "If the growth factor of one bucket to the next is smaller than this,\nbuckets will be merged to increase the factor sufficiently.\nIt requires Prometheus >= v2.50.0.", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "nomadSDConfigs": { + "description": "NomadSDConfigs defines a list of Nomad service discovery configurations.", + "type": "array", + "items": { + "description": "NomadSDConfig configurations allow retrieving scrape targets from Nomad's Service API.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#nomad_sd_config", + "type": "object", + "required": [ + "server" + ], + "properties": { + "allowStale": { + "description": "The information to access the Nomad API. It is to be defined\nas the Nomad documentation requires.", + "type": "boolean" + }, + "authorization": { + "description": "Authorization header to use on every scrape request.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "BasicAuth information to use on every scrape request.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "namespace": { + "type": "string" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth 2.0 configuration.\nCannot be set at the same time as `authorization` or `basic_auth`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Duration is a valid time duration that can be parsed by Prometheus model.ParseDuration() function.\nSupported units: y, w, d, h, m, s, ms\nExamples: `30s`, `1m`, `1h20m15s`, `15d`", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "region": { + "type": "string" + }, + "server": { + "type": "string", + "minLength": 1 + }, + "tagSeparator": { + "type": "string" + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + } + } + } + }, + "oauth2": { + "description": "OAuth2 configuration to use on every scrape request.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "openstackSDConfigs": { + "description": "OpenStackSDConfigs defines a list of OpenStack service discovery configurations.", + "type": "array", + "items": { + "description": "OpenStackSDConfig allow retrieving scrape targets from OpenStack Nova instances.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#openstack_sd_config", + "type": "object", + "required": [ + "region", + "role" + ], + "properties": { + "allTenants": { + "description": "Whether the service discovery should list all instances for all projects.\nIt is only relevant for the 'instance' role and usually requires admin permissions.", + "type": "boolean" + }, + "applicationCredentialId": { + "description": "ApplicationCredentialID", + "type": "string" + }, + "applicationCredentialName": { + "description": "The ApplicationCredentialID or ApplicationCredentialName fields are\nrequired if using an application credential to authenticate. Some providers\nallow you to create an application credential to authenticate rather than a\npassword.", + "type": "string", + "minLength": 1 + }, + "applicationCredentialSecret": { + "description": "The applicationCredentialSecret field is required if using an application\ncredential to authenticate.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "availability": { + "description": "Availability of the endpoint to connect to.", + "type": "string", + "enum": [ + "Public", + "public", + "Admin", + "admin", + "Internal", + "internal" + ] + }, + "domainID": { + "description": "DomainID", + "type": "string", + "minLength": 1 + }, + "domainName": { + "description": "At most one of domainId and domainName must be provided if using username\nwith Identity V3. Otherwise, either are optional.", + "type": "string", + "minLength": 1 + }, + "identityEndpoint": { + "description": "IdentityEndpoint specifies the HTTP endpoint that is required to work with\nthe Identity API of the appropriate version.", + "type": "string", + "pattern": "^http(s)?:\\/\\/.+$" + }, + "password": { + "description": "Password for the Identity V2 and V3 APIs. Consult with your provider's\ncontrol panel to discover your account's preferred method of authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "port": { + "description": "The port to scrape metrics from. If using the public IP address, this must\ninstead be specified in the relabeling rule.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "projectID": { + "description": " ProjectID", + "type": "string", + "minLength": 1 + }, + "projectName": { + "description": "The ProjectId and ProjectName fields are optional for the Identity V2 API.\nSome providers allow you to specify a ProjectName instead of the ProjectId.\nSome require both. Your provider's authentication policies will determine\nhow these fields influence authentication.", + "type": "string", + "minLength": 1 + }, + "refreshInterval": { + "description": "Refresh interval to re-read the instance list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "region": { + "description": "The OpenStack Region.", + "type": "string", + "minLength": 1 + }, + "role": { + "description": "The OpenStack role of entities that should be discovered.\n\nNote: The `LoadBalancer` role requires Prometheus >= v3.2.0.", + "type": "string", + "enum": [ + "Instance", + "Hypervisor", + "LoadBalancer" + ] + }, + "tlsConfig": { + "description": "TLS configuration applying to the target HTTP endpoint.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "userid": { + "description": "UserID", + "type": "string", + "minLength": 1 + }, + "username": { + "description": "Username is required if using Identity V2 API. Consult with your provider's\ncontrol panel to discover your account's username.\nIn Identity V3, either userid or a combination of username\nand domainId or domainName are needed", + "type": "string", + "minLength": 1 + } + } + } + }, + "ovhcloudSDConfigs": { + "description": "OVHCloudSDConfigs defines a list of OVHcloud service discovery configurations.", + "type": "array", + "items": { + "description": "OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config", + "type": "object", + "required": [ + "applicationKey", + "applicationSecret", + "consumerKey", + "service" + ], + "properties": { + "applicationKey": { + "description": "Access key to use. https://api.ovh.com.", + "type": "string", + "minLength": 1 + }, + "applicationSecret": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "consumerKey": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpoint": { + "description": "Custom endpoint to be used.", + "type": "string", + "minLength": 1 + }, + "refreshInterval": { + "description": "Refresh interval to re-read the resources list.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "service": { + "description": "Service of the targets to retrieve. Must be `VPS` or `DedicatedServer`.", + "type": "string" + } + } + } + }, + "params": { + "description": "Optional HTTP URL parameters", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "puppetDBSDConfigs": { + "description": "PuppetDBSDConfigs defines a list of PuppetDB service discovery configurations.", + "type": "array", + "items": { + "description": "PuppetDBSDConfig configurations allow retrieving scrape targets from PuppetDB resources.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#puppetdb_sd_config", + "type": "object", + "required": [ + "query", + "url" + ], + "properties": { + "authorization": { + "description": "Optional `authorization` HTTP header configuration.\nCannot be set at the same time as `basicAuth`, or `oauth2`.", + "type": "object", + "properties": { + "credentials": { + "description": "Selects a key of a Secret in the namespace that contains the credentials for authentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "type": { + "description": "Defines the authentication type. The value is case-insensitive.\n\n\"Basic\" is not a supported value.\n\nDefault: \"Bearer\"", + "type": "string" + } + } + }, + "basicAuth": { + "description": "Optional HTTP basic authentication information.\nCannot be set at the same time as `authorization`, or `oauth2`.", + "type": "object", + "properties": { + "password": { + "description": "`password` specifies a key of a Secret containing the password for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "username": { + "description": "`username` specifies a key of a Secret containing the username for\nauthentication.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "enableHTTP2": { + "description": "Configure whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether the HTTP requests should follow HTTP 3xx redirects.", + "type": "boolean" + }, + "includeParameters": { + "description": "Whether to include the parameters as meta labels.\nNote: Enabling this exposes parameters in the Prometheus UI and API. Make sure\nthat you don't have secrets exposed as parameters if you enable this.", + "type": "boolean" + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "oauth2": { + "description": "Optional OAuth2.0 configuration.\nCannot be set at the same time as `basicAuth`, or `authorization`.", + "type": "object", + "required": [ + "clientId", + "clientSecret", + "tokenUrl" + ], + "properties": { + "clientId": { + "description": "`clientId` specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "clientSecret": { + "description": "`clientSecret` specifies a key of a Secret containing the OAuth2\nclient's secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "endpointParams": { + "description": "`endpointParams` configures the HTTP parameters to append to the token\nURL.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "scopes": { + "description": "`scopes` defines the OAuth2 scopes used for the token request.", + "type": "array", + "items": { + "type": "string" + } + }, + "tlsConfig": { + "description": "TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "tokenUrl": { + "description": "`tokenURL` configures the URL to fetch the token from.", + "type": "string", + "minLength": 1 + } + } + }, + "port": { + "description": "Port to scrape the metrics from.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "query": { + "description": "Puppet Query Language (PQL) query. Only resources are supported.\nhttps://puppet.com/docs/puppetdb/latest/api/query/v4/pql.html", + "type": "string", + "minLength": 1 + }, + "refreshInterval": { + "description": "Refresh interval to re-read the list of resources.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "tlsConfig": { + "description": "TLS configuration to connect to the Puppet DB.", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "url": { + "description": "The URL of the PuppetDB root query endpoint.", + "type": "string", + "minLength": 1, + "pattern": "^http(s)?://.+$" + } + } + } + }, + "relabelings": { + "description": "RelabelConfigs defines how to rewrite the target's labels before scraping.\nPrometheus Operator automatically adds relabelings for a few standard Kubernetes fields.\nThe original scrape job's name is available via the `__tmp_prometheus_job_name` label.\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "array", + "minItems": 1, + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "sampleLimit": { + "description": "SampleLimit defines per-scrape limit on number of scraped samples that will be accepted.", + "type": "integer", + "format": "int64" + }, + "scalewaySDConfigs": { + "description": "ScalewaySDConfigs defines a list of Scaleway instances and baremetal service discovery configurations.", + "type": "array", + "items": { + "description": "ScalewaySDConfig configurations allow retrieving scrape targets from Scaleway instances and baremetal services.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scaleway_sd_config", + "type": "object", + "required": [ + "accessKey", + "projectID", + "role", + "secretKey" + ], + "properties": { + "accessKey": { + "description": "Access key to use. https://console.scaleway.com/project/credentials", + "type": "string", + "minLength": 1 + }, + "apiURL": { + "description": "API URL to use when doing the server listing requests.", + "type": "string", + "pattern": "^http(s)?://.+$" + }, + "enableHTTP2": { + "description": "Whether to enable HTTP2.", + "type": "boolean" + }, + "followRedirects": { + "description": "Configure whether HTTP requests follow HTTP 3xx redirects.", + "type": "boolean" + }, + "nameFilter": { + "description": "NameFilter specify a name filter (works as a LIKE) to apply on the server listing request.", + "type": "string", + "minLength": 1 + }, + "noProxy": { + "description": "`noProxy` is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "string" + }, + "port": { + "description": "The port to scrape metrics from.", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 0 + }, + "projectID": { + "description": "Project ID of the targets.", + "type": "string", + "minLength": 1 + }, + "proxyConnectHeader": { + "description": "ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "proxyFromEnvironment": { + "description": "Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\n\nIt requires Prometheus >= v2.43.0, Alertmanager >= v0.25.0 or Thanos >= v0.32.0.", + "type": "boolean" + }, + "proxyUrl": { + "description": "`proxyURL` defines the HTTP proxy server to use.", + "type": "string", + "pattern": "^(http|https|socks5)://.+$" + }, + "refreshInterval": { + "description": "Refresh interval to re-read the list of instances.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "role": { + "description": "Service of the targets to retrieve. Must be `Instance` or `Baremetal`.", + "type": "string", + "enum": [ + "Instance", + "Baremetal" + ] + }, + "secretKey": { + "description": "Secret key to use when listing targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tagsFilter": { + "description": "TagsFilter specify a tag filter (a server needs to have all defined tags to be listed) to apply on the server listing request.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + }, + "x-kubernetes-list-type": "set" + }, + "tlsConfig": { + "description": "TLS configuration to use on every scrape request", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "zone": { + "description": "Zone is the availability zone of your targets (e.g. fr-par-1).", + "type": "string", + "minLength": 1 + } + } + } + }, + "scheme": { + "description": "Configures the protocol scheme used for requests.\nIf empty, Prometheus uses HTTP by default.", + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + "scrapeClass": { + "description": "The scrape class to apply.", + "type": "string", + "minLength": 1 + }, + "scrapeClassicHistograms": { + "description": "Whether to scrape a classic histogram that is also exposed as a native histogram.\nIt requires Prometheus >= v2.45.0.\n\nNotice: `scrapeClassicHistograms` corresponds to the `always_scrape_classic_histograms` field in the Prometheus configuration.", + "type": "boolean" + }, + "scrapeInterval": { + "description": "ScrapeInterval is the interval between consecutive scrapes.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "scrapeProtocols": { + "description": "The protocols to negotiate during a scrape. It tells clients the\nprotocols supported by Prometheus in order of preference (from most to least preferred).\n\nIf unset, Prometheus uses its default value.\n\nIt requires Prometheus >= v2.49.0.", + "type": "array", + "minItems": 1, + "items": { + "description": "ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.\nSupported values are:\n* `OpenMetricsText0.0.1`\n* `OpenMetricsText1.0.0`\n* `PrometheusProto`\n* `PrometheusText0.0.4`\n* `PrometheusText1.0.0`", + "type": "string", + "enum": [ + "PrometheusProto", + "OpenMetricsText0.0.1", + "OpenMetricsText1.0.0", + "PrometheusText0.0.4", + "PrometheusText1.0.0" + ] + }, + "x-kubernetes-list-type": "set" + }, + "scrapeTimeout": { + "description": "ScrapeTimeout is the number of seconds to wait until a scrape request times out.\nThe value cannot be greater than the scrape interval otherwise the operator will reject the resource.", + "type": "string", + "pattern": "^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$" + }, + "staticConfigs": { + "description": "StaticConfigs defines a list of static targets with a common label set.", + "type": "array", + "items": { + "description": "StaticConfig defines a Prometheus static configuration.\nSee https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config", + "type": "object", + "required": [ + "targets" + ], + "properties": { + "labels": { + "description": "Labels assigned to all metrics scraped from the targets.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "targets": { + "description": "List of targets for this static configuration.", + "type": "array", + "minItems": 1, + "items": { + "description": "Target represents a target for Prometheus to scrape\nkubebuilder:validation:MinLength:=1", + "type": "string" + }, + "x-kubernetes-list-type": "set" + } + } + } + }, + "targetLimit": { + "description": "TargetLimit defines a limit on the number of scraped targets that will be accepted.", + "type": "integer", + "format": "int64" + }, + "tlsConfig": { + "description": "TLS configuration to use on every scrape request", + "type": "object", + "properties": { + "ca": { + "description": "Certificate authority used when verifying server certificates.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "cert": { + "description": "Client certificate to present when doing client-authentication.", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secret": { + "description": "Secret containing data to use for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "insecureSkipVerify": { + "description": "Disable target certificate validation.", + "type": "boolean" + }, + "keySecret": { + "description": "Secret containing the client key file for the targets.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "maxVersion": { + "description": "Maximum acceptable TLS version.\n\nIt requires Prometheus >= v2.41.0 or Thanos >= v0.31.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "minVersion": { + "description": "Minimum acceptable TLS version.\n\nIt requires Prometheus >= v2.35.0 or Thanos >= v0.28.0.", + "type": "string", + "enum": [ + "TLS10", + "TLS11", + "TLS12", + "TLS13" + ] + }, + "serverName": { + "description": "Used to verify the hostname for the targets.", + "type": "string" + } + } + }, + "trackTimestampsStaleness": { + "description": "TrackTimestampsStaleness whether Prometheus tracks staleness of\nthe metrics that have an explicit timestamp present in scraped data.\nHas no effect if `honorTimestamps` is false.\nIt requires Prometheus >= v2.48.0.", + "type": "boolean" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfig", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "com.coreos.monitoring.v1alpha1.ScrapeConfigList": { + "description": "ScrapeConfigList is a list of ScrapeConfig", + "type": "object", + "required": [ + "items" + ], + "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": "List of scrapeconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/com.coreos.monitoring.v1alpha1.ScrapeConfig" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "monitoring.coreos.com", + "kind": "ScrapeConfigList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.autoscaling.v1alpha1.Metric": { + "description": "Metric represents a resource to configure the metric collector with.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Metric (from the client).", + "type": "object", + "required": [ + "panicWindow", + "scrapeTarget", + "stableWindow" + ], + "properties": { + "panicWindow": { + "description": "PanicWindow is the aggregation window for metrics where quick reactions are needed.", + "type": "integer", + "format": "int64" + }, + "scrapeTarget": { + "description": "ScrapeTarget is the K8s service that publishes the metric endpoint.", + "type": "string" + }, + "stableWindow": { + "description": "StableWindow is the aggregation window for metrics in a stable state.", + "type": "integer", + "format": "int64" + } + } + }, + "status": { + "description": "Status communicates the observed state of the Metric (from the controller).", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling.internal.knative.dev", + "kind": "Metric", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.autoscaling.v1alpha1.MetricList": { + "description": "MetricList is a list of Metric", + "type": "object", + "required": [ + "items" + ], + "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": "List of metrics. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.Metric" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling.internal.knative.dev", + "kind": "MetricList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler": { + "description": "PodAutoscaler is a Knative abstraction that encapsulates the interface by which Knative\ncomponents instantiate autoscalers. This definition is an abstraction that may be backed\nby multiple definitions. For more information, see the Knative Pluggability presentation:\nhttps://docs.google.com/presentation/d/19vW9HFZ6Puxt31biNZF3uLRejDmu82rxJIk1cWmxF7w/edit", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the PodAutoscaler (from the client).", + "type": "object", + "required": [ + "protocolType", + "scaleTargetRef" + ], + "properties": { + "containerConcurrency": { + "description": "ContainerConcurrency specifies the maximum allowed\nin-flight (concurrent) requests per container of the Revision.\nDefaults to `0` which means unlimited concurrency.", + "type": "integer", + "format": "int64" + }, + "protocolType": { + "description": "The application-layer protocol. Matches `ProtocolType` inferred from the revision spec.", + "type": "string" + }, + "reachability": { + "description": "Reachability specifies whether or not the `ScaleTargetRef` can be reached (ie. has a route).\nDefaults to `ReachabilityUnknown`", + "type": "string" + }, + "scaleTargetRef": { + "description": "ScaleTargetRef defines the /scale-able resource that this PodAutoscaler\nis responsible for quickly right-sizing.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "status": { + "description": "Status communicates the observed state of the PodAutoscaler (from the controller).", + "type": "object", + "required": [ + "metricsServiceName", + "serviceName" + ], + "properties": { + "actualScale": { + "description": "ActualScale shows the actual number of replicas for the revision.", + "type": "integer", + "format": "int32" + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "desiredScale": { + "description": "DesiredScale shows the current desired number of replicas for the revision.", + "type": "integer", + "format": "int32" + }, + "metricsServiceName": { + "description": "MetricsServiceName is the K8s Service name that provides revision metrics.\nThe service is managed by the PA object.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "serviceName": { + "description": "ServiceName is the K8s Service name that serves the revision, scaled by this PA.\nThe service is created and owned by the ServerlessService object owned by this PA.", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscaler", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.autoscaling.v1alpha1.PodAutoscalerList": { + "description": "PodAutoscalerList is a list of PodAutoscaler", + "type": "object", + "required": [ + "items" + ], + "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": "List of podautoscalers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling.internal.knative.dev", + "kind": "PodAutoscalerList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.caching.v1alpha1.Image": { + "description": "Image is a Knative abstraction that encapsulates the interface by which Knative\ncomponents express a desire to have a particular image cached.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Image (from the client).", + "type": "object", + "required": [ + "image" + ], + "properties": { + "image": { + "description": "Image is the name of the container image url to cache across the cluster.", + "type": "string" + }, + "imagePullSecrets": { + "description": "ImagePullSecrets contains the names of the Kubernetes Secrets containing login\ninformation used by the Pods which will run this container.", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the Kubernetes ServiceAccount as which the Pods\nwill run this container. This is potentially used to authenticate the image pull\nif the service account has attached pull secrets. For more information:\nhttps://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account", + "type": "string" + } + } + }, + "status": { + "description": "Status communicates the observed state of the Image (from the controller).", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "caching.internal.knative.dev", + "kind": "Image", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.caching.v1alpha1.ImageList": { + "description": "ImageList is a list of Image", + "type": "object", + "required": [ + "items" + ], + "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": "List of images. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.caching.v1alpha1.Image" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "caching.internal.knative.dev", + "kind": "ImageList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.Certificate": { + "description": "Certificate is responsible for provisioning a SSL certificate for the\ngiven hosts. It is a Knative abstraction for various SSL certificate\nprovisioning solutions (such as cert-manager or self-signed SSL certificate).", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec is the desired state of the Certificate.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "dnsNames", + "secretName" + ], + "properties": { + "dnsNames": { + "description": "DNSNames is a list of DNS names the Certificate could support.\nThe wildcard format of DNSNames (e.g. *.default.example.com) is supported.", + "type": "array", + "items": { + "type": "string" + } + }, + "domain": { + "description": "Domain is the top level domain of the values for DNSNames.", + "type": "string" + }, + "secretName": { + "description": "SecretName is the name of the secret resource to store the SSL certificate in.", + "type": "string" + } + } + }, + "status": { + "description": "Status is the current state of the Certificate.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "http01Challenges": { + "description": "HTTP01Challenges is a list of HTTP01 challenges that need to be fulfilled\nin order to get the TLS certificate..", + "type": "array", + "items": { + "description": "HTTP01Challenge defines the status of a HTTP01 challenge that a certificate needs\nto fulfill.", + "type": "object", + "properties": { + "serviceName": { + "description": "ServiceName is the name of the service to serve HTTP01 challenge requests.", + "type": "string" + }, + "serviceNamespace": { + "description": "ServiceNamespace is the namespace of the service to serve HTTP01 challenge requests.", + "type": "string" + }, + "servicePort": { + "description": "ServicePort is the port of the service to serve HTTP01 challenge requests.", + "x-kubernetes-int-or-string": true + }, + "url": { + "description": "URL is the URL that the HTTP01 challenge is expected to serve on.", + "type": "string" + } + } + } + }, + "notAfter": { + "description": "The expiration time of the TLS certificate stored in the secret named\nby this resource in spec.secretName.", + "type": "string", + "format": "date-time" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "Certificate", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.CertificateList": { + "description": "CertificateList is a list of Certificate", + "type": "object", + "required": [ + "items" + ], + "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": "List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Certificate" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "CertificateList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.ClusterDomainClaim": { + "description": "ClusterDomainClaim is a cluster-wide reservation for a particular domain name.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec is the desired state of the ClusterDomainClaim.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "namespace" + ], + "properties": { + "namespace": { + "description": "Namespace is the namespace which is allowed to create a DomainMapping\nusing this ClusterDomainClaim's name.", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaim", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.ClusterDomainClaimList": { + "description": "ClusterDomainClaimList is a list of ClusterDomainClaim", + "type": "object", + "required": [ + "items" + ], + "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": "List of clusterdomainclaims. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ClusterDomainClaim" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "ClusterDomainClaimList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.Ingress": { + "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined\nby a backend. An Ingress can be configured to give services externally-reachable URLs, load\nbalance traffic, offer name based virtual hosting, etc.\n\n\nThis is heavily based on K8s Ingress https://godoc.org/k8s.io/api/networking/v1beta1#Ingress\nwhich some highlighted modifications.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec is the desired state of the Ingress.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "httpOption": { + "description": "HTTPOption is the option of HTTP. It has the following two values:\n`HTTPOptionEnabled`, `HTTPOptionRedirected`", + "type": "string" + }, + "rules": { + "description": "A list of host rules used to configure the Ingress.", + "type": "array", + "items": { + "description": "IngressRule represents the rules mapping the paths under a specified host to\nthe related backend services. Incoming requests are first evaluated for a host\nmatch, then routed to the backend associated with the matching IngressRuleValue.", + "type": "object", + "properties": { + "hosts": { + "description": "Host is the fully qualified domain name of a network host, as defined\nby RFC 3986. Note the following deviations from the \"host\" part of the\nURI as defined in the RFC:\n1. IPs are not allowed. Currently a rule value can only apply to the\n\t IP in the Spec of the parent .\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future.\nIf the host is unspecified, the Ingress routes all traffic based on the\nspecified IngressRuleValue.\nIf multiple matching Hosts were provided, the first rule will take precedent.", + "type": "array", + "items": { + "type": "string" + } + }, + "http": { + "description": "HTTP represents a rule to apply against incoming requests. If the\nrule is satisfied, the request is routed to the specified backend.", + "type": "object", + "required": [ + "paths" + ], + "properties": { + "paths": { + "description": "A collection of paths that map requests to backends.\n\n\nIf they are multiple matching paths, the first match takes precedence.", + "type": "array", + "items": { + "description": "HTTPIngressPath associates a path regex with a backend. Incoming URLs matching\nthe path are forwarded to the backend.", + "type": "object", + "required": [ + "splits" + ], + "properties": { + "appendHeaders": { + "description": "AppendHeaders allow specifying additional HTTP headers to add\nbefore forwarding a request to the destination service.\n\n\nNOTE: This differs from K8s Ingress which doesn't allow header appending.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "headers": { + "description": "Headers defines header matching rules which is a map from a header name\nto HeaderMatch which specify a matching condition.\nWhen a request matched with all the header matching rules,\nthe request is routed by the corresponding ingress rule.\nIf it is empty, the headers are not used for matching", + "type": "object", + "additionalProperties": { + "description": "HeaderMatch represents a matching value of Headers in HTTPIngressPath.\nCurrently, only the exact matching is supported.", + "type": "object", + "required": [ + "exact" + ], + "properties": { + "exact": { + "type": "string" + } + } + } + }, + "path": { + "description": "Path represents a literal prefix to which this rule should apply.\nCurrently it can contain characters disallowed from the conventional\n\"path\" part of a URL as defined by RFC 3986. Paths must begin with\na '/'. If unspecified, the path defaults to a catch all sending\ntraffic to the backend.", + "type": "string" + }, + "rewriteHost": { + "description": "RewriteHost rewrites the incoming request's host header.\n\n\nThis field is currently experimental and not supported by all Ingress\nimplementations.", + "type": "string" + }, + "splits": { + "description": "Splits defines the referenced service endpoints to which the traffic\nwill be forwarded to.", + "type": "array", + "items": { + "description": "IngressBackendSplit describes all endpoints for a given service and port.", + "type": "object", + "required": [ + "serviceName", + "serviceNamespace", + "servicePort" + ], + "properties": { + "appendHeaders": { + "description": "AppendHeaders allow specifying additional HTTP headers to add\nbefore forwarding a request to the destination service.\n\n\nNOTE: This differs from K8s Ingress which doesn't allow header appending.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "percent": { + "description": "Specifies the split percentage, a number between 0 and 100. If\nonly one split is specified, we default to 100.\n\n\nNOTE: This differs from K8s Ingress to allow percentage split.", + "type": "integer" + }, + "serviceName": { + "description": "Specifies the name of the referenced service.", + "type": "string" + }, + "serviceNamespace": { + "description": "Specifies the namespace of the referenced service.\n\n\nNOTE: This differs from K8s Ingress to allow routing to different namespaces.", + "type": "string" + }, + "servicePort": { + "description": "Specifies the port of the referenced service.", + "x-kubernetes-int-or-string": true + } + } + } + } + } + } + } + } + }, + "visibility": { + "description": "Visibility signifies whether this rule should `ClusterLocal`. If it's not\nspecified then it defaults to `ExternalIP`.", + "type": "string" + } + } + } + }, + "tls": { + "description": "TLS configuration. Currently Ingress only supports a single TLS\nport: 443. If multiple members of this list specify different hosts, they\nwill be multiplexed on the same port according to the hostname specified\nthrough the SNI TLS extension, if the ingress controller fulfilling the\ningress supports SNI.", + "type": "array", + "items": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "type": "object", + "properties": { + "hosts": { + "description": "Hosts is a list of hosts included in the TLS certificate. The values in\nthis list must match the name/s used in the tlsSecret. Defaults to the\nwildcard host setting for the loadbalancer controller fulfilling this\nIngress, if left unspecified.", + "type": "array", + "items": { + "type": "string" + } + }, + "secretName": { + "description": "SecretName is the name of the secret used to terminate SSL traffic.", + "type": "string" + }, + "secretNamespace": { + "description": "SecretNamespace is the namespace of the secret used to terminate SSL traffic.\nIf not set the namespace should be assumed to be the same as the Ingress.\nIf set the secret should have the same namespace as the Ingress otherwise\nthe behaviour is undefined and not supported.", + "type": "string" + } + } + } + } + } + }, + "status": { + "description": "Status is the current state of the Ingress.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "privateLoadBalancer": { + "description": "PrivateLoadBalancer contains the current status of the load-balancer.", + "type": "object", + "properties": { + "ingress": { + "description": "Ingress is a list containing ingress points for the load-balancer.\nTraffic intended for the service should be sent to these ingress points.", + "type": "array", + "items": { + "description": "LoadBalancerIngressStatus represents the status of a load-balancer ingress point:\ntraffic intended for the service should be sent to an ingress point.", + "type": "object", + "properties": { + "domain": { + "description": "Domain is set for load-balancer ingress points that are DNS based\n(typically AWS load-balancers)", + "type": "string" + }, + "domainInternal": { + "description": "DomainInternal is set if there is a cluster-local DNS name to access the Ingress.\n\n\nNOTE: This differs from K8s Ingress, since we also desire to have a cluster-local\n DNS name to allow routing in case of not having a mesh.", + "type": "string" + }, + "ip": { + "description": "IP is set for load-balancer ingress points that are IP based\n(typically GCE or OpenStack load-balancers)", + "type": "string" + }, + "meshOnly": { + "description": "MeshOnly is set if the Ingress is only load-balanced through a Service mesh.", + "type": "boolean" + } + } + } + } + } + }, + "publicLoadBalancer": { + "description": "PublicLoadBalancer contains the current status of the load-balancer.", + "type": "object", + "properties": { + "ingress": { + "description": "Ingress is a list containing ingress points for the load-balancer.\nTraffic intended for the service should be sent to these ingress points.", + "type": "array", + "items": { + "description": "LoadBalancerIngressStatus represents the status of a load-balancer ingress point:\ntraffic intended for the service should be sent to an ingress point.", + "type": "object", + "properties": { + "domain": { + "description": "Domain is set for load-balancer ingress points that are DNS based\n(typically AWS load-balancers)", + "type": "string" + }, + "domainInternal": { + "description": "DomainInternal is set if there is a cluster-local DNS name to access the Ingress.\n\n\nNOTE: This differs from K8s Ingress, since we also desire to have a cluster-local\n DNS name to allow routing in case of not having a mesh.", + "type": "string" + }, + "ip": { + "description": "IP is set for load-balancer ingress points that are IP based\n(typically GCE or OpenStack load-balancers)", + "type": "string" + }, + "meshOnly": { + "description": "MeshOnly is set if the Ingress is only load-balanced through a Service mesh.", + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "Ingress", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.IngressList": { + "description": "IngressList is a list of Ingress", + "type": "object", + "required": [ + "items" + ], + "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": "List of ingresses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.Ingress" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "IngressList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.ServerlessService": { + "description": "ServerlessService is a proxy for the K8s service objects containing the\nendpoints for the revision, whether those are endpoints of the activator or\nrevision pods.\nSee: https://knative.page.link/naxz for details.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec is the desired state of the ServerlessService.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "objectRef", + "protocolType" + ], + "properties": { + "mode": { + "description": "Mode describes the mode of operation of the ServerlessService.", + "type": "string" + }, + "numActivators": { + "description": "NumActivators contains number of Activators that this revision should be\nassigned.\nO means — assign all.", + "type": "integer", + "format": "int32" + }, + "objectRef": { + "description": "ObjectRef defines the resource that this ServerlessService\nis responsible for making \"serverless\".", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "protocolType": { + "description": "The application-layer protocol. Matches `RevisionProtocolType` set on the owning pa/revision.\nserving imports networking, so just use string.", + "type": "string" + } + } + }, + "status": { + "description": "Status is the current state of the ServerlessService.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "privateServiceName": { + "description": "PrivateServiceName holds the name of a core K8s Service resource that\nload balances over the user service pods backing this Revision.", + "type": "string" + }, + "serviceName": { + "description": "ServiceName holds the name of a core K8s Service resource that\nload balances over the pods backing this Revision (activator or revision).", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "ServerlessService", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.internal.networking.v1alpha1.ServerlessServiceList": { + "description": "ServerlessServiceList is a list of ServerlessService", + "type": "object", + "required": [ + "items" + ], + "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": "List of serverlessservices. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.internal.networking.v1alpha1.ServerlessService" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.internal.knative.dev", + "kind": "ServerlessServiceList", + "version": "v1alpha1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.Configuration": { + "description": "Configuration represents the \"floating HEAD\" of a linear history of Revisions.\nUsers create new Revisions by updating the Configuration's spec.\nThe \"latest created\" revision's name is available under status, as is the\n\"latest ready\" revision's name.\nSee also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#configuration", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "ConfigurationSpec holds the desired state of the Configuration (from the client).", + "type": "object", + "properties": { + "template": { + "description": "Template holds the latest specification for the Revision to be stamped out.", + "type": "object", + "properties": { + "metadata": { + "x-kubernetes-preserve-unknown-fields": true + }, + "spec": { + "description": "RevisionSpec holds the desired state of the Revision (from the client).", + "type": "object", + "required": [ + "containers" + ], + "properties": { + "affinity": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-affinity", + "x-kubernetes-preserve-unknown-fields": true + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" + }, + "containerConcurrency": { + "description": "ContainerConcurrency specifies the maximum allowed in-flight (concurrent)\nrequests per container of the Revision. Defaults to `0` which means\nconcurrency to the application is not limited, and the system decides the\ntarget concurrency for the autoscaler.", + "type": "integer", + "format": "int64" + }, + "containers": { + "description": "List of containers belonging to the pod.\nContainers cannot currently be added or removed.\nThere must be at least one container in a Pod.\nCannot be updated.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-fieldref", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "resourceFieldRef": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-fieldref", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "This is accessible behind a feature flag - kubernetes.containerspec-addcapabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + } + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + } + } + } + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + } + } + } + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "dnsConfig": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-dnsconfig", + "x-kubernetes-preserve-unknown-fields": true + }, + "dnsPolicy": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-dnspolicy", + "type": "string" + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Knative defaults this to false.", + "type": "boolean" + }, + "hostAliases": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-hostaliases", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-hostaliases", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "idleTimeoutSeconds": { + "description": "IdleTimeoutSeconds is the maximum duration in seconds a request will be allowed\nto stay open while not receiving any bytes from the user's application. If\nunspecified, a system default will be provided.", + "type": "integer", + "format": "int64" + }, + "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.\nIf specified, these secrets will be passed to individual puller implementations for them to use.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "List of initialization containers belonging to the pod.\nInit containers are executed in order prior to containers being started. If any\ninit container fails, the pod is considered to have failed and is handled according\nto its restartPolicy. The name for an init container or normal container must be\nunique among all containers.\nInit containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.\nThe resourceRequirements of an init container are taken into account during scheduling\nby finding the highest request/limit for each resource type, and then using the max of\nof that value or the sum of the normal containers. Limits are applied to init containers\nin a similar fashion.\nInit containers cannot currently be added or removed.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-init-containers", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "nodeSelector": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-nodeselector", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "priorityClassName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-priorityclassname", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "responseStartTimeoutSeconds": { + "description": "ResponseStartTimeoutSeconds is the maximum duration in seconds that the request\nrouting layer will wait for a request delivered to a container to begin\nsending any network traffic.", + "type": "integer", + "format": "int64" + }, + "runtimeClassName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-runtimeclassname", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "schedulerName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-schedulername", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "securityContext": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-securitycontext", + "x-kubernetes-preserve-unknown-fields": true + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "string" + }, + "shareProcessNamespace": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-shareproccessnamespace", + "type": "boolean", + "x-kubernetes-preserve-unknown-fields": true + }, + "timeoutSeconds": { + "description": "TimeoutSeconds is the maximum duration in seconds that the request instance\nis allowed to respond to a request. If unspecified, a system default will\nbe provided.", + "type": "integer", + "format": "int64" + }, + "tolerations": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-tolerations", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-tolerations", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "topologySpreadConstraints": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-topologyspreadconstraints", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-topologyspreadconstraints", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "emptyDir": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-emptydir", + "x-kubernetes-preserve-unknown-fields": true + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "persistentVolumeClaim": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-persistent-volume-claim", + "x-kubernetes-preserve-unknown-fields": true + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types", + "type": "object", + "properties": { + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + } + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + } + } + } + } + } + } + } + } + } + }, + "status": { + "description": "ConfigurationStatus communicates the observed state of the Configuration (from the controller).", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "latestCreatedRevisionName": { + "description": "LatestCreatedRevisionName is the last revision that was created from this\nConfiguration. It might not be ready yet, for that use LatestReadyRevisionName.", + "type": "string" + }, + "latestReadyRevisionName": { + "description": "LatestReadyRevisionName holds the name of the latest Revision stamped out\nfrom this Configuration that has had its \"Ready\" condition become \"True\".", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "Configuration", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.ConfigurationList": { + "description": "ConfigurationList is a list of Configuration", + "type": "object", + "required": [ + "items" + ], + "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": "List of configurations. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.serving.v1.Configuration" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "ConfigurationList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.Revision": { + "description": "Revision is an immutable snapshot of code and configuration. A revision\nreferences a container image. Revisions are created by updates to a\nConfiguration.\n\n\nSee also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#revision", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "RevisionSpec holds the desired state of the Revision (from the client).", + "type": "object", + "required": [ + "containers" + ], + "properties": { + "affinity": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-affinity", + "x-kubernetes-preserve-unknown-fields": true + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" + }, + "containerConcurrency": { + "description": "ContainerConcurrency specifies the maximum allowed in-flight (concurrent)\nrequests per container of the Revision. Defaults to `0` which means\nconcurrency to the application is not limited, and the system decides the\ntarget concurrency for the autoscaler.", + "type": "integer", + "format": "int64" + }, + "containers": { + "description": "List of containers belonging to the pod.\nContainers cannot currently be added or removed.\nThere must be at least one container in a Pod.\nCannot be updated.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-fieldref", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "resourceFieldRef": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-fieldref", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "This is accessible behind a feature flag - kubernetes.containerspec-addcapabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + } + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + } + } + } + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + } + } + } + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "dnsConfig": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-dnsconfig", + "x-kubernetes-preserve-unknown-fields": true + }, + "dnsPolicy": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-dnspolicy", + "type": "string" + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Knative defaults this to false.", + "type": "boolean" + }, + "hostAliases": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-hostaliases", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-hostaliases", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "idleTimeoutSeconds": { + "description": "IdleTimeoutSeconds is the maximum duration in seconds a request will be allowed\nto stay open while not receiving any bytes from the user's application. If\nunspecified, a system default will be provided.", + "type": "integer", + "format": "int64" + }, + "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.\nIf specified, these secrets will be passed to individual puller implementations for them to use.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "List of initialization containers belonging to the pod.\nInit containers are executed in order prior to containers being started. If any\ninit container fails, the pod is considered to have failed and is handled according\nto its restartPolicy. The name for an init container or normal container must be\nunique among all containers.\nInit containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.\nThe resourceRequirements of an init container are taken into account during scheduling\nby finding the highest request/limit for each resource type, and then using the max of\nof that value or the sum of the normal containers. Limits are applied to init containers\nin a similar fashion.\nInit containers cannot currently be added or removed.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-init-containers", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "nodeSelector": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-nodeselector", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "priorityClassName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-priorityclassname", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "responseStartTimeoutSeconds": { + "description": "ResponseStartTimeoutSeconds is the maximum duration in seconds that the request\nrouting layer will wait for a request delivered to a container to begin\nsending any network traffic.", + "type": "integer", + "format": "int64" + }, + "runtimeClassName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-runtimeclassname", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "schedulerName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-schedulername", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "securityContext": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-securitycontext", + "x-kubernetes-preserve-unknown-fields": true + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "string" + }, + "shareProcessNamespace": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-shareproccessnamespace", + "type": "boolean", + "x-kubernetes-preserve-unknown-fields": true + }, + "timeoutSeconds": { + "description": "TimeoutSeconds is the maximum duration in seconds that the request instance\nis allowed to respond to a request. If unspecified, a system default will\nbe provided.", + "type": "integer", + "format": "int64" + }, + "tolerations": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-tolerations", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-tolerations", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "topologySpreadConstraints": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-topologyspreadconstraints", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-topologyspreadconstraints", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "emptyDir": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-emptydir", + "x-kubernetes-preserve-unknown-fields": true + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "persistentVolumeClaim": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-persistent-volume-claim", + "x-kubernetes-preserve-unknown-fields": true + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types", + "type": "object", + "properties": { + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + } + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + } + } + } + } + } + }, + "status": { + "description": "RevisionStatus communicates the observed state of the Revision (from the controller).", + "type": "object", + "properties": { + "actualReplicas": { + "description": "ActualReplicas reflects the amount of ready pods running this revision.", + "type": "integer", + "format": "int32" + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "containerStatuses": { + "description": "ContainerStatuses is a slice of images present in .Spec.Container[*].Image\nto their respective digests and their container name.\nThe digests are resolved during the creation of Revision.\nContainerStatuses holds the container name and image digests\nfor both serving and non serving containers.\nref: http://bit.ly/image-digests", + "type": "array", + "items": { + "description": "ContainerStatus holds the information of container name and image digest value", + "type": "object", + "properties": { + "imageDigest": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "desiredReplicas": { + "description": "DesiredReplicas reflects the desired amount of pods running this revision.", + "type": "integer", + "format": "int32" + }, + "initContainerStatuses": { + "description": "InitContainerStatuses is a slice of images present in .Spec.InitContainer[*].Image\nto their respective digests and their container name.\nThe digests are resolved during the creation of Revision.\nContainerStatuses holds the container name and image digests\nfor both serving and non serving containers.\nref: http://bit.ly/image-digests", + "type": "array", + "items": { + "description": "ContainerStatus holds the information of container name and image digest value", + "type": "object", + "properties": { + "imageDigest": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "logUrl": { + "description": "LogURL specifies the generated logging url for this particular revision\nbased on the revision url template specified in the controller's config.", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "Revision", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.RevisionList": { + "description": "RevisionList is a list of Revision", + "type": "object", + "required": [ + "items" + ], + "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": "List of revisions. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.serving.v1.Revision" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "RevisionList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.Route": { + "description": "Route is responsible for configuring ingress over a collection of Revisions.\nSome of the Revisions a Route distributes traffic over may be specified by\nreferencing the Configuration responsible for creating them; in these cases\nthe Route is additionally responsible for monitoring the Configuration for\n\"latest ready revision\" changes, and smoothly rolling out latest revisions.\nSee also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#route", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Route (from the client).", + "type": "object", + "properties": { + "traffic": { + "description": "Traffic specifies how to distribute traffic over a collection of\nrevisions and configurations.", + "type": "array", + "items": { + "description": "TrafficTarget holds a single entry of the routing table for a Route.", + "type": "object", + "properties": { + "configurationName": { + "description": "ConfigurationName of a configuration to whose latest revision we will send\nthis portion of traffic. When the \"status.latestReadyRevisionName\" of the\nreferenced configuration changes, we will automatically migrate traffic\nfrom the prior \"latest ready\" revision to the new one. This field is never\nset in Route's status, only its spec. This is mutually exclusive with\nRevisionName.", + "type": "string" + }, + "latestRevision": { + "description": "LatestRevision may be optionally provided to indicate that the latest\nready Revision of the Configuration should be used for this traffic\ntarget. When provided LatestRevision must be true if RevisionName is\nempty; it must be false when RevisionName is non-empty.", + "type": "boolean" + }, + "percent": { + "description": "Percent indicates that percentage based routing should be used and\nthe value indicates the percent of traffic that is be routed to this\nRevision or Configuration. `0` (zero) mean no traffic, `100` means all\ntraffic.\nWhen percentage based routing is being used the follow rules apply:\n- the sum of all percent values must equal 100\n- when not specified, the implied value for `percent` is zero for\n that particular Revision or Configuration", + "type": "integer", + "format": "int64" + }, + "revisionName": { + "description": "RevisionName of a specific revision to which to send this portion of\ntraffic. This is mutually exclusive with ConfigurationName.", + "type": "string" + }, + "tag": { + "description": "Tag is optionally used to expose a dedicated url for referencing\nthis target exclusively.", + "type": "string" + }, + "url": { + "description": "URL displays the URL for accessing named traffic targets. URL is displayed in\nstatus, and is disallowed on spec. URL must contain a scheme (e.g. http://) and\na hostname, but may not contain anything else (e.g. basic auth, url path, etc.)", + "type": "string" + } + } + } + } + } + }, + "status": { + "description": "Status communicates the observed state of the Route (from the controller).", + "type": "object", + "properties": { + "address": { + "description": "Address holds the information needed for a Route to be the target of an event.", + "type": "object", + "properties": { + "CACerts": { + "description": "CACerts is the Certification Authority (CA) certificates in PEM format\naccording to https://www.rfc-editor.org/rfc/rfc7468.", + "type": "string" + }, + "audience": { + "description": "Audience is the OIDC audience for this address.", + "type": "string" + }, + "name": { + "description": "Name is the name of the address.", + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "traffic": { + "description": "Traffic holds the configured traffic distribution.\nThese entries will always contain RevisionName references.\nWhen ConfigurationName appears in the spec, this will hold the\nLatestReadyRevisionName that we last observed.", + "type": "array", + "items": { + "description": "TrafficTarget holds a single entry of the routing table for a Route.", + "type": "object", + "properties": { + "configurationName": { + "description": "ConfigurationName of a configuration to whose latest revision we will send\nthis portion of traffic. When the \"status.latestReadyRevisionName\" of the\nreferenced configuration changes, we will automatically migrate traffic\nfrom the prior \"latest ready\" revision to the new one. This field is never\nset in Route's status, only its spec. This is mutually exclusive with\nRevisionName.", + "type": "string" + }, + "latestRevision": { + "description": "LatestRevision may be optionally provided to indicate that the latest\nready Revision of the Configuration should be used for this traffic\ntarget. When provided LatestRevision must be true if RevisionName is\nempty; it must be false when RevisionName is non-empty.", + "type": "boolean" + }, + "percent": { + "description": "Percent indicates that percentage based routing should be used and\nthe value indicates the percent of traffic that is be routed to this\nRevision or Configuration. `0` (zero) mean no traffic, `100` means all\ntraffic.\nWhen percentage based routing is being used the follow rules apply:\n- the sum of all percent values must equal 100\n- when not specified, the implied value for `percent` is zero for\n that particular Revision or Configuration", + "type": "integer", + "format": "int64" + }, + "revisionName": { + "description": "RevisionName of a specific revision to which to send this portion of\ntraffic. This is mutually exclusive with ConfigurationName.", + "type": "string" + }, + "tag": { + "description": "Tag is optionally used to expose a dedicated url for referencing\nthis target exclusively.", + "type": "string" + }, + "url": { + "description": "URL displays the URL for accessing named traffic targets. URL is displayed in\nstatus, and is disallowed on spec. URL must contain a scheme (e.g. http://) and\na hostname, but may not contain anything else (e.g. basic auth, url path, etc.)", + "type": "string" + } + } + } + }, + "url": { + "description": "URL holds the url that will distribute traffic over the provided traffic targets.\nIt generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix}", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "Route", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.RouteList": { + "description": "RouteList is a list of Route", + "type": "object", + "required": [ + "items" + ], + "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": "List of routes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.serving.v1.Route" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "RouteList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.Service": { + "description": "Service acts as a top-level container that manages a Route and Configuration\nwhich implement a network service. Service exists to provide a singular\nabstraction which can be access controlled, reasoned about, and which\nencapsulates software lifecycle decisions such as rollout policy and\nteam resource ownership. Service acts only as an orchestrator of the\nunderlying Routes and Configurations (much as a kubernetes Deployment\norchestrates ReplicaSets), and its usage is optional but recommended.\n\n\nThe Service's controller will track the statuses of its owned Configuration\nand Route, reflecting their statuses and conditions as its own.\n\n\nSee also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#service", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "ServiceSpec represents the configuration for the Service object.\nA Service's specification is the union of the specifications for a Route\nand Configuration. The Service restricts what can be expressed in these\nfields, e.g. the Route must reference the provided Configuration;\nhowever, these limitations also enable friendlier defaulting,\ne.g. Route never needs a Configuration name, and may be defaulted to\nthe appropriate \"run latest\" spec.", + "type": "object", + "properties": { + "template": { + "description": "Template holds the latest specification for the Revision to be stamped out.", + "type": "object", + "properties": { + "metadata": { + "x-kubernetes-preserve-unknown-fields": true + }, + "spec": { + "description": "RevisionSpec holds the desired state of the Revision (from the client).", + "type": "object", + "required": [ + "containers" + ], + "properties": { + "affinity": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-affinity", + "x-kubernetes-preserve-unknown-fields": true + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" + }, + "containerConcurrency": { + "description": "ContainerConcurrency specifies the maximum allowed in-flight (concurrent)\nrequests per container of the Revision. Defaults to `0` which means\nconcurrency to the application is not limited, and the system decides the\ntarget concurrency for the autoscaler.", + "type": "integer", + "format": "int64" + }, + "containers": { + "description": "List of containers belonging to the pod.\nContainers cannot currently be added or removed.\nThere must be at least one container in a Pod.\nCannot be updated.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + } + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-fieldref", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "resourceFieldRef": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-fieldref", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "This is accessible behind a feature flag - kubernetes.containerspec-addcapabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + } + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + } + } + } + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies the action to take.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies an action involving a GRPC port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port.", + "type": "object", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + } + } + } + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + } + }, + "dnsConfig": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-dnsconfig", + "x-kubernetes-preserve-unknown-fields": true + }, + "dnsPolicy": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-dnspolicy", + "type": "string" + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Knative defaults this to false.", + "type": "boolean" + }, + "hostAliases": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-hostaliases", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-hostaliases", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "idleTimeoutSeconds": { + "description": "IdleTimeoutSeconds is the maximum duration in seconds a request will be allowed\nto stay open while not receiving any bytes from the user's application. If\nunspecified, a system default will be provided.", + "type": "integer", + "format": "int64" + }, + "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.\nIf specified, these secrets will be passed to individual puller implementations for them to use.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "initContainers": { + "description": "List of initialization containers belonging to the pod.\nInit containers are executed in order prior to containers being started. If any\ninit container fails, the pod is considered to have failed and is handled according\nto its restartPolicy. The name for an init container or normal container must be\nunique among all containers.\nInit containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.\nThe resourceRequirements of an init container are taken into account during scheduling\nby finding the highest request/limit for each resource type, and then using the max of\nof that value or the sum of the normal containers. Limits are applied to init containers\nin a similar fashion.\nInit containers cannot currently be added or removed.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-init-containers", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "nodeSelector": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-nodeselector", + "x-kubernetes-map-type": "atomic", + "x-kubernetes-preserve-unknown-fields": true + }, + "priorityClassName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-priorityclassname", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "responseStartTimeoutSeconds": { + "description": "ResponseStartTimeoutSeconds is the maximum duration in seconds that the request\nrouting layer will wait for a request delivered to a container to begin\nsending any network traffic.", + "type": "integer", + "format": "int64" + }, + "runtimeClassName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-runtimeclassname", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "schedulerName": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-schedulername", + "type": "string", + "x-kubernetes-preserve-unknown-fields": true + }, + "securityContext": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-securitycontext", + "x-kubernetes-preserve-unknown-fields": true + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "string" + }, + "shareProcessNamespace": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-shareproccessnamespace", + "type": "boolean", + "x-kubernetes-preserve-unknown-fields": true + }, + "timeoutSeconds": { + "description": "TimeoutSeconds is the maximum duration in seconds that the request instance\nis allowed to respond to a request. If unspecified, a system default will\nbe provided.", + "type": "integer", + "format": "int64" + }, + "tolerations": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-tolerations", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-tolerations", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "topologySpreadConstraints": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-topologyspreadconstraints", + "type": "array", + "items": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-topologyspreadconstraints", + "x-kubernetes-preserve-unknown-fields": true + } + }, + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "emptyDir": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-emptydir", + "x-kubernetes-preserve-unknown-fields": true + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "persistentVolumeClaim": { + "description": "This is accessible behind a feature flag - kubernetes.podspec-persistent-volume-claim", + "x-kubernetes-preserve-unknown-fields": true + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types", + "type": "object", + "properties": { + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + } + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + } + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + } + } + } + } + } + } + } + }, + "traffic": { + "description": "Traffic specifies how to distribute traffic over a collection of\nrevisions and configurations.", + "type": "array", + "items": { + "description": "TrafficTarget holds a single entry of the routing table for a Route.", + "type": "object", + "properties": { + "configurationName": { + "description": "ConfigurationName of a configuration to whose latest revision we will send\nthis portion of traffic. When the \"status.latestReadyRevisionName\" of the\nreferenced configuration changes, we will automatically migrate traffic\nfrom the prior \"latest ready\" revision to the new one. This field is never\nset in Route's status, only its spec. This is mutually exclusive with\nRevisionName.", + "type": "string" + }, + "latestRevision": { + "description": "LatestRevision may be optionally provided to indicate that the latest\nready Revision of the Configuration should be used for this traffic\ntarget. When provided LatestRevision must be true if RevisionName is\nempty; it must be false when RevisionName is non-empty.", + "type": "boolean" + }, + "percent": { + "description": "Percent indicates that percentage based routing should be used and\nthe value indicates the percent of traffic that is be routed to this\nRevision or Configuration. `0` (zero) mean no traffic, `100` means all\ntraffic.\nWhen percentage based routing is being used the follow rules apply:\n- the sum of all percent values must equal 100\n- when not specified, the implied value for `percent` is zero for\n that particular Revision or Configuration", + "type": "integer", + "format": "int64" + }, + "revisionName": { + "description": "RevisionName of a specific revision to which to send this portion of\ntraffic. This is mutually exclusive with ConfigurationName.", + "type": "string" + }, + "tag": { + "description": "Tag is optionally used to expose a dedicated url for referencing\nthis target exclusively.", + "type": "string" + }, + "url": { + "description": "URL displays the URL for accessing named traffic targets. URL is displayed in\nstatus, and is disallowed on spec. URL must contain a scheme (e.g. http://) and\na hostname, but may not contain anything else (e.g. basic auth, url path, etc.)", + "type": "string" + } + } + } + } + } + }, + "status": { + "description": "ServiceStatus represents the Status stanza of the Service resource.", + "type": "object", + "properties": { + "address": { + "description": "Address holds the information needed for a Route to be the target of an event.", + "type": "object", + "properties": { + "CACerts": { + "description": "CACerts is the Certification Authority (CA) certificates in PEM format\naccording to https://www.rfc-editor.org/rfc/rfc7468.", + "type": "string" + }, + "audience": { + "description": "Audience is the OIDC audience for this address.", + "type": "string" + }, + "name": { + "description": "Name is the name of the address.", + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "latestCreatedRevisionName": { + "description": "LatestCreatedRevisionName is the last revision that was created from this\nConfiguration. It might not be ready yet, for that use LatestReadyRevisionName.", + "type": "string" + }, + "latestReadyRevisionName": { + "description": "LatestReadyRevisionName holds the name of the latest Revision stamped out\nfrom this Configuration that has had its \"Ready\" condition become \"True\".", + "type": "string" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "traffic": { + "description": "Traffic holds the configured traffic distribution.\nThese entries will always contain RevisionName references.\nWhen ConfigurationName appears in the spec, this will hold the\nLatestReadyRevisionName that we last observed.", + "type": "array", + "items": { + "description": "TrafficTarget holds a single entry of the routing table for a Route.", + "type": "object", + "properties": { + "configurationName": { + "description": "ConfigurationName of a configuration to whose latest revision we will send\nthis portion of traffic. When the \"status.latestReadyRevisionName\" of the\nreferenced configuration changes, we will automatically migrate traffic\nfrom the prior \"latest ready\" revision to the new one. This field is never\nset in Route's status, only its spec. This is mutually exclusive with\nRevisionName.", + "type": "string" + }, + "latestRevision": { + "description": "LatestRevision may be optionally provided to indicate that the latest\nready Revision of the Configuration should be used for this traffic\ntarget. When provided LatestRevision must be true if RevisionName is\nempty; it must be false when RevisionName is non-empty.", + "type": "boolean" + }, + "percent": { + "description": "Percent indicates that percentage based routing should be used and\nthe value indicates the percent of traffic that is be routed to this\nRevision or Configuration. `0` (zero) mean no traffic, `100` means all\ntraffic.\nWhen percentage based routing is being used the follow rules apply:\n- the sum of all percent values must equal 100\n- when not specified, the implied value for `percent` is zero for\n that particular Revision or Configuration", + "type": "integer", + "format": "int64" + }, + "revisionName": { + "description": "RevisionName of a specific revision to which to send this portion of\ntraffic. This is mutually exclusive with ConfigurationName.", + "type": "string" + }, + "tag": { + "description": "Tag is optionally used to expose a dedicated url for referencing\nthis target exclusively.", + "type": "string" + }, + "url": { + "description": "URL displays the URL for accessing named traffic targets. URL is displayed in\nstatus, and is disallowed on spec. URL must contain a scheme (e.g. http://) and\na hostname, but may not contain anything else (e.g. basic auth, url path, etc.)", + "type": "string" + } + } + } + }, + "url": { + "description": "URL holds the url that will distribute traffic over the provided traffic targets.\nIt generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix}", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "Service", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1.ServiceList": { + "description": "ServiceList is a list of Service", + "type": "object", + "required": [ + "items" + ], + "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": "List of services. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.serving.v1.Service" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "ServiceList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1beta1.DomainMapping": { + "description": "DomainMapping is a mapping from a custom hostname to an Addressable.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec is the desired state of the DomainMapping.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "ref" + ], + "properties": { + "ref": { + "description": "Ref specifies the target of the Domain Mapping.\n\n\nThe object identified by the Ref must be an Addressable with a URL of the\nform `{name}.{namespace}.{domain}` where `{domain}` is the cluster domain,\nand `{name}` and `{namespace}` are the name and namespace of a Kubernetes\nService.\n\n\nThis contract is satisfied by Knative types such as Knative Services and\nKnative Routes, and by Kubernetes Services.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "address": { + "description": "Address points to a specific Address Name.", + "type": "string" + }, + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "group": { + "description": "Group of the API, without the version of the group. This can be used as an alternative to the APIVersion, and then resolved using ResolveGroup.\nNote: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086", + "type": "string" + }, + "kind": { + "description": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/\nThis is optional field, it gets defaulted to the object holding it if left out.", + "type": "string" + } + } + }, + "tls": { + "description": "TLS allows the DomainMapping to terminate TLS traffic with an existing secret.", + "type": "object", + "required": [ + "secretName" + ], + "properties": { + "secretName": { + "description": "SecretName is the name of the existing secret used to terminate TLS traffic.", + "type": "string" + } + } + } + } + }, + "status": { + "description": "Status is the current state of the DomainMapping.\nMore info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "address": { + "description": "Address holds the information needed for a DomainMapping to be the target of an event.", + "type": "object", + "properties": { + "CACerts": { + "description": "CACerts is the Certification Authority (CA) certificates in PEM format\naccording to https://www.rfc-editor.org/rfc/rfc7468.", + "type": "string" + }, + "audience": { + "description": "Audience is the OIDC audience for this address.", + "type": "string" + }, + "name": { + "description": "Name is the name of the address.", + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some\nadditional State as well as convey more information to the user. This is\nroughly akin to Annotations on any k8s resource, just the reconciler conveying\nricher information outwards.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "description": "Condition defines a readiness condition for a Knative resource.\nSee: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the last time the condition transitioned from one status to another.\nWe use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic\ndifferences (all other things held constant).", + "type": "string" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "severity": { + "description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of condition.", + "type": "string" + } + } + } + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that\nwas last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "url": { + "description": "URL is the URL of this DomainMapping.", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "DomainMapping", + "version": "v1beta1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "dev.knative.serving.v1beta1.DomainMappingList": { + "description": "DomainMappingList is a list of DomainMapping", + "type": "object", + "required": [ + "items" + ], + "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": "List of domainmappings. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/dev.knative.serving.v1beta1.DomainMapping" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "serving.knative.dev", + "kind": "DomainMappingList", + "version": "v1beta1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.acme.v1.Challenge": { + "description": "Challenge is a type to represent a Challenge request with an ACME server", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "type": "object", + "required": [ + "authorizationURL", + "dnsName", + "issuerRef", + "key", + "solver", + "token", + "type", + "url" + ], + "properties": { + "authorizationURL": { + "description": "The URL to the ACME Authorization resource that this\nchallenge is a part of.", + "type": "string" + }, + "dnsName": { + "description": "dnsName is the identifier that this challenge is for, e.g. example.com.\nIf the requested DNSName is a 'wildcard', this field MUST be set to the\nnon-wildcard domain, e.g. for `*.example.com`, it must be `example.com`.", + "type": "string" + }, + "issuerRef": { + "description": "References a properly configured ACME-type Issuer which should\nbe used to create this Challenge.\nIf the Issuer does not exist, processing will be retried.\nIf the Issuer is not an 'ACME' Issuer, an error will be returned and the\nChallenge will be marked as failed.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group of the resource being referred to.", + "type": "string" + }, + "kind": { + "description": "Kind of the resource being referred to.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.", + "type": "string" + } + } + }, + "key": { + "description": "The ACME challenge key for this challenge\nFor HTTP01 challenges, this is the value that must be responded with to\ncomplete the HTTP01 challenge in the format:\n`.`.\nFor DNS01 challenges, this is the base64 encoded SHA256 sum of the\n`.`\ntext that must be set as the TXT record content.", + "type": "string" + }, + "solver": { + "description": "Contains the domain solving configuration that should be used to\nsolve this challenge resource.", + "type": "object", + "properties": { + "dns01": { + "description": "Configures cert-manager to attempt to complete authorizations by\nperforming the DNS01 challenge flow.", + "type": "object", + "properties": { + "acmeDNS": { + "description": "Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage\nDNS01 challenge records.", + "type": "object", + "required": [ + "accountSecretRef", + "host" + ], + "properties": { + "accountSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "host": { + "type": "string" + } + } + }, + "akamai": { + "description": "Use the Akamai DNS zone management API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "accessTokenSecretRef", + "clientSecretSecretRef", + "clientTokenSecretRef", + "serviceConsumerDomain" + ], + "properties": { + "accessTokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientSecretSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientTokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "serviceConsumerDomain": { + "type": "string" + } + } + }, + "azureDNS": { + "description": "Use the Microsoft Azure DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "resourceGroupName", + "subscriptionID" + ], + "properties": { + "clientID": { + "description": "Auth: Azure Service Principal:\nThe ClientID of the Azure Service Principal used to authenticate with Azure DNS.\nIf set, ClientSecret and TenantID must also be set.", + "type": "string" + }, + "clientSecretSecretRef": { + "description": "Auth: Azure Service Principal:\nA reference to a Secret containing the password associated with the Service Principal.\nIf set, ClientID and TenantID must also be set.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "environment": { + "description": "name of the Azure environment (default AzurePublicCloud)", + "type": "string", + "enum": [ + "AzurePublicCloud", + "AzureChinaCloud", + "AzureGermanCloud", + "AzureUSGovernmentCloud" + ] + }, + "hostedZoneName": { + "description": "name of the DNS zone that should be used", + "type": "string" + }, + "managedIdentity": { + "description": "Auth: Azure Workload Identity or Azure Managed Service Identity:\nSettings to enable Azure Workload Identity or Azure Managed Service Identity\nIf set, ClientID, ClientSecret and TenantID must not be set.", + "type": "object", + "properties": { + "clientID": { + "description": "client ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + }, + "resourceID": { + "description": "resource ID of the managed identity, can not be used at the same time as clientID\nCannot be used for Azure Managed Service Identity", + "type": "string" + }, + "tenantID": { + "description": "tenant ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + } + } + }, + "resourceGroupName": { + "description": "resource group the DNS zone is located in", + "type": "string" + }, + "subscriptionID": { + "description": "ID of the Azure subscription", + "type": "string" + }, + "tenantID": { + "description": "Auth: Azure Service Principal:\nThe TenantID of the Azure Service Principal used to authenticate with Azure DNS.\nIf set, ClientID and ClientSecret must also be set.", + "type": "string" + } + } + }, + "cloudDNS": { + "description": "Use the Google Cloud DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "project" + ], + "properties": { + "hostedZoneName": { + "description": "HostedZoneName is an optional field that tells cert-manager in which\nCloud DNS zone the challenge record has to be created.\nIf left empty cert-manager will automatically choose a zone.", + "type": "string" + }, + "project": { + "type": "string" + }, + "serviceAccountSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "cloudflare": { + "description": "Use the Cloudflare API to manage DNS01 challenge records.", + "type": "object", + "properties": { + "apiKeySecretRef": { + "description": "API key to use to authenticate with Cloudflare.\nNote: using an API token to authenticate is now the recommended method\nas it allows greater control of permissions.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "apiTokenSecretRef": { + "description": "API token used to authenticate with Cloudflare.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "email": { + "description": "Email of the account, only required when using API key based authentication.", + "type": "string" + } + } + }, + "cnameStrategy": { + "description": "CNAMEStrategy configures how the DNS01 provider should handle CNAME\nrecords when found in DNS zones.", + "type": "string", + "enum": [ + "None", + "Follow" + ] + }, + "digitalocean": { + "description": "Use the DigitalOcean DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "tokenSecretRef" + ], + "properties": { + "tokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "rfc2136": { + "description": "Use RFC2136 (\"Dynamic Updates in the Domain Name System\") (https://datatracker.ietf.org/doc/rfc2136/)\nto manage DNS01 challenge records.", + "type": "object", + "required": [ + "nameserver" + ], + "properties": { + "nameserver": { + "description": "The IP address or hostname of an authoritative DNS server supporting\nRFC2136 in the form host:port. If the host is an IPv6 address it must be\nenclosed in square brackets (e.g [2001:db8::1]) ; port is optional.\nThis field is required.", + "type": "string" + }, + "tsigAlgorithm": { + "description": "The TSIG Algorithm configured in the DNS supporting RFC2136. Used only\nwhen ``tsigSecretSecretRef`` and ``tsigKeyName`` are defined.\nSupported values are (case-insensitive): ``HMACMD5`` (default),\n``HMACSHA1``, ``HMACSHA256`` or ``HMACSHA512``.", + "type": "string" + }, + "tsigKeyName": { + "description": "The TSIG Key name configured in the DNS.\nIf ``tsigSecretSecretRef`` is defined, this field is required.", + "type": "string" + }, + "tsigSecretSecretRef": { + "description": "The name of the secret containing the TSIG value.\nIf ``tsigKeyName`` is defined, this field is required.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "route53": { + "description": "Use the AWS Route53 API to manage DNS01 challenge records.", + "type": "object", + "properties": { + "accessKeyID": { + "description": "The AccessKeyID is used for authentication.\nCannot be set when SecretAccessKeyID is set.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "string" + }, + "accessKeyIDSecretRef": { + "description": "The SecretAccessKey is used for authentication. If set, pull the AWS\naccess key ID from a key within a Kubernetes Secret.\nCannot be set when AccessKeyID is set.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "auth": { + "description": "Auth configures how cert-manager authenticates.", + "type": "object", + "required": [ + "kubernetes" + ], + "properties": { + "kubernetes": { + "description": "Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity\nby passing a bound ServiceAccount token.", + "type": "object", + "required": [ + "serviceAccountRef" + ], + "properties": { + "serviceAccountRef": { + "description": "A reference to a service account that will be used to request a bound\ntoken (also known as \"projected token\"). To use this field, you must\nconfigure an RBAC rule to let cert-manager request a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "audiences": { + "description": "TokenAudiences is an optional list of audiences to include in the\ntoken passed to AWS. The default token consisting of the issuer's namespace\nand name is always included.\nIf unset the audience defaults to `sts.amazonaws.com`.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "Name of the ServiceAccount used to request a token.", + "type": "string" + } + } + } + } + } + } + }, + "hostedZoneID": { + "description": "If set, the provider will manage only this zone in Route53 and will not do a lookup using the route53:ListHostedZonesByName api call.", + "type": "string" + }, + "region": { + "description": "Override the AWS region.\n\nRoute53 is a global service and does not have regional endpoints but the\nregion specified here (or via environment variables) is used as a hint to\nhelp compute the correct AWS credential scope and partition when it\nconnects to Route53. See:\n- [Amazon Route 53 endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/r53.html)\n- [Global services](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/global-services.html)\n\nIf you omit this region field, cert-manager will use the region from\nAWS_REGION and AWS_DEFAULT_REGION environment variables, if they are set\nin the cert-manager controller Pod.\n\nThe `region` field is not needed if you use [IAM Roles for Service Accounts (IRSA)](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).\nInstead an AWS_REGION environment variable is added to the cert-manager controller Pod by:\n[Amazon EKS Pod Identity Webhook](https://github.com/aws/amazon-eks-pod-identity-webhook).\nIn this case this `region` field value is ignored.\n\nThe `region` field is not needed if you use [EKS Pod Identities](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).\nInstead an AWS_REGION environment variable is added to the cert-manager controller Pod by:\n[Amazon EKS Pod Identity Agent](https://github.com/aws/eks-pod-identity-agent),\nIn this case this `region` field value is ignored.", + "type": "string" + }, + "role": { + "description": "Role is a Role ARN which the Route53 provider will assume using either the explicit credentials AccessKeyID/SecretAccessKey\nor the inferred credentials from environment variables, shared credentials file or AWS Instance metadata", + "type": "string" + }, + "secretAccessKeySecretRef": { + "description": "The SecretAccessKey is used for authentication.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "webhook": { + "description": "Configure an external webhook based DNS01 challenge solver to manage\nDNS01 challenge records.", + "type": "object", + "required": [ + "groupName", + "solverName" + ], + "properties": { + "config": { + "description": "Additional configuration that should be passed to the webhook apiserver\nwhen challenges are processed.\nThis can contain arbitrary JSON data.\nSecret values should not be specified in this stanza.\nIf secret values are needed (e.g. credentials for a DNS service), you\nshould use a SecretKeySelector to reference a Secret resource.\nFor details on the schema of this field, consult the webhook provider\nimplementation's documentation.", + "x-kubernetes-preserve-unknown-fields": true + }, + "groupName": { + "description": "The API group name that should be used when POSTing ChallengePayload\nresources to the webhook apiserver.\nThis should be the same as the GroupName specified in the webhook\nprovider implementation.", + "type": "string" + }, + "solverName": { + "description": "The name of the solver to use, as defined in the webhook provider\nimplementation.\nThis will typically be the name of the provider, e.g. 'cloudflare'.", + "type": "string" + } + } + } + } + }, + "http01": { + "description": "Configures cert-manager to attempt to complete authorizations by\nperforming the HTTP01 challenge flow.\nIt is not possible to obtain certificates for wildcard domain names\n(e.g. `*.example.com`) using the HTTP01 challenge mechanism.", + "type": "object", + "properties": { + "gatewayHTTPRoute": { + "description": "The Gateway API is a sig-network community API that models service networking\nin Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will\ncreate HTTPRoutes with the specified labels in the same namespace as the challenge.\nThis solver is experimental, and fields / behaviour may change in the future.", + "type": "object", + "properties": { + "labels": { + "description": "Custom labels that will be applied to HTTPRoutes created by cert-manager\nwhile solving HTTP-01 challenges.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "parentRefs": { + "description": "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute.\ncert-manager needs to know which parentRefs should be used when creating\nthe HTTPRoute. Usually, the parentRef references a Gateway. See:\nhttps://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways", + "type": "array", + "items": { + "description": "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group is the group of the referent.\nWhen unspecified, \"gateway.networking.k8s.io\" is inferred.\nTo set the core API group (such as for a \"Service\" kind referent),\nGroup must be explicitly set to \"\" (empty string).\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + }, + "kind": { + "description": "Kind is kind of the referent.\n\nThere are two kinds of parent resources with \"Core\" support:\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\nSupport for other resources is Implementation-Specific.", + "type": "string", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" + }, + "name": { + "description": "Name is the name of the referent.\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "minLength": 1 + }, + "namespace": { + "description": "Namespace is the namespace of the referent. When unspecified, this refers\nto the local namespace of the Route.\n\nNote that there are specific rules for ParentRefs which cross namespace\nboundaries. Cross-namespace references are only valid if they are explicitly\nallowed by something in the namespace they are referring to. For example:\nGateway has the AllowedRoutes field, and ReferenceGrant provides a\ngeneric way to enable any other kind of cross-namespace reference.\n\n\nParentRefs from a Route to a Service in the same namespace are \"producer\"\nroutes, which apply default routing rules to inbound connections from\nany namespace to the Service.\n\nParentRefs from a Route to a Service in a different namespace are\n\"consumer\" routes, and these routing rules are only applied to outbound\nconnections originating from the same namespace as the Route, for which\nthe intended destination of the connections are a Service targeted as a\nParentRef of the Route.\n\n\nSupport: Core", + "type": "string", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "port": { + "description": "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\nSupport: Extended", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 1 + }, + "sectionName": { + "description": "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n* Gateway: Listener name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + } + } + } + }, + "podTemplate": { + "description": "Optional pod template used to configure the ACME challenge solver pods\nused for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "spec": { + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod.\nCheck ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields.\nAll other fields will be ignored.", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "securityContext": { + "description": "If specified, the pod's security context", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + } + } + } + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + } + } + } + } + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values\nare NodePort or ClusterIP. If unset, defaults to NodePort.", + "type": "string" + } + } + }, + "ingress": { + "description": "The ingress based HTTP01 challenge solver will solve challenges by\ncreating or modifying Ingress resources in order to route requests for\n'/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are\nprovisioned by cert-manager for each Challenge to be completed.", + "type": "object", + "properties": { + "class": { + "description": "This field configures the annotation `kubernetes.io/ingress.class` when\ncreating Ingress resources to solve ACME challenges that use this\nchallenge solver. Only one of `class`, `name` or `ingressClassName` may\nbe specified.", + "type": "string" + }, + "ingressClassName": { + "description": "This field configures the field `ingressClassName` on the created Ingress\nresources used to solve ACME challenges that use this challenge solver.\nThis is the recommended way of configuring the ingress class. Only one of\n`class`, `name` or `ingressClassName` may be specified.", + "type": "string" + }, + "ingressTemplate": { + "description": "Optional ingress template used to configure the ACME challenge solver\ningress used for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the ingress used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver ingress.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver ingress.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + }, + "name": { + "description": "The name of the ingress resource that should have ACME challenge solving\nroutes inserted into it in order to solve HTTP01 challenges.\nThis is typically used in conjunction with ingress controllers like\ningress-gce, which maintains a 1:1 mapping between external IPs and\ningress resources. Only one of `class`, `name` or `ingressClassName` may\nbe specified.", + "type": "string" + }, + "podTemplate": { + "description": "Optional pod template used to configure the ACME challenge solver pods\nused for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "spec": { + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod.\nCheck ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields.\nAll other fields will be ignored.", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "securityContext": { + "description": "If specified, the pod's security context", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + } + } + } + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + } + } + } + } + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values\nare NodePort or ClusterIP. If unset, defaults to NodePort.", + "type": "string" + } + } + } + } + }, + "selector": { + "description": "Selector selects a set of DNSNames on the Certificate resource that\nshould be solved using this challenge solver.\nIf not specified, the solver will be treated as the 'default' solver\nwith the lowest priority, i.e. if any other solver has a more specific\nmatch, it will be used instead.", + "type": "object", + "properties": { + "dnsNames": { + "description": "List of DNSNames that this solver will be used to solve.\nIf specified and a match is found, a dnsNames selector will take\nprecedence over a dnsZones selector.\nIf multiple solvers match with the same dnsNames value, the solver\nwith the most matching labels in matchLabels will be selected.\nIf neither has more matches, the solver defined earlier in the list\nwill be selected.", + "type": "array", + "items": { + "type": "string" + } + }, + "dnsZones": { + "description": "List of DNSZones that this solver will be used to solve.\nThe most specific DNS zone match specified here will take precedence\nover other DNS zone matches, so a solver specifying sys.example.com\nwill be selected over one specifying example.com for the domain\nwww.sys.example.com.\nIf multiple solvers match with the same dnsZones value, the solver\nwith the most matching labels in matchLabels will be selected.\nIf neither has more matches, the solver defined earlier in the list\nwill be selected.", + "type": "array", + "items": { + "type": "string" + } + }, + "matchLabels": { + "description": "A label selector that is used to refine the set of certificate's that\nthis challenge solver will apply to.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + }, + "token": { + "description": "The ACME challenge token for this challenge.\nThis is the raw value returned from the ACME server.", + "type": "string" + }, + "type": { + "description": "The type of ACME challenge this resource represents.\nOne of \"HTTP-01\" or \"DNS-01\".", + "type": "string", + "enum": [ + "HTTP-01", + "DNS-01" + ] + }, + "url": { + "description": "The URL of the ACME Challenge resource for this challenge.\nThis can be used to lookup details about the status of this challenge.", + "type": "string" + }, + "wildcard": { + "description": "wildcard will be true if this challenge is for a wildcard identifier,\nfor example '*.example.com'.", + "type": "boolean" + } + } + }, + "status": { + "type": "object", + "properties": { + "presented": { + "description": "presented will be set to true if the challenge values for this challenge\nare currently 'presented'.\nThis *does not* imply the self check is passing. Only that the values\nhave been 'submitted' for the appropriate challenge mechanism (i.e. the\nDNS01 TXT record has been presented, or the HTTP01 configuration has been\nconfigured).", + "type": "boolean" + }, + "processing": { + "description": "Used to denote whether this challenge should be processed or not.\nThis field will only be set to true by the 'scheduling' component.\nIt will only be set to false by the 'challenges' controller, after the\nchallenge has reached a final state or timed out.\nIf this field is set to false, the challenge controller will not take\nany more action.", + "type": "boolean" + }, + "reason": { + "description": "Contains human readable information on why the Challenge is in the\ncurrent state.", + "type": "string" + }, + "state": { + "description": "Contains the current 'state' of the challenge.\nIf not set, the state of the challenge is unknown.", + "type": "string", + "enum": [ + "valid", + "ready", + "pending", + "processing", + "invalid", + "expired", + "errored" + ] + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "acme.cert-manager.io", + "kind": "Challenge", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.acme.v1.ChallengeList": { + "description": "ChallengeList is a list of Challenge", + "type": "object", + "required": [ + "items" + ], + "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": "List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Challenge" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "acme.cert-manager.io", + "kind": "ChallengeList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.acme.v1.Order": { + "description": "Order is a type to represent an Order with an ACME server", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "type": "object", + "required": [ + "issuerRef", + "request" + ], + "properties": { + "commonName": { + "description": "CommonName is the common name as specified on the DER encoded CSR.\nIf specified, this value must also be present in `dnsNames` or `ipAddresses`.\nThis field must match the corresponding field on the DER encoded CSR.", + "type": "string" + }, + "dnsNames": { + "description": "DNSNames is a list of DNS names that should be included as part of the Order\nvalidation process.\nThis field must match the corresponding field on the DER encoded CSR.", + "type": "array", + "items": { + "type": "string" + } + }, + "duration": { + "description": "Duration is the duration for the not after date for the requested certificate.\nthis is set on order creation as pe the ACME spec.", + "type": "string" + }, + "ipAddresses": { + "description": "IPAddresses is a list of IP addresses that should be included as part of the Order\nvalidation process.\nThis field must match the corresponding field on the DER encoded CSR.", + "type": "array", + "items": { + "type": "string" + } + }, + "issuerRef": { + "description": "IssuerRef references a properly configured ACME-type Issuer which should\nbe used to create this Order.\nIf the Issuer does not exist, processing will be retried.\nIf the Issuer is not an 'ACME' Issuer, an error will be returned and the\nOrder will be marked as failed.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group of the resource being referred to.", + "type": "string" + }, + "kind": { + "description": "Kind of the resource being referred to.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.", + "type": "string" + } + } + }, + "request": { + "description": "Certificate signing request bytes in DER encoding.\nThis will be used when finalizing the order.\nThis field must be set on the order.", + "type": "string", + "format": "byte" + } + } + }, + "status": { + "type": "object", + "properties": { + "authorizations": { + "description": "Authorizations contains data returned from the ACME server on what\nauthorizations must be completed in order to validate the DNS names\nspecified on the Order.", + "type": "array", + "items": { + "description": "ACMEAuthorization contains data returned from the ACME server on an\nauthorization that must be completed in order validate a DNS name on an ACME\nOrder resource.", + "type": "object", + "required": [ + "url" + ], + "properties": { + "challenges": { + "description": "Challenges specifies the challenge types offered by the ACME server.\nOne of these challenge types will be selected when validating the DNS\nname and an appropriate Challenge resource will be created to perform\nthe ACME challenge process.", + "type": "array", + "items": { + "description": "Challenge specifies a challenge offered by the ACME server for an Order.\nAn appropriate Challenge resource can be created to perform the ACME\nchallenge process.", + "type": "object", + "required": [ + "token", + "type", + "url" + ], + "properties": { + "token": { + "description": "Token is the token that must be presented for this challenge.\nThis is used to compute the 'key' that must also be presented.", + "type": "string" + }, + "type": { + "description": "Type is the type of challenge being offered, e.g. 'http-01', 'dns-01',\n'tls-sni-01', etc.\nThis is the raw value retrieved from the ACME server.\nOnly 'http-01' and 'dns-01' are supported by cert-manager, other values\nwill be ignored.", + "type": "string" + }, + "url": { + "description": "URL is the URL of this challenge. It can be used to retrieve additional\nmetadata about the Challenge from the ACME server.", + "type": "string" + } + } + } + }, + "identifier": { + "description": "Identifier is the DNS name to be validated as part of this authorization", + "type": "string" + }, + "initialState": { + "description": "InitialState is the initial state of the ACME authorization when first\nfetched from the ACME server.\nIf an Authorization is already 'valid', the Order controller will not\ncreate a Challenge resource for the authorization. This will occur when\nworking with an ACME server that enables 'authz reuse' (such as Let's\nEncrypt's production endpoint).\nIf not set and 'identifier' is set, the state is assumed to be pending\nand a Challenge will be created.", + "type": "string", + "enum": [ + "valid", + "ready", + "pending", + "processing", + "invalid", + "expired", + "errored" + ] + }, + "url": { + "description": "URL is the URL of the Authorization that must be completed", + "type": "string" + }, + "wildcard": { + "description": "Wildcard will be true if this authorization is for a wildcard DNS name.\nIf this is true, the identifier will be the *non-wildcard* version of\nthe DNS name.\nFor example, if '*.example.com' is the DNS name being validated, this\nfield will be 'true' and the 'identifier' field will be 'example.com'.", + "type": "boolean" + } + } + } + }, + "certificate": { + "description": "Certificate is a copy of the PEM encoded certificate for this Order.\nThis field will be populated after the order has been successfully\nfinalized with the ACME server, and the order has transitioned to the\n'valid' state.", + "type": "string", + "format": "byte" + }, + "failureTime": { + "description": "FailureTime stores the time that this order failed.\nThis is used to influence garbage collection and back-off.", + "type": "string", + "format": "date-time" + }, + "finalizeURL": { + "description": "FinalizeURL of the Order.\nThis is used to obtain certificates for this order once it has been completed.", + "type": "string" + }, + "reason": { + "description": "Reason optionally provides more information about a why the order is in\nthe current state.", + "type": "string" + }, + "state": { + "description": "State contains the current state of this Order resource.\nStates 'success' and 'expired' are 'final'", + "type": "string", + "enum": [ + "valid", + "ready", + "pending", + "processing", + "invalid", + "expired", + "errored" + ] + }, + "url": { + "description": "URL of the Order.\nThis will initially be empty when the resource is first created.\nThe Order controller will populate this field when the Order is first processed.\nThis field will be immutable after it is initially set.", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "acme.cert-manager.io", + "kind": "Order", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.acme.v1.OrderList": { + "description": "OrderList is a list of Order", + "type": "object", + "required": [ + "items" + ], + "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": "List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cert-manager.acme.v1.Order" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "acme.cert-manager.io", + "kind": "OrderList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.Certificate": { + "description": "A Certificate resource should be created to ensure an up to date and signed\nX.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.\n\nThe stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired state of the Certificate resource.\nhttps://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "issuerRef", + "secretName" + ], + "properties": { + "additionalOutputFormats": { + "description": "Defines extra output formats of the private key and signed certificate chain\nto be written to this Certificate's target Secret.\n\nThis is a Beta Feature enabled by default. It can be disabled with the\n`--feature-gates=AdditionalCertificateOutputFormats=false` option set on both\nthe controller and webhook components.", + "type": "array", + "items": { + "description": "CertificateAdditionalOutputFormat defines an additional output format of a\nCertificate resource. These contain supplementary data formats of the signed\ncertificate chain and paired private key.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "description": "Type is the name of the format type that should be written to the\nCertificate's target Secret.", + "type": "string", + "enum": [ + "DER", + "CombinedPEM" + ] + } + } + } + }, + "commonName": { + "description": "Requested common name X509 certificate subject attribute.\nMore info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6\nNOTE: TLS clients will ignore this value when any subject alternative name is\nset (see https://tools.ietf.org/html/rfc6125#section-6.4.4).\n\nShould have a length of 64 characters or fewer to avoid generating invalid CSRs.\nCannot be set if the `literalSubject` field is set.", + "type": "string" + }, + "dnsNames": { + "description": "Requested DNS subject alternative names.", + "type": "array", + "items": { + "type": "string" + } + }, + "duration": { + "description": "Requested 'duration' (i.e. lifetime) of the Certificate. Note that the\nissuer may choose to ignore the requested duration, just like any other\nrequested attribute.\n\nIf unset, this defaults to 90 days.\nMinimum accepted duration is 1 hour.\nValue must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.", + "type": "string" + }, + "emailAddresses": { + "description": "Requested email subject alternative names.", + "type": "array", + "items": { + "type": "string" + } + }, + "encodeUsagesInRequest": { + "description": "Whether the KeyUsage and ExtKeyUsage extensions should be set in the encoded CSR.\n\nThis option defaults to true, and should only be disabled if the target\nissuer does not support CSRs with these X509 KeyUsage/ ExtKeyUsage extensions.", + "type": "boolean" + }, + "ipAddresses": { + "description": "Requested IP address subject alternative names.", + "type": "array", + "items": { + "type": "string" + } + }, + "isCA": { + "description": "Requested basic constraints isCA value.\nThe isCA value is used to set the `isCA` field on the created CertificateRequest\nresources. Note that the issuer may choose to ignore the requested isCA value, just\nlike any other requested attribute.\n\nIf true, this will automatically add the `cert sign` usage to the list\nof requested `usages`.", + "type": "boolean" + }, + "issuerRef": { + "description": "Reference to the issuer responsible for issuing the certificate.\nIf the issuer is namespace-scoped, it must be in the same namespace\nas the Certificate. If the issuer is cluster-scoped, it can be used\nfrom any namespace.\n\nThe `name` field of the reference must always be specified.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group of the resource being referred to.", + "type": "string" + }, + "kind": { + "description": "Kind of the resource being referred to.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.", + "type": "string" + } + } + }, + "keystores": { + "description": "Additional keystore output formats to be stored in the Certificate's Secret.", + "type": "object", + "properties": { + "jks": { + "description": "JKS configures options for storing a JKS keystore in the\n`spec.secretName` Secret resource.", + "type": "object", + "required": [ + "create" + ], + "properties": { + "alias": { + "description": "Alias specifies the alias of the key in the keystore, required by the JKS format.\nIf not provided, the default alias `certificate` will be used.", + "type": "string" + }, + "create": { + "description": "Create enables JKS keystore creation for the Certificate.\nIf true, a file named `keystore.jks` will be created in the target\nSecret resource, encrypted using the password stored in\n`passwordSecretRef` or `password`.\nThe keystore file will be updated immediately.\nIf the issuer provided a CA certificate, a file named `truststore.jks`\nwill also be created in the target Secret resource, encrypted using the\npassword stored in `passwordSecretRef`\ncontaining the issuing Certificate Authority", + "type": "boolean" + }, + "password": { + "description": "Password provides a literal password used to encrypt the JKS keystore.\nMutually exclusive with passwordSecretRef.\nOne of password or passwordSecretRef must provide a password with a non-zero length.", + "type": "string" + }, + "passwordSecretRef": { + "description": "PasswordSecretRef is a reference to a non-empty key in a Secret resource\ncontaining the password used to encrypt the JKS keystore.\nMutually exclusive with password.\nOne of password or passwordSecretRef must provide a password with a non-zero length.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "pkcs12": { + "description": "PKCS12 configures options for storing a PKCS12 keystore in the\n`spec.secretName` Secret resource.", + "type": "object", + "required": [ + "create" + ], + "properties": { + "create": { + "description": "Create enables PKCS12 keystore creation for the Certificate.\nIf true, a file named `keystore.p12` will be created in the target\nSecret resource, encrypted using the password stored in\n`passwordSecretRef` or in `password`.\nThe keystore file will be updated immediately.\nIf the issuer provided a CA certificate, a file named `truststore.p12` will\nalso be created in the target Secret resource, encrypted using the\npassword stored in `passwordSecretRef` containing the issuing Certificate\nAuthority", + "type": "boolean" + }, + "password": { + "description": "Password provides a literal password used to encrypt the PKCS#12 keystore.\nMutually exclusive with passwordSecretRef.\nOne of password or passwordSecretRef must provide a password with a non-zero length.", + "type": "string" + }, + "passwordSecretRef": { + "description": "PasswordSecretRef is a reference to a non-empty key in a Secret resource\ncontaining the password used to encrypt the PKCS#12 keystore.\nMutually exclusive with password.\nOne of password or passwordSecretRef must provide a password with a non-zero length.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "profile": { + "description": "Profile specifies the key and certificate encryption algorithms and the HMAC algorithm\nused to create the PKCS12 keystore. Default value is `LegacyRC2` for backward compatibility.\n\nIf provided, allowed values are:\n`LegacyRC2`: Deprecated. Not supported by default in OpenSSL 3 or Java 20.\n`LegacyDES`: Less secure algorithm. Use this option for maximal compatibility.\n`Modern2023`: Secure algorithm. Use this option in case you have to always use secure algorithms\n(eg. because of company policy). Please note that the security of the algorithm is not that important\nin reality, because the unencrypted certificate and private key are also stored in the Secret.", + "type": "string", + "enum": [ + "LegacyRC2", + "LegacyDES", + "Modern2023" + ] + } + } + } + } + }, + "literalSubject": { + "description": "Requested X.509 certificate subject, represented using the LDAP \"String\nRepresentation of a Distinguished Name\" [1].\nImportant: the LDAP string format also specifies the order of the attributes\nin the subject, this is important when issuing certs for LDAP authentication.\nExample: `CN=foo,DC=corp,DC=example,DC=com`\nMore info [1]: https://datatracker.ietf.org/doc/html/rfc4514\nMore info: https://github.com/cert-manager/cert-manager/issues/3203\nMore info: https://github.com/cert-manager/cert-manager/issues/4424\n\nCannot be set if the `subject` or `commonName` field is set.", + "type": "string" + }, + "nameConstraints": { + "description": "x.509 certificate NameConstraint extension which MUST NOT be used in a non-CA certificate.\nMore Info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.10\n\nThis is an Alpha Feature and is only enabled with the\n`--feature-gates=NameConstraints=true` option set on both\nthe controller and webhook components.", + "type": "object", + "properties": { + "critical": { + "description": "if true then the name constraints are marked critical.", + "type": "boolean" + }, + "excluded": { + "description": "Excluded contains the constraints which must be disallowed. Any name matching a\nrestriction in the excluded field is invalid regardless\nof information appearing in the permitted", + "type": "object", + "properties": { + "dnsDomains": { + "description": "DNSDomains is a list of DNS domains that are permitted or excluded.", + "type": "array", + "items": { + "type": "string" + } + }, + "emailAddresses": { + "description": "EmailAddresses is a list of Email Addresses that are permitted or excluded.", + "type": "array", + "items": { + "type": "string" + } + }, + "ipRanges": { + "description": "IPRanges is a list of IP Ranges that are permitted or excluded.\nThis should be a valid CIDR notation.", + "type": "array", + "items": { + "type": "string" + } + }, + "uriDomains": { + "description": "URIDomains is a list of URI domains that are permitted or excluded.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "permitted": { + "description": "Permitted contains the constraints in which the names must be located.", + "type": "object", + "properties": { + "dnsDomains": { + "description": "DNSDomains is a list of DNS domains that are permitted or excluded.", + "type": "array", + "items": { + "type": "string" + } + }, + "emailAddresses": { + "description": "EmailAddresses is a list of Email Addresses that are permitted or excluded.", + "type": "array", + "items": { + "type": "string" + } + }, + "ipRanges": { + "description": "IPRanges is a list of IP Ranges that are permitted or excluded.\nThis should be a valid CIDR notation.", + "type": "array", + "items": { + "type": "string" + } + }, + "uriDomains": { + "description": "URIDomains is a list of URI domains that are permitted or excluded.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "otherNames": { + "description": "`otherNames` is an escape hatch for SAN that allows any type. We currently restrict the support to string like otherNames, cf RFC 5280 p 37\nAny UTF8 String valued otherName can be passed with by setting the keys oid: x.x.x.x and UTF8Value: somevalue for `otherName`.\nMost commonly this would be UPN set with oid: 1.3.6.1.4.1.311.20.2.3\nYou should ensure that any OID passed is valid for the UTF8String type as we do not explicitly validate this.", + "type": "array", + "items": { + "type": "object", + "properties": { + "oid": { + "description": "OID is the object identifier for the otherName SAN.\nThe object identifier must be expressed as a dotted string, for\nexample, \"1.2.840.113556.1.4.221\".", + "type": "string" + }, + "utf8Value": { + "description": "utf8Value is the string value of the otherName SAN.\nThe utf8Value accepts any valid UTF8 string to set as value for the otherName SAN.", + "type": "string" + } + } + } + }, + "privateKey": { + "description": "Private key options. These include the key algorithm and size, the used\nencoding and the rotation policy.", + "type": "object", + "properties": { + "algorithm": { + "description": "Algorithm is the private key algorithm of the corresponding private key\nfor this certificate.\n\nIf provided, allowed values are either `RSA`, `ECDSA` or `Ed25519`.\nIf `algorithm` is specified and `size` is not provided,\nkey size of 2048 will be used for `RSA` key algorithm and\nkey size of 256 will be used for `ECDSA` key algorithm.\nkey size is ignored when using the `Ed25519` key algorithm.", + "type": "string", + "enum": [ + "RSA", + "ECDSA", + "Ed25519" + ] + }, + "encoding": { + "description": "The private key cryptography standards (PKCS) encoding for this\ncertificate's private key to be encoded in.\n\nIf provided, allowed values are `PKCS1` and `PKCS8` standing for PKCS#1\nand PKCS#8, respectively.\nDefaults to `PKCS1` if not specified.", + "type": "string", + "enum": [ + "PKCS1", + "PKCS8" + ] + }, + "rotationPolicy": { + "description": "RotationPolicy controls how private keys should be regenerated when a\nre-issuance is being processed.\n\nIf set to `Never`, a private key will only be generated if one does not\nalready exist in the target `spec.secretName`. If one does exist but it\ndoes not have the correct algorithm or size, a warning will be raised\nto await user intervention.\nIf set to `Always`, a private key matching the specified requirements\nwill be generated whenever a re-issuance occurs.\nDefault is `Never` for backward compatibility.", + "type": "string", + "enum": [ + "Never", + "Always" + ] + }, + "size": { + "description": "Size is the key bit size of the corresponding private key for this certificate.\n\nIf `algorithm` is set to `RSA`, valid values are `2048`, `4096` or `8192`,\nand will default to `2048` if not specified.\nIf `algorithm` is set to `ECDSA`, valid values are `256`, `384` or `521`,\nand will default to `256` if not specified.\nIf `algorithm` is set to `Ed25519`, Size is ignored.\nNo other values are allowed.", + "type": "integer" + } + } + }, + "renewBefore": { + "description": "How long before the currently issued certificate's expiry cert-manager should\nrenew the certificate. For example, if a certificate is valid for 60 minutes,\nand `renewBefore=10m`, cert-manager will begin to attempt to renew the certificate\n50 minutes after it was issued (i.e. when there are 10 minutes remaining until\nthe certificate is no longer valid).\n\nNOTE: The actual lifetime of the issued certificate is used to determine the\nrenewal time. If an issuer returns a certificate with a different lifetime than\nthe one requested, cert-manager will use the lifetime of the issued certificate.\n\nIf unset, this defaults to 1/3 of the issued certificate's lifetime.\nMinimum accepted value is 5 minutes.\nValue must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.\nCannot be set if the `renewBeforePercentage` field is set.", + "type": "string" + }, + "renewBeforePercentage": { + "description": "`renewBeforePercentage` is like `renewBefore`, except it is a relative percentage\nrather than an absolute duration. For example, if a certificate is valid for 60\nminutes, and `renewBeforePercentage=25`, cert-manager will begin to attempt to\nrenew the certificate 45 minutes after it was issued (i.e. when there are 15\nminutes (25%) remaining until the certificate is no longer valid).\n\nNOTE: The actual lifetime of the issued certificate is used to determine the\nrenewal time. If an issuer returns a certificate with a different lifetime than\nthe one requested, cert-manager will use the lifetime of the issued certificate.\n\nValue must be an integer in the range (0,100). The minimum effective\n`renewBefore` derived from the `renewBeforePercentage` and `duration` fields is 5\nminutes.\nCannot be set if the `renewBefore` field is set.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The maximum number of CertificateRequest revisions that are maintained in\nthe Certificate's history. Each revision represents a single `CertificateRequest`\ncreated by this Certificate, either when it was created, renewed, or Spec\nwas changed. Revisions will be removed by oldest first if the number of\nrevisions exceeds this number.\n\nIf set, revisionHistoryLimit must be a value of `1` or greater.\nIf unset (`nil`), revisions will not be garbage collected.\nDefault value is `nil`.", + "type": "integer", + "format": "int32" + }, + "secretName": { + "description": "Name of the Secret resource that will be automatically created and\nmanaged by this Certificate resource. It will be populated with a\nprivate key and certificate, signed by the denoted issuer. The Secret\nresource lives in the same namespace as the Certificate resource.", + "type": "string" + }, + "secretTemplate": { + "description": "Defines annotations and labels to be copied to the Certificate's Secret.\nLabels and annotations on the Secret will be changed as they appear on the\nSecretTemplate when added or removed. SecretTemplate annotations are added\nin conjunction with, and cannot overwrite, the base set of annotations\ncert-manager sets on the Certificate's Secret.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is a key value map to be copied to the target Kubernetes Secret.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels is a key value map to be copied to the target Kubernetes Secret.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "subject": { + "description": "Requested set of X509 certificate subject attributes.\nMore info: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6\n\nThe common name attribute is specified separately in the `commonName` field.\nCannot be set if the `literalSubject` field is set.", + "type": "object", + "properties": { + "countries": { + "description": "Countries to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + }, + "localities": { + "description": "Cities to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + }, + "organizationalUnits": { + "description": "Organizational Units to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + }, + "organizations": { + "description": "Organizations to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + }, + "postalCodes": { + "description": "Postal codes to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + }, + "provinces": { + "description": "State/Provinces to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + }, + "serialNumber": { + "description": "Serial number to be used on the Certificate.", + "type": "string" + }, + "streetAddresses": { + "description": "Street addresses to be used on the Certificate.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "uris": { + "description": "Requested URI subject alternative names.", + "type": "array", + "items": { + "type": "string" + } + }, + "usages": { + "description": "Requested key usages and extended key usages.\nThese usages are used to set the `usages` field on the created CertificateRequest\nresources. If `encodeUsagesInRequest` is unset or set to `true`, the usages\nwill additionally be encoded in the `request` field which contains the CSR blob.\n\nIf unset, defaults to `digital signature` and `key encipherment`.", + "type": "array", + "items": { + "description": "KeyUsage specifies valid usage contexts for keys.\nSee:\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.3\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.12\n\nValid KeyUsage values are as follows:\n\"signing\",\n\"digital signature\",\n\"content commitment\",\n\"key encipherment\",\n\"key agreement\",\n\"data encipherment\",\n\"cert sign\",\n\"crl sign\",\n\"encipher only\",\n\"decipher only\",\n\"any\",\n\"server auth\",\n\"client auth\",\n\"code signing\",\n\"email protection\",\n\"s/mime\",\n\"ipsec end system\",\n\"ipsec tunnel\",\n\"ipsec user\",\n\"timestamping\",\n\"ocsp signing\",\n\"microsoft sgc\",\n\"netscape sgc\"", + "type": "string", + "enum": [ + "signing", + "digital signature", + "content commitment", + "key encipherment", + "key agreement", + "data encipherment", + "cert sign", + "crl sign", + "encipher only", + "decipher only", + "any", + "server auth", + "client auth", + "code signing", + "email protection", + "s/mime", + "ipsec end system", + "ipsec tunnel", + "ipsec user", + "timestamping", + "ocsp signing", + "microsoft sgc", + "netscape sgc" + ] + } + } + } + }, + "status": { + "description": "Status of the Certificate.\nThis is set and managed automatically.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "conditions": { + "description": "List of status conditions to indicate the status of certificates.\nKnown condition types are `Ready` and `Issuing`.", + "type": "array", + "items": { + "description": "CertificateCondition contains condition information for a Certificate.", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the timestamp corresponding to the last status\nchange of this condition.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Message is a human readable description of the details of the last\ntransition, complementing reason.", + "type": "string" + }, + "observedGeneration": { + "description": "If set, this represents the .metadata.generation that the condition was\nset based upon.\nFor instance, if .metadata.generation is currently 12, but the\n.status.condition[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the Certificate.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason is a brief machine readable explanation for the condition's last\ntransition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of (`True`, `False`, `Unknown`).", + "type": "string", + "enum": [ + "True", + "False", + "Unknown" + ] + }, + "type": { + "description": "Type of the condition, known values are (`Ready`, `Issuing`).", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "failedIssuanceAttempts": { + "description": "The number of continuous failed issuance attempts up till now. This\nfield gets removed (if set) on a successful issuance and gets set to\n1 if unset and an issuance has failed. If an issuance has failed, the\ndelay till the next issuance will be calculated using formula\ntime.Hour * 2 ^ (failedIssuanceAttempts - 1).", + "type": "integer" + }, + "lastFailureTime": { + "description": "LastFailureTime is set only if the latest issuance for this\nCertificate failed and contains the time of the failure. If an\nissuance has failed, the delay till the next issuance will be\ncalculated using formula time.Hour * 2 ^ (failedIssuanceAttempts -\n1). If the latest issuance has succeeded this field will be unset.", + "type": "string", + "format": "date-time" + }, + "nextPrivateKeySecretName": { + "description": "The name of the Secret resource containing the private key to be used\nfor the next certificate iteration.\nThe keymanager controller will automatically set this field if the\n`Issuing` condition is set to `True`.\nIt will automatically unset this field when the Issuing condition is\nnot set or False.", + "type": "string" + }, + "notAfter": { + "description": "The expiration time of the certificate stored in the secret named\nby this resource in `spec.secretName`.", + "type": "string", + "format": "date-time" + }, + "notBefore": { + "description": "The time after which the certificate stored in the secret named\nby this resource in `spec.secretName` is valid.", + "type": "string", + "format": "date-time" + }, + "renewalTime": { + "description": "RenewalTime is the time at which the certificate will be next\nrenewed.\nIf not set, no upcoming renewal is scheduled.", + "type": "string", + "format": "date-time" + }, + "revision": { + "description": "The current 'revision' of the certificate as issued.\n\nWhen a CertificateRequest resource is created, it will have the\n`cert-manager.io/certificate-revision` set to one greater than the\ncurrent value of this field.\n\nUpon issuance, this field will be set to the value of the annotation\non the CertificateRequest resource used to issue the certificate.\n\nPersisting the value on the CertificateRequest resource allows the\ncertificates controller to know whether a request is part of an old\nissuance or if it is part of the ongoing revision's issuance by\nchecking if the revision value in the annotation is greater than this\nfield.", + "type": "integer" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "Certificate", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.CertificateList": { + "description": "CertificateList is a list of Certificate", + "type": "object", + "required": [ + "items" + ], + "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": "List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cert-manager.v1.Certificate" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "CertificateList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.CertificateRequest": { + "description": "A CertificateRequest is used to request a signed certificate from one of the\nconfigured issuers.\n\nAll fields within the CertificateRequest's `spec` are immutable after creation.\nA CertificateRequest will either succeed or fail, as denoted by its `Ready` status\ncondition and its `status.failureTime` field.\n\nA CertificateRequest is a one-shot resource, meaning it represents a single\npoint in time request for a certificate and cannot be re-used.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired state of the CertificateRequest resource.\nhttps://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "issuerRef", + "request" + ], + "properties": { + "duration": { + "description": "Requested 'duration' (i.e. lifetime) of the Certificate. Note that the\nissuer may choose to ignore the requested duration, just like any other\nrequested attribute.", + "type": "string" + }, + "extra": { + "description": "Extra contains extra attributes of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "groups": { + "description": "Groups contains group membership of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "isCA": { + "description": "Requested basic constraints isCA value. Note that the issuer may choose\nto ignore the requested isCA value, just like any other requested attribute.\n\nNOTE: If the CSR in the `Request` field has a BasicConstraints extension,\nit must have the same isCA value as specified here.\n\nIf true, this will automatically add the `cert sign` usage to the list\nof requested `usages`.", + "type": "boolean" + }, + "issuerRef": { + "description": "Reference to the issuer responsible for issuing the certificate.\nIf the issuer is namespace-scoped, it must be in the same namespace\nas the Certificate. If the issuer is cluster-scoped, it can be used\nfrom any namespace.\n\nThe `name` field of the reference must always be specified.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group of the resource being referred to.", + "type": "string" + }, + "kind": { + "description": "Kind of the resource being referred to.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.", + "type": "string" + } + } + }, + "request": { + "description": "The PEM-encoded X.509 certificate signing request to be submitted to the\nissuer for signing.\n\nIf the CSR has a BasicConstraints extension, its isCA attribute must\nmatch the `isCA` value of this CertificateRequest.\nIf the CSR has a KeyUsage extension, its key usages must match the\nkey usages in the `usages` field of this CertificateRequest.\nIf the CSR has a ExtKeyUsage extension, its extended key usages\nmust match the extended key usages in the `usages` field of this\nCertificateRequest.", + "type": "string", + "format": "byte" + }, + "uid": { + "description": "UID contains the uid of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.", + "type": "string" + }, + "usages": { + "description": "Requested key usages and extended key usages.\n\nNOTE: If the CSR in the `Request` field has uses the KeyUsage or\nExtKeyUsage extension, these extensions must have the same values\nas specified here without any additional values.\n\nIf unset, defaults to `digital signature` and `key encipherment`.", + "type": "array", + "items": { + "description": "KeyUsage specifies valid usage contexts for keys.\nSee:\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.3\nhttps://tools.ietf.org/html/rfc5280#section-4.2.1.12\n\nValid KeyUsage values are as follows:\n\"signing\",\n\"digital signature\",\n\"content commitment\",\n\"key encipherment\",\n\"key agreement\",\n\"data encipherment\",\n\"cert sign\",\n\"crl sign\",\n\"encipher only\",\n\"decipher only\",\n\"any\",\n\"server auth\",\n\"client auth\",\n\"code signing\",\n\"email protection\",\n\"s/mime\",\n\"ipsec end system\",\n\"ipsec tunnel\",\n\"ipsec user\",\n\"timestamping\",\n\"ocsp signing\",\n\"microsoft sgc\",\n\"netscape sgc\"", + "type": "string", + "enum": [ + "signing", + "digital signature", + "content commitment", + "key encipherment", + "key agreement", + "data encipherment", + "cert sign", + "crl sign", + "encipher only", + "decipher only", + "any", + "server auth", + "client auth", + "code signing", + "email protection", + "s/mime", + "ipsec end system", + "ipsec tunnel", + "ipsec user", + "timestamping", + "ocsp signing", + "microsoft sgc", + "netscape sgc" + ] + } + }, + "username": { + "description": "Username contains the name of the user that created the CertificateRequest.\nPopulated by the cert-manager webhook on creation and immutable.", + "type": "string" + } + } + }, + "status": { + "description": "Status of the CertificateRequest.\nThis is set and managed automatically.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "ca": { + "description": "The PEM encoded X.509 certificate of the signer, also known as the CA\n(Certificate Authority).\nThis is set on a best-effort basis by different issuers.\nIf not set, the CA is assumed to be unknown/not available.", + "type": "string", + "format": "byte" + }, + "certificate": { + "description": "The PEM encoded X.509 certificate resulting from the certificate\nsigning request.\nIf not set, the CertificateRequest has either not been completed or has\nfailed. More information on failure can be found by checking the\n`conditions` field.", + "type": "string", + "format": "byte" + }, + "conditions": { + "description": "List of status conditions to indicate the status of a CertificateRequest.\nKnown condition types are `Ready`, `InvalidRequest`, `Approved` and `Denied`.", + "type": "array", + "items": { + "description": "CertificateRequestCondition contains condition information for a CertificateRequest.", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the timestamp corresponding to the last status\nchange of this condition.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Message is a human readable description of the details of the last\ntransition, complementing reason.", + "type": "string" + }, + "reason": { + "description": "Reason is a brief machine readable explanation for the condition's last\ntransition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of (`True`, `False`, `Unknown`).", + "type": "string", + "enum": [ + "True", + "False", + "Unknown" + ] + }, + "type": { + "description": "Type of the condition, known values are (`Ready`, `InvalidRequest`,\n`Approved`, `Denied`).", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "failureTime": { + "description": "FailureTime stores the time that this CertificateRequest failed. This is\nused to influence garbage collection and back-off.", + "type": "string", + "format": "date-time" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "CertificateRequest", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.CertificateRequestList": { + "description": "CertificateRequestList is a list of CertificateRequest", + "type": "object", + "required": [ + "items" + ], + "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": "List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cert-manager.v1.CertificateRequest" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "CertificateRequestList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.ClusterIssuer": { + "description": "A ClusterIssuer represents a certificate issuing authority which can be\nreferenced as part of `issuerRef` fields.\nIt is similar to an Issuer, however it is cluster-scoped and therefore can\nbe referenced by resources that exist in *any* namespace, not just the same\nnamespace as the referent.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Desired state of the ClusterIssuer resource.", + "type": "object", + "properties": { + "acme": { + "description": "ACME configures this issuer to communicate with a RFC8555 (ACME) server\nto obtain signed x509 certificates.", + "type": "object", + "required": [ + "privateKeySecretRef", + "server" + ], + "properties": { + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which can be used to validate the certificate\nchain presented by the ACME server.\nMutually exclusive with SkipTLSVerify; prefer using CABundle to prevent various\nkinds of security vulnerabilities.\nIf CABundle and SkipTLSVerify are unset, the system certificate bundle inside\nthe container is used to validate the TLS connection.", + "type": "string", + "format": "byte" + }, + "disableAccountKeyGeneration": { + "description": "Enables or disables generating a new ACME account key.\nIf true, the Issuer resource will *not* request a new account but will expect\nthe account key to be supplied via an existing secret.\nIf false, the cert-manager system will generate a new ACME account key\nfor the Issuer.\nDefaults to false.", + "type": "boolean" + }, + "email": { + "description": "Email is the email address to be associated with the ACME account.\nThis field is optional, but it is strongly recommended to be set.\nIt will be used to contact you in case of issues with your account or\ncertificates, including expiry notification emails.\nThis field may be updated after the account is initially registered.", + "type": "string" + }, + "enableDurationFeature": { + "description": "Enables requesting a Not After date on certificates that matches the\nduration of the certificate. This is not supported by all ACME servers\nlike Let's Encrypt. If set to true when the ACME server does not support\nit, it will create an error on the Order.\nDefaults to false.", + "type": "boolean" + }, + "externalAccountBinding": { + "description": "ExternalAccountBinding is a reference to a CA external account of the ACME\nserver.\nIf set, upon registration cert-manager will attempt to associate the given\nexternal account credentials with the registered ACME account.", + "type": "object", + "required": [ + "keyID", + "keySecretRef" + ], + "properties": { + "keyAlgorithm": { + "description": "Deprecated: keyAlgorithm field exists for historical compatibility\nreasons and should not be used. The algorithm is now hardcoded to HS256\nin golang/x/crypto/acme.", + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512" + ] + }, + "keyID": { + "description": "keyID is the ID of the CA key that the External Account is bound to.", + "type": "string" + }, + "keySecretRef": { + "description": "keySecretRef is a Secret Key Selector referencing a data item in a Kubernetes\nSecret which holds the symmetric MAC key of the External Account Binding.\nThe `key` is the index string that is paired with the key data in the\nSecret and should not be confused with the key data itself, or indeed with\nthe External Account Binding keyID above.\nThe secret key stored in the Secret **must** be un-padded, base64 URL\nencoded data.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "preferredChain": { + "description": "PreferredChain is the chain to use if the ACME server outputs multiple.\nPreferredChain is no guarantee that this one gets delivered by the ACME\nendpoint.\nFor example, for Let's Encrypt's DST crosssign you would use:\n\"DST Root CA X3\" or \"ISRG Root X1\" for the newer Let's Encrypt root CA.\nThis value picks the first certificate bundle in the combined set of\nACME default and alternative chains that has a root-most certificate with\nthis value as its issuer's commonname.", + "type": "string", + "maxLength": 64 + }, + "privateKeySecretRef": { + "description": "PrivateKey is the name of a Kubernetes Secret resource that will be used to\nstore the automatically generated ACME account private key.\nOptionally, a `key` may be specified to select a specific entry within\nthe named Secret resource.\nIf `key` is not specified, a default of `tls.key` will be used.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "server": { + "description": "Server is the URL used to access the ACME server's 'directory' endpoint.\nFor example, for Let's Encrypt's staging endpoint, you would use:\n\"https://acme-staging-v02.api.letsencrypt.org/directory\".\nOnly ACME v2 endpoints (i.e. RFC 8555) are supported.", + "type": "string" + }, + "skipTLSVerify": { + "description": "INSECURE: Enables or disables validation of the ACME server TLS certificate.\nIf true, requests to the ACME server will not have the TLS certificate chain\nvalidated.\nMutually exclusive with CABundle; prefer using CABundle to prevent various\nkinds of security vulnerabilities.\nOnly enable this option in development environments.\nIf CABundle and SkipTLSVerify are unset, the system certificate bundle inside\nthe container is used to validate the TLS connection.\nDefaults to false.", + "type": "boolean" + }, + "solvers": { + "description": "Solvers is a list of challenge solvers that will be used to solve\nACME challenges for the matching domains.\nSolver configurations must be provided in order to obtain certificates\nfrom an ACME server.\nFor more information, see: https://cert-manager.io/docs/configuration/acme/", + "type": "array", + "items": { + "description": "An ACMEChallengeSolver describes how to solve ACME challenges for the issuer it is part of.\nA selector may be provided to use different solving strategies for different DNS names.\nOnly one of HTTP01 or DNS01 must be provided.", + "type": "object", + "properties": { + "dns01": { + "description": "Configures cert-manager to attempt to complete authorizations by\nperforming the DNS01 challenge flow.", + "type": "object", + "properties": { + "acmeDNS": { + "description": "Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage\nDNS01 challenge records.", + "type": "object", + "required": [ + "accountSecretRef", + "host" + ], + "properties": { + "accountSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "host": { + "type": "string" + } + } + }, + "akamai": { + "description": "Use the Akamai DNS zone management API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "accessTokenSecretRef", + "clientSecretSecretRef", + "clientTokenSecretRef", + "serviceConsumerDomain" + ], + "properties": { + "accessTokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientSecretSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientTokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "serviceConsumerDomain": { + "type": "string" + } + } + }, + "azureDNS": { + "description": "Use the Microsoft Azure DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "resourceGroupName", + "subscriptionID" + ], + "properties": { + "clientID": { + "description": "Auth: Azure Service Principal:\nThe ClientID of the Azure Service Principal used to authenticate with Azure DNS.\nIf set, ClientSecret and TenantID must also be set.", + "type": "string" + }, + "clientSecretSecretRef": { + "description": "Auth: Azure Service Principal:\nA reference to a Secret containing the password associated with the Service Principal.\nIf set, ClientID and TenantID must also be set.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "environment": { + "description": "name of the Azure environment (default AzurePublicCloud)", + "type": "string", + "enum": [ + "AzurePublicCloud", + "AzureChinaCloud", + "AzureGermanCloud", + "AzureUSGovernmentCloud" + ] + }, + "hostedZoneName": { + "description": "name of the DNS zone that should be used", + "type": "string" + }, + "managedIdentity": { + "description": "Auth: Azure Workload Identity or Azure Managed Service Identity:\nSettings to enable Azure Workload Identity or Azure Managed Service Identity\nIf set, ClientID, ClientSecret and TenantID must not be set.", + "type": "object", + "properties": { + "clientID": { + "description": "client ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + }, + "resourceID": { + "description": "resource ID of the managed identity, can not be used at the same time as clientID\nCannot be used for Azure Managed Service Identity", + "type": "string" + }, + "tenantID": { + "description": "tenant ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + } + } + }, + "resourceGroupName": { + "description": "resource group the DNS zone is located in", + "type": "string" + }, + "subscriptionID": { + "description": "ID of the Azure subscription", + "type": "string" + }, + "tenantID": { + "description": "Auth: Azure Service Principal:\nThe TenantID of the Azure Service Principal used to authenticate with Azure DNS.\nIf set, ClientID and ClientSecret must also be set.", + "type": "string" + } + } + }, + "cloudDNS": { + "description": "Use the Google Cloud DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "project" + ], + "properties": { + "hostedZoneName": { + "description": "HostedZoneName is an optional field that tells cert-manager in which\nCloud DNS zone the challenge record has to be created.\nIf left empty cert-manager will automatically choose a zone.", + "type": "string" + }, + "project": { + "type": "string" + }, + "serviceAccountSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "cloudflare": { + "description": "Use the Cloudflare API to manage DNS01 challenge records.", + "type": "object", + "properties": { + "apiKeySecretRef": { + "description": "API key to use to authenticate with Cloudflare.\nNote: using an API token to authenticate is now the recommended method\nas it allows greater control of permissions.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "apiTokenSecretRef": { + "description": "API token used to authenticate with Cloudflare.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "email": { + "description": "Email of the account, only required when using API key based authentication.", + "type": "string" + } + } + }, + "cnameStrategy": { + "description": "CNAMEStrategy configures how the DNS01 provider should handle CNAME\nrecords when found in DNS zones.", + "type": "string", + "enum": [ + "None", + "Follow" + ] + }, + "digitalocean": { + "description": "Use the DigitalOcean DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "tokenSecretRef" + ], + "properties": { + "tokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "rfc2136": { + "description": "Use RFC2136 (\"Dynamic Updates in the Domain Name System\") (https://datatracker.ietf.org/doc/rfc2136/)\nto manage DNS01 challenge records.", + "type": "object", + "required": [ + "nameserver" + ], + "properties": { + "nameserver": { + "description": "The IP address or hostname of an authoritative DNS server supporting\nRFC2136 in the form host:port. If the host is an IPv6 address it must be\nenclosed in square brackets (e.g [2001:db8::1]) ; port is optional.\nThis field is required.", + "type": "string" + }, + "tsigAlgorithm": { + "description": "The TSIG Algorithm configured in the DNS supporting RFC2136. Used only\nwhen ``tsigSecretSecretRef`` and ``tsigKeyName`` are defined.\nSupported values are (case-insensitive): ``HMACMD5`` (default),\n``HMACSHA1``, ``HMACSHA256`` or ``HMACSHA512``.", + "type": "string" + }, + "tsigKeyName": { + "description": "The TSIG Key name configured in the DNS.\nIf ``tsigSecretSecretRef`` is defined, this field is required.", + "type": "string" + }, + "tsigSecretSecretRef": { + "description": "The name of the secret containing the TSIG value.\nIf ``tsigKeyName`` is defined, this field is required.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "route53": { + "description": "Use the AWS Route53 API to manage DNS01 challenge records.", + "type": "object", + "properties": { + "accessKeyID": { + "description": "The AccessKeyID is used for authentication.\nCannot be set when SecretAccessKeyID is set.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "string" + }, + "accessKeyIDSecretRef": { + "description": "The SecretAccessKey is used for authentication. If set, pull the AWS\naccess key ID from a key within a Kubernetes Secret.\nCannot be set when AccessKeyID is set.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "auth": { + "description": "Auth configures how cert-manager authenticates.", + "type": "object", + "required": [ + "kubernetes" + ], + "properties": { + "kubernetes": { + "description": "Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity\nby passing a bound ServiceAccount token.", + "type": "object", + "required": [ + "serviceAccountRef" + ], + "properties": { + "serviceAccountRef": { + "description": "A reference to a service account that will be used to request a bound\ntoken (also known as \"projected token\"). To use this field, you must\nconfigure an RBAC rule to let cert-manager request a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "audiences": { + "description": "TokenAudiences is an optional list of audiences to include in the\ntoken passed to AWS. The default token consisting of the issuer's namespace\nand name is always included.\nIf unset the audience defaults to `sts.amazonaws.com`.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "Name of the ServiceAccount used to request a token.", + "type": "string" + } + } + } + } + } + } + }, + "hostedZoneID": { + "description": "If set, the provider will manage only this zone in Route53 and will not do a lookup using the route53:ListHostedZonesByName api call.", + "type": "string" + }, + "region": { + "description": "Override the AWS region.\n\nRoute53 is a global service and does not have regional endpoints but the\nregion specified here (or via environment variables) is used as a hint to\nhelp compute the correct AWS credential scope and partition when it\nconnects to Route53. See:\n- [Amazon Route 53 endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/r53.html)\n- [Global services](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/global-services.html)\n\nIf you omit this region field, cert-manager will use the region from\nAWS_REGION and AWS_DEFAULT_REGION environment variables, if they are set\nin the cert-manager controller Pod.\n\nThe `region` field is not needed if you use [IAM Roles for Service Accounts (IRSA)](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).\nInstead an AWS_REGION environment variable is added to the cert-manager controller Pod by:\n[Amazon EKS Pod Identity Webhook](https://github.com/aws/amazon-eks-pod-identity-webhook).\nIn this case this `region` field value is ignored.\n\nThe `region` field is not needed if you use [EKS Pod Identities](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).\nInstead an AWS_REGION environment variable is added to the cert-manager controller Pod by:\n[Amazon EKS Pod Identity Agent](https://github.com/aws/eks-pod-identity-agent),\nIn this case this `region` field value is ignored.", + "type": "string" + }, + "role": { + "description": "Role is a Role ARN which the Route53 provider will assume using either the explicit credentials AccessKeyID/SecretAccessKey\nor the inferred credentials from environment variables, shared credentials file or AWS Instance metadata", + "type": "string" + }, + "secretAccessKeySecretRef": { + "description": "The SecretAccessKey is used for authentication.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "webhook": { + "description": "Configure an external webhook based DNS01 challenge solver to manage\nDNS01 challenge records.", + "type": "object", + "required": [ + "groupName", + "solverName" + ], + "properties": { + "config": { + "description": "Additional configuration that should be passed to the webhook apiserver\nwhen challenges are processed.\nThis can contain arbitrary JSON data.\nSecret values should not be specified in this stanza.\nIf secret values are needed (e.g. credentials for a DNS service), you\nshould use a SecretKeySelector to reference a Secret resource.\nFor details on the schema of this field, consult the webhook provider\nimplementation's documentation.", + "x-kubernetes-preserve-unknown-fields": true + }, + "groupName": { + "description": "The API group name that should be used when POSTing ChallengePayload\nresources to the webhook apiserver.\nThis should be the same as the GroupName specified in the webhook\nprovider implementation.", + "type": "string" + }, + "solverName": { + "description": "The name of the solver to use, as defined in the webhook provider\nimplementation.\nThis will typically be the name of the provider, e.g. 'cloudflare'.", + "type": "string" + } + } + } + } + }, + "http01": { + "description": "Configures cert-manager to attempt to complete authorizations by\nperforming the HTTP01 challenge flow.\nIt is not possible to obtain certificates for wildcard domain names\n(e.g. `*.example.com`) using the HTTP01 challenge mechanism.", + "type": "object", + "properties": { + "gatewayHTTPRoute": { + "description": "The Gateway API is a sig-network community API that models service networking\nin Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will\ncreate HTTPRoutes with the specified labels in the same namespace as the challenge.\nThis solver is experimental, and fields / behaviour may change in the future.", + "type": "object", + "properties": { + "labels": { + "description": "Custom labels that will be applied to HTTPRoutes created by cert-manager\nwhile solving HTTP-01 challenges.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "parentRefs": { + "description": "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute.\ncert-manager needs to know which parentRefs should be used when creating\nthe HTTPRoute. Usually, the parentRef references a Gateway. See:\nhttps://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways", + "type": "array", + "items": { + "description": "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group is the group of the referent.\nWhen unspecified, \"gateway.networking.k8s.io\" is inferred.\nTo set the core API group (such as for a \"Service\" kind referent),\nGroup must be explicitly set to \"\" (empty string).\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + }, + "kind": { + "description": "Kind is kind of the referent.\n\nThere are two kinds of parent resources with \"Core\" support:\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\nSupport for other resources is Implementation-Specific.", + "type": "string", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" + }, + "name": { + "description": "Name is the name of the referent.\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "minLength": 1 + }, + "namespace": { + "description": "Namespace is the namespace of the referent. When unspecified, this refers\nto the local namespace of the Route.\n\nNote that there are specific rules for ParentRefs which cross namespace\nboundaries. Cross-namespace references are only valid if they are explicitly\nallowed by something in the namespace they are referring to. For example:\nGateway has the AllowedRoutes field, and ReferenceGrant provides a\ngeneric way to enable any other kind of cross-namespace reference.\n\n\nParentRefs from a Route to a Service in the same namespace are \"producer\"\nroutes, which apply default routing rules to inbound connections from\nany namespace to the Service.\n\nParentRefs from a Route to a Service in a different namespace are\n\"consumer\" routes, and these routing rules are only applied to outbound\nconnections originating from the same namespace as the Route, for which\nthe intended destination of the connections are a Service targeted as a\nParentRef of the Route.\n\n\nSupport: Core", + "type": "string", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "port": { + "description": "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\nSupport: Extended", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 1 + }, + "sectionName": { + "description": "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n* Gateway: Listener name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + } + } + } + }, + "podTemplate": { + "description": "Optional pod template used to configure the ACME challenge solver pods\nused for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "spec": { + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod.\nCheck ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields.\nAll other fields will be ignored.", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "securityContext": { + "description": "If specified, the pod's security context", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + } + } + } + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + } + } + } + } + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values\nare NodePort or ClusterIP. If unset, defaults to NodePort.", + "type": "string" + } + } + }, + "ingress": { + "description": "The ingress based HTTP01 challenge solver will solve challenges by\ncreating or modifying Ingress resources in order to route requests for\n'/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are\nprovisioned by cert-manager for each Challenge to be completed.", + "type": "object", + "properties": { + "class": { + "description": "This field configures the annotation `kubernetes.io/ingress.class` when\ncreating Ingress resources to solve ACME challenges that use this\nchallenge solver. Only one of `class`, `name` or `ingressClassName` may\nbe specified.", + "type": "string" + }, + "ingressClassName": { + "description": "This field configures the field `ingressClassName` on the created Ingress\nresources used to solve ACME challenges that use this challenge solver.\nThis is the recommended way of configuring the ingress class. Only one of\n`class`, `name` or `ingressClassName` may be specified.", + "type": "string" + }, + "ingressTemplate": { + "description": "Optional ingress template used to configure the ACME challenge solver\ningress used for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the ingress used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver ingress.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver ingress.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + }, + "name": { + "description": "The name of the ingress resource that should have ACME challenge solving\nroutes inserted into it in order to solve HTTP01 challenges.\nThis is typically used in conjunction with ingress controllers like\ningress-gce, which maintains a 1:1 mapping between external IPs and\ningress resources. Only one of `class`, `name` or `ingressClassName` may\nbe specified.", + "type": "string" + }, + "podTemplate": { + "description": "Optional pod template used to configure the ACME challenge solver pods\nused for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "spec": { + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod.\nCheck ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields.\nAll other fields will be ignored.", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "securityContext": { + "description": "If specified, the pod's security context", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + } + } + } + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + } + } + } + } + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values\nare NodePort or ClusterIP. If unset, defaults to NodePort.", + "type": "string" + } + } + } + } + }, + "selector": { + "description": "Selector selects a set of DNSNames on the Certificate resource that\nshould be solved using this challenge solver.\nIf not specified, the solver will be treated as the 'default' solver\nwith the lowest priority, i.e. if any other solver has a more specific\nmatch, it will be used instead.", + "type": "object", + "properties": { + "dnsNames": { + "description": "List of DNSNames that this solver will be used to solve.\nIf specified and a match is found, a dnsNames selector will take\nprecedence over a dnsZones selector.\nIf multiple solvers match with the same dnsNames value, the solver\nwith the most matching labels in matchLabels will be selected.\nIf neither has more matches, the solver defined earlier in the list\nwill be selected.", + "type": "array", + "items": { + "type": "string" + } + }, + "dnsZones": { + "description": "List of DNSZones that this solver will be used to solve.\nThe most specific DNS zone match specified here will take precedence\nover other DNS zone matches, so a solver specifying sys.example.com\nwill be selected over one specifying example.com for the domain\nwww.sys.example.com.\nIf multiple solvers match with the same dnsZones value, the solver\nwith the most matching labels in matchLabels will be selected.\nIf neither has more matches, the solver defined earlier in the list\nwill be selected.", + "type": "array", + "items": { + "type": "string" + } + }, + "matchLabels": { + "description": "A label selector that is used to refine the set of certificate's that\nthis challenge solver will apply to.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "ca": { + "description": "CA configures this issuer to sign certificates using a signing CA keypair\nstored in a Secret resource.\nThis is used to build internal PKIs that are managed by cert-manager.", + "type": "object", + "required": [ + "secretName" + ], + "properties": { + "crlDistributionPoints": { + "description": "The CRL distribution points is an X.509 v3 certificate extension which identifies\nthe location of the CRL from which the revocation of this certificate can be checked.\nIf not set, certificates will be issued without distribution points set.", + "type": "array", + "items": { + "type": "string" + } + }, + "issuingCertificateURLs": { + "description": "IssuingCertificateURLs is a list of URLs which this issuer should embed into certificates\nit creates. See https://www.rfc-editor.org/rfc/rfc5280#section-4.2.2.1 for more details.\nAs an example, such a URL might be \"http://ca.domain.com/ca.crt\".", + "type": "array", + "items": { + "type": "string" + } + }, + "ocspServers": { + "description": "The OCSP server list is an X.509 v3 extension that defines a list of\nURLs of OCSP responders. The OCSP responders can be queried for the\nrevocation status of an issued certificate. If not set, the\ncertificate will be issued with no OCSP servers set. For example, an\nOCSP server URL could be \"http://ocsp.int-x3.letsencrypt.org\".", + "type": "array", + "items": { + "type": "string" + } + }, + "secretName": { + "description": "SecretName is the name of the secret used to sign Certificates issued\nby this Issuer.", + "type": "string" + } + } + }, + "selfSigned": { + "description": "SelfSigned configures this issuer to 'self sign' certificates using the\nprivate key used to create the CertificateRequest object.", + "type": "object", + "properties": { + "crlDistributionPoints": { + "description": "The CRL distribution points is an X.509 v3 certificate extension which identifies\nthe location of the CRL from which the revocation of this certificate can be checked.\nIf not set certificate will be issued without CDP. Values are strings.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "vault": { + "description": "Vault configures this issuer to sign certificates using a HashiCorp Vault\nPKI backend.", + "type": "object", + "required": [ + "auth", + "path", + "server" + ], + "properties": { + "auth": { + "description": "Auth configures how cert-manager authenticates with the Vault server.", + "type": "object", + "properties": { + "appRole": { + "description": "AppRole authenticates with Vault using the App Role auth mechanism,\nwith the role and secret stored in a Kubernetes Secret resource.", + "type": "object", + "required": [ + "path", + "roleId", + "secretRef" + ], + "properties": { + "path": { + "description": "Path where the App Role authentication backend is mounted in Vault, e.g:\n\"approle\"", + "type": "string" + }, + "roleId": { + "description": "RoleID configured in the App Role authentication backend when setting\nup the authentication backend in Vault.", + "type": "string" + }, + "secretRef": { + "description": "Reference to a key in a Secret that contains the App Role secret used\nto authenticate with Vault.\nThe `key` field must be specified and denotes which entry within the Secret\nresource is used as the app role secret.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "clientCertificate": { + "description": "ClientCertificate authenticates with Vault by presenting a client\ncertificate during the request's TLS handshake.\nWorks only when using HTTPS protocol.", + "type": "object", + "properties": { + "mountPath": { + "description": "The Vault mountPath here is the mount path to use when authenticating with\nVault. For example, setting a value to `/v1/auth/foo`, will use the path\n`/v1/auth/foo/login` to authenticate with Vault. If unspecified, the\ndefault value \"/v1/auth/cert\" will be used.", + "type": "string" + }, + "name": { + "description": "Name of the certificate role to authenticate against.\nIf not set, matching any certificate role, if available.", + "type": "string" + }, + "secretName": { + "description": "Reference to Kubernetes Secret of type \"kubernetes.io/tls\" (hence containing\ntls.crt and tls.key) used to authenticate to Vault using TLS client\nauthentication.", + "type": "string" + } + } + }, + "kubernetes": { + "description": "Kubernetes authenticates with Vault by passing the ServiceAccount\ntoken stored in the named Secret resource to the Vault server.", + "type": "object", + "required": [ + "role" + ], + "properties": { + "mountPath": { + "description": "The Vault mountPath here is the mount path to use when authenticating with\nVault. For example, setting a value to `/v1/auth/foo`, will use the path\n`/v1/auth/foo/login` to authenticate with Vault. If unspecified, the\ndefault value \"/v1/auth/kubernetes\" will be used.", + "type": "string" + }, + "role": { + "description": "A required field containing the Vault Role to assume. A Role binds a\nKubernetes ServiceAccount with a set of Vault policies.", + "type": "string" + }, + "secretRef": { + "description": "The required Secret field containing a Kubernetes ServiceAccount JWT used\nfor authenticating with Vault. Use of 'ambient credentials' is not\nsupported.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "serviceAccountRef": { + "description": "A reference to a service account that will be used to request a bound\ntoken (also known as \"projected token\"). Compared to using \"secretRef\",\nusing this field means that you don't rely on statically bound tokens. To\nuse this field, you must configure an RBAC rule to let cert-manager\nrequest a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "audiences": { + "description": "TokenAudiences is an optional list of extra audiences to include in the token passed to Vault. The default token\nconsisting of the issuer's namespace and name is always included.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "Name of the ServiceAccount used to request a token.", + "type": "string" + } + } + } + } + }, + "tokenSecretRef": { + "description": "TokenSecretRef authenticates with Vault by presenting a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which will be used to validate the certificate\nchain presented by Vault. Only used if using HTTPS to connect to Vault and\nignored for HTTP connections.\nMutually exclusive with CABundleSecretRef.\nIf neither CABundle nor CABundleSecretRef are defined, the certificate bundle in\nthe cert-manager controller container is used to validate the TLS connection.", + "type": "string", + "format": "byte" + }, + "caBundleSecretRef": { + "description": "Reference to a Secret containing a bundle of PEM-encoded CAs to use when\nverifying the certificate chain presented by Vault when using HTTPS.\nMutually exclusive with CABundle.\nIf neither CABundle nor CABundleSecretRef are defined, the certificate bundle in\nthe cert-manager controller container is used to validate the TLS connection.\nIf no key for the Secret is specified, cert-manager will default to 'ca.crt'.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientCertSecretRef": { + "description": "Reference to a Secret containing a PEM-encoded Client Certificate to use when the\nVault server requires mTLS.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientKeySecretRef": { + "description": "Reference to a Secret containing a PEM-encoded Client Private Key to use when the\nVault server requires mTLS.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "namespace": { + "description": "Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: \"ns1\"\nMore about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces", + "type": "string" + }, + "path": { + "description": "Path is the mount path of the Vault PKI backend's `sign` endpoint, e.g:\n\"my_pki_mount/sign/my-role-name\".", + "type": "string" + }, + "server": { + "description": "Server is the connection address for the Vault server, e.g: \"https://vault.example.com:8200\".", + "type": "string" + } + } + }, + "venafi": { + "description": "Venafi configures this issuer to sign certificates using a Venafi TPP\nor Venafi Cloud policy zone.", + "type": "object", + "required": [ + "zone" + ], + "properties": { + "cloud": { + "description": "Cloud specifies the Venafi cloud configuration settings.\nOnly one of TPP or Cloud may be specified.", + "type": "object", + "required": [ + "apiTokenSecretRef" + ], + "properties": { + "apiTokenSecretRef": { + "description": "APITokenSecretRef is a secret key selector for the Venafi Cloud API token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "url": { + "description": "URL is the base URL for Venafi Cloud.\nDefaults to \"https://api.venafi.cloud/v1\".", + "type": "string" + } + } + }, + "tpp": { + "description": "TPP specifies Trust Protection Platform configuration settings.\nOnly one of TPP or Cloud may be specified.", + "type": "object", + "required": [ + "credentialsRef", + "url" + ], + "properties": { + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which will be used to validate the certificate\nchain presented by the TPP server. Only used if using HTTPS; ignored for HTTP.\nIf undefined, the certificate bundle in the cert-manager controller container\nis used to validate the chain.", + "type": "string", + "format": "byte" + }, + "caBundleSecretRef": { + "description": "Reference to a Secret containing a base64-encoded bundle of PEM CAs\nwhich will be used to validate the certificate chain presented by the TPP server.\nOnly used if using HTTPS; ignored for HTTP. Mutually exclusive with CABundle.\nIf neither CABundle nor CABundleSecretRef is defined, the certificate bundle in\nthe cert-manager controller container is used to validate the TLS connection.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "credentialsRef": { + "description": "CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials.\nThe secret must contain the key 'access-token' for the Access Token Authentication,\nor two keys, 'username' and 'password' for the API Keys Authentication.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "url": { + "description": "URL is the base URL for the vedsdk endpoint of the Venafi TPP instance,\nfor example: \"https://tpp.example.com/vedsdk\".", + "type": "string" + } + } + }, + "zone": { + "description": "Zone is the Venafi Policy Zone to use for this issuer.\nAll requests made to the Venafi platform will be restricted by the named\nzone policy.\nThis field is required.", + "type": "string" + } + } + } + } + }, + "status": { + "description": "Status of the ClusterIssuer. This is set and managed automatically.", + "type": "object", + "properties": { + "acme": { + "description": "ACME specific status options.\nThis field should only be set if the Issuer is configured to use an ACME\nserver to issue certificates.", + "type": "object", + "properties": { + "lastPrivateKeyHash": { + "description": "LastPrivateKeyHash is a hash of the private key associated with the latest\nregistered ACME account, in order to track changes made to registered account\nassociated with the Issuer", + "type": "string" + }, + "lastRegisteredEmail": { + "description": "LastRegisteredEmail is the email associated with the latest registered\nACME account, in order to track changes made to registered account\nassociated with the Issuer", + "type": "string" + }, + "uri": { + "description": "URI is the unique account identifier, which can also be used to retrieve\naccount details from the CA", + "type": "string" + } + } + }, + "conditions": { + "description": "List of status conditions to indicate the status of a CertificateRequest.\nKnown condition types are `Ready`.", + "type": "array", + "items": { + "description": "IssuerCondition contains condition information for an Issuer.", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the timestamp corresponding to the last status\nchange of this condition.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Message is a human readable description of the details of the last\ntransition, complementing reason.", + "type": "string" + }, + "observedGeneration": { + "description": "If set, this represents the .metadata.generation that the condition was\nset based upon.\nFor instance, if .metadata.generation is currently 12, but the\n.status.condition[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the Issuer.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason is a brief machine readable explanation for the condition's last\ntransition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of (`True`, `False`, `Unknown`).", + "type": "string", + "enum": [ + "True", + "False", + "Unknown" + ] + }, + "type": { + "description": "Type of the condition, known values are (`Ready`).", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "ClusterIssuer", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.ClusterIssuerList": { + "description": "ClusterIssuerList is a list of ClusterIssuer", + "type": "object", + "required": [ + "items" + ], + "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": "List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cert-manager.v1.ClusterIssuer" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "ClusterIssuerList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.Issuer": { + "description": "An Issuer represents a certificate issuing authority which can be\nreferenced as part of `issuerRef` fields.\nIt is scoped to a single namespace and can therefore only be referenced by\nresources within the same namespace.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Desired state of the Issuer resource.", + "type": "object", + "properties": { + "acme": { + "description": "ACME configures this issuer to communicate with a RFC8555 (ACME) server\nto obtain signed x509 certificates.", + "type": "object", + "required": [ + "privateKeySecretRef", + "server" + ], + "properties": { + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which can be used to validate the certificate\nchain presented by the ACME server.\nMutually exclusive with SkipTLSVerify; prefer using CABundle to prevent various\nkinds of security vulnerabilities.\nIf CABundle and SkipTLSVerify are unset, the system certificate bundle inside\nthe container is used to validate the TLS connection.", + "type": "string", + "format": "byte" + }, + "disableAccountKeyGeneration": { + "description": "Enables or disables generating a new ACME account key.\nIf true, the Issuer resource will *not* request a new account but will expect\nthe account key to be supplied via an existing secret.\nIf false, the cert-manager system will generate a new ACME account key\nfor the Issuer.\nDefaults to false.", + "type": "boolean" + }, + "email": { + "description": "Email is the email address to be associated with the ACME account.\nThis field is optional, but it is strongly recommended to be set.\nIt will be used to contact you in case of issues with your account or\ncertificates, including expiry notification emails.\nThis field may be updated after the account is initially registered.", + "type": "string" + }, + "enableDurationFeature": { + "description": "Enables requesting a Not After date on certificates that matches the\nduration of the certificate. This is not supported by all ACME servers\nlike Let's Encrypt. If set to true when the ACME server does not support\nit, it will create an error on the Order.\nDefaults to false.", + "type": "boolean" + }, + "externalAccountBinding": { + "description": "ExternalAccountBinding is a reference to a CA external account of the ACME\nserver.\nIf set, upon registration cert-manager will attempt to associate the given\nexternal account credentials with the registered ACME account.", + "type": "object", + "required": [ + "keyID", + "keySecretRef" + ], + "properties": { + "keyAlgorithm": { + "description": "Deprecated: keyAlgorithm field exists for historical compatibility\nreasons and should not be used. The algorithm is now hardcoded to HS256\nin golang/x/crypto/acme.", + "type": "string", + "enum": [ + "HS256", + "HS384", + "HS512" + ] + }, + "keyID": { + "description": "keyID is the ID of the CA key that the External Account is bound to.", + "type": "string" + }, + "keySecretRef": { + "description": "keySecretRef is a Secret Key Selector referencing a data item in a Kubernetes\nSecret which holds the symmetric MAC key of the External Account Binding.\nThe `key` is the index string that is paired with the key data in the\nSecret and should not be confused with the key data itself, or indeed with\nthe External Account Binding keyID above.\nThe secret key stored in the Secret **must** be un-padded, base64 URL\nencoded data.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "preferredChain": { + "description": "PreferredChain is the chain to use if the ACME server outputs multiple.\nPreferredChain is no guarantee that this one gets delivered by the ACME\nendpoint.\nFor example, for Let's Encrypt's DST crosssign you would use:\n\"DST Root CA X3\" or \"ISRG Root X1\" for the newer Let's Encrypt root CA.\nThis value picks the first certificate bundle in the combined set of\nACME default and alternative chains that has a root-most certificate with\nthis value as its issuer's commonname.", + "type": "string", + "maxLength": 64 + }, + "privateKeySecretRef": { + "description": "PrivateKey is the name of a Kubernetes Secret resource that will be used to\nstore the automatically generated ACME account private key.\nOptionally, a `key` may be specified to select a specific entry within\nthe named Secret resource.\nIf `key` is not specified, a default of `tls.key` will be used.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "server": { + "description": "Server is the URL used to access the ACME server's 'directory' endpoint.\nFor example, for Let's Encrypt's staging endpoint, you would use:\n\"https://acme-staging-v02.api.letsencrypt.org/directory\".\nOnly ACME v2 endpoints (i.e. RFC 8555) are supported.", + "type": "string" + }, + "skipTLSVerify": { + "description": "INSECURE: Enables or disables validation of the ACME server TLS certificate.\nIf true, requests to the ACME server will not have the TLS certificate chain\nvalidated.\nMutually exclusive with CABundle; prefer using CABundle to prevent various\nkinds of security vulnerabilities.\nOnly enable this option in development environments.\nIf CABundle and SkipTLSVerify are unset, the system certificate bundle inside\nthe container is used to validate the TLS connection.\nDefaults to false.", + "type": "boolean" + }, + "solvers": { + "description": "Solvers is a list of challenge solvers that will be used to solve\nACME challenges for the matching domains.\nSolver configurations must be provided in order to obtain certificates\nfrom an ACME server.\nFor more information, see: https://cert-manager.io/docs/configuration/acme/", + "type": "array", + "items": { + "description": "An ACMEChallengeSolver describes how to solve ACME challenges for the issuer it is part of.\nA selector may be provided to use different solving strategies for different DNS names.\nOnly one of HTTP01 or DNS01 must be provided.", + "type": "object", + "properties": { + "dns01": { + "description": "Configures cert-manager to attempt to complete authorizations by\nperforming the DNS01 challenge flow.", + "type": "object", + "properties": { + "acmeDNS": { + "description": "Use the 'ACME DNS' (https://github.com/joohoi/acme-dns) API to manage\nDNS01 challenge records.", + "type": "object", + "required": [ + "accountSecretRef", + "host" + ], + "properties": { + "accountSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "host": { + "type": "string" + } + } + }, + "akamai": { + "description": "Use the Akamai DNS zone management API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "accessTokenSecretRef", + "clientSecretSecretRef", + "clientTokenSecretRef", + "serviceConsumerDomain" + ], + "properties": { + "accessTokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientSecretSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientTokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "serviceConsumerDomain": { + "type": "string" + } + } + }, + "azureDNS": { + "description": "Use the Microsoft Azure DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "resourceGroupName", + "subscriptionID" + ], + "properties": { + "clientID": { + "description": "Auth: Azure Service Principal:\nThe ClientID of the Azure Service Principal used to authenticate with Azure DNS.\nIf set, ClientSecret and TenantID must also be set.", + "type": "string" + }, + "clientSecretSecretRef": { + "description": "Auth: Azure Service Principal:\nA reference to a Secret containing the password associated with the Service Principal.\nIf set, ClientID and TenantID must also be set.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "environment": { + "description": "name of the Azure environment (default AzurePublicCloud)", + "type": "string", + "enum": [ + "AzurePublicCloud", + "AzureChinaCloud", + "AzureGermanCloud", + "AzureUSGovernmentCloud" + ] + }, + "hostedZoneName": { + "description": "name of the DNS zone that should be used", + "type": "string" + }, + "managedIdentity": { + "description": "Auth: Azure Workload Identity or Azure Managed Service Identity:\nSettings to enable Azure Workload Identity or Azure Managed Service Identity\nIf set, ClientID, ClientSecret and TenantID must not be set.", + "type": "object", + "properties": { + "clientID": { + "description": "client ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + }, + "resourceID": { + "description": "resource ID of the managed identity, can not be used at the same time as clientID\nCannot be used for Azure Managed Service Identity", + "type": "string" + }, + "tenantID": { + "description": "tenant ID of the managed identity, can not be used at the same time as resourceID", + "type": "string" + } + } + }, + "resourceGroupName": { + "description": "resource group the DNS zone is located in", + "type": "string" + }, + "subscriptionID": { + "description": "ID of the Azure subscription", + "type": "string" + }, + "tenantID": { + "description": "Auth: Azure Service Principal:\nThe TenantID of the Azure Service Principal used to authenticate with Azure DNS.\nIf set, ClientID and ClientSecret must also be set.", + "type": "string" + } + } + }, + "cloudDNS": { + "description": "Use the Google Cloud DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "project" + ], + "properties": { + "hostedZoneName": { + "description": "HostedZoneName is an optional field that tells cert-manager in which\nCloud DNS zone the challenge record has to be created.\nIf left empty cert-manager will automatically choose a zone.", + "type": "string" + }, + "project": { + "type": "string" + }, + "serviceAccountSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "cloudflare": { + "description": "Use the Cloudflare API to manage DNS01 challenge records.", + "type": "object", + "properties": { + "apiKeySecretRef": { + "description": "API key to use to authenticate with Cloudflare.\nNote: using an API token to authenticate is now the recommended method\nas it allows greater control of permissions.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "apiTokenSecretRef": { + "description": "API token used to authenticate with Cloudflare.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "email": { + "description": "Email of the account, only required when using API key based authentication.", + "type": "string" + } + } + }, + "cnameStrategy": { + "description": "CNAMEStrategy configures how the DNS01 provider should handle CNAME\nrecords when found in DNS zones.", + "type": "string", + "enum": [ + "None", + "Follow" + ] + }, + "digitalocean": { + "description": "Use the DigitalOcean DNS API to manage DNS01 challenge records.", + "type": "object", + "required": [ + "tokenSecretRef" + ], + "properties": { + "tokenSecretRef": { + "description": "A reference to a specific 'key' within a Secret resource.\nIn some instances, `key` is a required field.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "rfc2136": { + "description": "Use RFC2136 (\"Dynamic Updates in the Domain Name System\") (https://datatracker.ietf.org/doc/rfc2136/)\nto manage DNS01 challenge records.", + "type": "object", + "required": [ + "nameserver" + ], + "properties": { + "nameserver": { + "description": "The IP address or hostname of an authoritative DNS server supporting\nRFC2136 in the form host:port. If the host is an IPv6 address it must be\nenclosed in square brackets (e.g [2001:db8::1]) ; port is optional.\nThis field is required.", + "type": "string" + }, + "tsigAlgorithm": { + "description": "The TSIG Algorithm configured in the DNS supporting RFC2136. Used only\nwhen ``tsigSecretSecretRef`` and ``tsigKeyName`` are defined.\nSupported values are (case-insensitive): ``HMACMD5`` (default),\n``HMACSHA1``, ``HMACSHA256`` or ``HMACSHA512``.", + "type": "string" + }, + "tsigKeyName": { + "description": "The TSIG Key name configured in the DNS.\nIf ``tsigSecretSecretRef`` is defined, this field is required.", + "type": "string" + }, + "tsigSecretSecretRef": { + "description": "The name of the secret containing the TSIG value.\nIf ``tsigKeyName`` is defined, this field is required.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "route53": { + "description": "Use the AWS Route53 API to manage DNS01 challenge records.", + "type": "object", + "properties": { + "accessKeyID": { + "description": "The AccessKeyID is used for authentication.\nCannot be set when SecretAccessKeyID is set.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "string" + }, + "accessKeyIDSecretRef": { + "description": "The SecretAccessKey is used for authentication. If set, pull the AWS\naccess key ID from a key within a Kubernetes Secret.\nCannot be set when AccessKeyID is set.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "auth": { + "description": "Auth configures how cert-manager authenticates.", + "type": "object", + "required": [ + "kubernetes" + ], + "properties": { + "kubernetes": { + "description": "Kubernetes authenticates with Route53 using AssumeRoleWithWebIdentity\nby passing a bound ServiceAccount token.", + "type": "object", + "required": [ + "serviceAccountRef" + ], + "properties": { + "serviceAccountRef": { + "description": "A reference to a service account that will be used to request a bound\ntoken (also known as \"projected token\"). To use this field, you must\nconfigure an RBAC rule to let cert-manager request a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "audiences": { + "description": "TokenAudiences is an optional list of audiences to include in the\ntoken passed to AWS. The default token consisting of the issuer's namespace\nand name is always included.\nIf unset the audience defaults to `sts.amazonaws.com`.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "Name of the ServiceAccount used to request a token.", + "type": "string" + } + } + } + } + } + } + }, + "hostedZoneID": { + "description": "If set, the provider will manage only this zone in Route53 and will not do a lookup using the route53:ListHostedZonesByName api call.", + "type": "string" + }, + "region": { + "description": "Override the AWS region.\n\nRoute53 is a global service and does not have regional endpoints but the\nregion specified here (or via environment variables) is used as a hint to\nhelp compute the correct AWS credential scope and partition when it\nconnects to Route53. See:\n- [Amazon Route 53 endpoints and quotas](https://docs.aws.amazon.com/general/latest/gr/r53.html)\n- [Global services](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/global-services.html)\n\nIf you omit this region field, cert-manager will use the region from\nAWS_REGION and AWS_DEFAULT_REGION environment variables, if they are set\nin the cert-manager controller Pod.\n\nThe `region` field is not needed if you use [IAM Roles for Service Accounts (IRSA)](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).\nInstead an AWS_REGION environment variable is added to the cert-manager controller Pod by:\n[Amazon EKS Pod Identity Webhook](https://github.com/aws/amazon-eks-pod-identity-webhook).\nIn this case this `region` field value is ignored.\n\nThe `region` field is not needed if you use [EKS Pod Identities](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).\nInstead an AWS_REGION environment variable is added to the cert-manager controller Pod by:\n[Amazon EKS Pod Identity Agent](https://github.com/aws/eks-pod-identity-agent),\nIn this case this `region` field value is ignored.", + "type": "string" + }, + "role": { + "description": "Role is a Role ARN which the Route53 provider will assume using either the explicit credentials AccessKeyID/SecretAccessKey\nor the inferred credentials from environment variables, shared credentials file or AWS Instance metadata", + "type": "string" + }, + "secretAccessKeySecretRef": { + "description": "The SecretAccessKey is used for authentication.\nIf neither the Access Key nor Key ID are set, we fall-back to using env\nvars, shared credentials file or AWS Instance metadata,\nsee: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "webhook": { + "description": "Configure an external webhook based DNS01 challenge solver to manage\nDNS01 challenge records.", + "type": "object", + "required": [ + "groupName", + "solverName" + ], + "properties": { + "config": { + "description": "Additional configuration that should be passed to the webhook apiserver\nwhen challenges are processed.\nThis can contain arbitrary JSON data.\nSecret values should not be specified in this stanza.\nIf secret values are needed (e.g. credentials for a DNS service), you\nshould use a SecretKeySelector to reference a Secret resource.\nFor details on the schema of this field, consult the webhook provider\nimplementation's documentation.", + "x-kubernetes-preserve-unknown-fields": true + }, + "groupName": { + "description": "The API group name that should be used when POSTing ChallengePayload\nresources to the webhook apiserver.\nThis should be the same as the GroupName specified in the webhook\nprovider implementation.", + "type": "string" + }, + "solverName": { + "description": "The name of the solver to use, as defined in the webhook provider\nimplementation.\nThis will typically be the name of the provider, e.g. 'cloudflare'.", + "type": "string" + } + } + } + } + }, + "http01": { + "description": "Configures cert-manager to attempt to complete authorizations by\nperforming the HTTP01 challenge flow.\nIt is not possible to obtain certificates for wildcard domain names\n(e.g. `*.example.com`) using the HTTP01 challenge mechanism.", + "type": "object", + "properties": { + "gatewayHTTPRoute": { + "description": "The Gateway API is a sig-network community API that models service networking\nin Kubernetes (https://gateway-api.sigs.k8s.io/). The Gateway solver will\ncreate HTTPRoutes with the specified labels in the same namespace as the challenge.\nThis solver is experimental, and fields / behaviour may change in the future.", + "type": "object", + "properties": { + "labels": { + "description": "Custom labels that will be applied to HTTPRoutes created by cert-manager\nwhile solving HTTP-01 challenges.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "parentRefs": { + "description": "When solving an HTTP-01 challenge, cert-manager creates an HTTPRoute.\ncert-manager needs to know which parentRefs should be used when creating\nthe HTTPRoute. Usually, the parentRef references a Gateway. See:\nhttps://gateway-api.sigs.k8s.io/api-types/httproute/#attaching-to-gateways", + "type": "array", + "items": { + "description": "ParentReference identifies an API object (usually a Gateway) that can be considered\na parent of this resource (usually a route). There are two kinds of parent resources\nwith \"Core\" support:\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\nThis API may be extended in the future to support additional kinds of parent\nresources.\n\nThe API object must be valid in the cluster; the Group and Kind must\nbe registered in the cluster for this reference to be valid.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "group": { + "description": "Group is the group of the referent.\nWhen unspecified, \"gateway.networking.k8s.io\" is inferred.\nTo set the core API group (such as for a \"Service\" kind referent),\nGroup must be explicitly set to \"\" (empty string).\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "pattern": "^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + }, + "kind": { + "description": "Kind is kind of the referent.\n\nThere are two kinds of parent resources with \"Core\" support:\n\n* Gateway (Gateway conformance profile)\n* Service (Mesh conformance profile, ClusterIP Services only)\n\nSupport for other resources is Implementation-Specific.", + "type": "string", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$" + }, + "name": { + "description": "Name is the name of the referent.\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "minLength": 1 + }, + "namespace": { + "description": "Namespace is the namespace of the referent. When unspecified, this refers\nto the local namespace of the Route.\n\nNote that there are specific rules for ParentRefs which cross namespace\nboundaries. Cross-namespace references are only valid if they are explicitly\nallowed by something in the namespace they are referring to. For example:\nGateway has the AllowedRoutes field, and ReferenceGrant provides a\ngeneric way to enable any other kind of cross-namespace reference.\n\n\nParentRefs from a Route to a Service in the same namespace are \"producer\"\nroutes, which apply default routing rules to inbound connections from\nany namespace to the Service.\n\nParentRefs from a Route to a Service in a different namespace are\n\"consumer\" routes, and these routing rules are only applied to outbound\nconnections originating from the same namespace as the Route, for which\nthe intended destination of the connections are a Service targeted as a\nParentRef of the Route.\n\n\nSupport: Core", + "type": "string", + "maxLength": 63, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "port": { + "description": "Port is the network port this Route targets. It can be interpreted\ndifferently based on the type of parent resource.\n\nWhen the parent resource is a Gateway, this targets all listeners\nlistening on the specified port that also support this kind of Route(and\nselect this Route). It's not recommended to set `Port` unless the\nnetworking behaviors specified in a Route must apply to a specific port\nas opposed to a listener(s) whose port(s) may be changed. When both Port\nand SectionName are specified, the name and port of the selected listener\nmust match both specified values.\n\n\nWhen the parent resource is a Service, this targets a specific port in the\nService spec. When both Port (experimental) and SectionName are specified,\nthe name and port of the selected port must match both specified values.\n\n\nImplementations MAY choose to support other parent resources.\nImplementations supporting other types of parent resources MUST clearly\ndocument how/if Port is interpreted.\n\nFor the purpose of status, an attachment is considered successful as\nlong as the parent resource accepts it partially. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment\nfrom the referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route,\nthe Route MUST be considered detached from the Gateway.\n\nSupport: Extended", + "type": "integer", + "format": "int32", + "maximum": 65535, + "minimum": 1 + }, + "sectionName": { + "description": "SectionName is the name of a section within the target resource. In the\nfollowing resources, SectionName is interpreted as the following:\n\n* Gateway: Listener name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n* Service: Port name. When both Port (experimental) and SectionName\nare specified, the name and port of the selected listener must match\nboth specified values.\n\nImplementations MAY choose to support attaching Routes to other resources.\nIf that is the case, they MUST clearly document how SectionName is\ninterpreted.\n\nWhen unspecified (empty string), this will reference the entire resource.\nFor the purpose of status, an attachment is considered successful if at\nleast one section in the parent resource accepts it. For example, Gateway\nlisteners can restrict which Routes can attach to them by Route kind,\nnamespace, or hostname. If 1 of 2 Gateway listeners accept attachment from\nthe referencing Route, the Route MUST be considered successfully\nattached. If no Gateway listeners accept attachment from this Route, the\nRoute MUST be considered detached from the Gateway.\n\nSupport: Core", + "type": "string", + "maxLength": 253, + "minLength": 1, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" + } + } + } + }, + "podTemplate": { + "description": "Optional pod template used to configure the ACME challenge solver pods\nused for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "spec": { + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod.\nCheck ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields.\nAll other fields will be ignored.", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "securityContext": { + "description": "If specified, the pod's security context", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + } + } + } + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + } + } + } + } + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values\nare NodePort or ClusterIP. If unset, defaults to NodePort.", + "type": "string" + } + } + }, + "ingress": { + "description": "The ingress based HTTP01 challenge solver will solve challenges by\ncreating or modifying Ingress resources in order to route requests for\n'/.well-known/acme-challenge/XYZ' to 'challenge solver' pods that are\nprovisioned by cert-manager for each Challenge to be completed.", + "type": "object", + "properties": { + "class": { + "description": "This field configures the annotation `kubernetes.io/ingress.class` when\ncreating Ingress resources to solve ACME challenges that use this\nchallenge solver. Only one of `class`, `name` or `ingressClassName` may\nbe specified.", + "type": "string" + }, + "ingressClassName": { + "description": "This field configures the field `ingressClassName` on the created Ingress\nresources used to solve ACME challenges that use this challenge solver.\nThis is the recommended way of configuring the ingress class. Only one of\n`class`, `name` or `ingressClassName` may be specified.", + "type": "string" + }, + "ingressTemplate": { + "description": "Optional ingress template used to configure the ACME challenge solver\ningress used for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the ingress used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver ingress.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver ingress.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + }, + "name": { + "description": "The name of the ingress resource that should have ACME challenge solving\nroutes inserted into it in order to solve HTTP01 challenges.\nThis is typically used in conjunction with ingress controllers like\ningress-gce, which maintains a 1:1 mapping between external IPs and\ningress resources. Only one of `class`, `name` or `ingressClassName` may\nbe specified.", + "type": "string" + }, + "podTemplate": { + "description": "Optional pod template used to configure the ACME challenge solver pods\nused for HTTP01 challenges.", + "type": "object", + "properties": { + "metadata": { + "description": "ObjectMeta overrides for the pod used to solve HTTP01 challenges.\nOnly the 'labels' and 'annotations' fields may be set.\nIf labels or annotations overlap with in-built values, the values here\nwill override the in-built values.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Labels that should be added to the created ACME HTTP01 solver pods.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "spec": { + "description": "PodSpec defines overrides for the HTTP01 challenge solver pod.\nCheck ACMEChallengeSolverHTTP01IngressPodSpec to find out currently supported fields.\nAll other fields will be ignored.", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "imagePullSecrets": { + "description": "If specified, the pod's imagePullSecrets", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "priorityClassName": { + "description": "If specified, the pod's priorityClassName.", + "type": "string" + }, + "securityContext": { + "description": "If specified, the pod's security context", + "type": "object", + "properties": { + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID, the fsGroup (if specified), and group memberships\ndefined in the container image for the uid of the container process. If unspecified,\nno additional groups are added to any container. Note that group memberships\ndefined in the container image for the uid of the container process are still effective,\neven if they are not included in this list.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + } + } + } + }, + "serviceAccountName": { + "description": "If specified, the pod's service account", + "type": "string" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + } + } + } + } + }, + "serviceType": { + "description": "Optional service type for Kubernetes solver service. Supported values\nare NodePort or ClusterIP. If unset, defaults to NodePort.", + "type": "string" + } + } + } + } + }, + "selector": { + "description": "Selector selects a set of DNSNames on the Certificate resource that\nshould be solved using this challenge solver.\nIf not specified, the solver will be treated as the 'default' solver\nwith the lowest priority, i.e. if any other solver has a more specific\nmatch, it will be used instead.", + "type": "object", + "properties": { + "dnsNames": { + "description": "List of DNSNames that this solver will be used to solve.\nIf specified and a match is found, a dnsNames selector will take\nprecedence over a dnsZones selector.\nIf multiple solvers match with the same dnsNames value, the solver\nwith the most matching labels in matchLabels will be selected.\nIf neither has more matches, the solver defined earlier in the list\nwill be selected.", + "type": "array", + "items": { + "type": "string" + } + }, + "dnsZones": { + "description": "List of DNSZones that this solver will be used to solve.\nThe most specific DNS zone match specified here will take precedence\nover other DNS zone matches, so a solver specifying sys.example.com\nwill be selected over one specifying example.com for the domain\nwww.sys.example.com.\nIf multiple solvers match with the same dnsZones value, the solver\nwith the most matching labels in matchLabels will be selected.\nIf neither has more matches, the solver defined earlier in the list\nwill be selected.", + "type": "array", + "items": { + "type": "string" + } + }, + "matchLabels": { + "description": "A label selector that is used to refine the set of certificate's that\nthis challenge solver will apply to.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "ca": { + "description": "CA configures this issuer to sign certificates using a signing CA keypair\nstored in a Secret resource.\nThis is used to build internal PKIs that are managed by cert-manager.", + "type": "object", + "required": [ + "secretName" + ], + "properties": { + "crlDistributionPoints": { + "description": "The CRL distribution points is an X.509 v3 certificate extension which identifies\nthe location of the CRL from which the revocation of this certificate can be checked.\nIf not set, certificates will be issued without distribution points set.", + "type": "array", + "items": { + "type": "string" + } + }, + "issuingCertificateURLs": { + "description": "IssuingCertificateURLs is a list of URLs which this issuer should embed into certificates\nit creates. See https://www.rfc-editor.org/rfc/rfc5280#section-4.2.2.1 for more details.\nAs an example, such a URL might be \"http://ca.domain.com/ca.crt\".", + "type": "array", + "items": { + "type": "string" + } + }, + "ocspServers": { + "description": "The OCSP server list is an X.509 v3 extension that defines a list of\nURLs of OCSP responders. The OCSP responders can be queried for the\nrevocation status of an issued certificate. If not set, the\ncertificate will be issued with no OCSP servers set. For example, an\nOCSP server URL could be \"http://ocsp.int-x3.letsencrypt.org\".", + "type": "array", + "items": { + "type": "string" + } + }, + "secretName": { + "description": "SecretName is the name of the secret used to sign Certificates issued\nby this Issuer.", + "type": "string" + } + } + }, + "selfSigned": { + "description": "SelfSigned configures this issuer to 'self sign' certificates using the\nprivate key used to create the CertificateRequest object.", + "type": "object", + "properties": { + "crlDistributionPoints": { + "description": "The CRL distribution points is an X.509 v3 certificate extension which identifies\nthe location of the CRL from which the revocation of this certificate can be checked.\nIf not set certificate will be issued without CDP. Values are strings.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "vault": { + "description": "Vault configures this issuer to sign certificates using a HashiCorp Vault\nPKI backend.", + "type": "object", + "required": [ + "auth", + "path", + "server" + ], + "properties": { + "auth": { + "description": "Auth configures how cert-manager authenticates with the Vault server.", + "type": "object", + "properties": { + "appRole": { + "description": "AppRole authenticates with Vault using the App Role auth mechanism,\nwith the role and secret stored in a Kubernetes Secret resource.", + "type": "object", + "required": [ + "path", + "roleId", + "secretRef" + ], + "properties": { + "path": { + "description": "Path where the App Role authentication backend is mounted in Vault, e.g:\n\"approle\"", + "type": "string" + }, + "roleId": { + "description": "RoleID configured in the App Role authentication backend when setting\nup the authentication backend in Vault.", + "type": "string" + }, + "secretRef": { + "description": "Reference to a key in a Secret that contains the App Role secret used\nto authenticate with Vault.\nThe `key` field must be specified and denotes which entry within the Secret\nresource is used as the app role secret.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "clientCertificate": { + "description": "ClientCertificate authenticates with Vault by presenting a client\ncertificate during the request's TLS handshake.\nWorks only when using HTTPS protocol.", + "type": "object", + "properties": { + "mountPath": { + "description": "The Vault mountPath here is the mount path to use when authenticating with\nVault. For example, setting a value to `/v1/auth/foo`, will use the path\n`/v1/auth/foo/login` to authenticate with Vault. If unspecified, the\ndefault value \"/v1/auth/cert\" will be used.", + "type": "string" + }, + "name": { + "description": "Name of the certificate role to authenticate against.\nIf not set, matching any certificate role, if available.", + "type": "string" + }, + "secretName": { + "description": "Reference to Kubernetes Secret of type \"kubernetes.io/tls\" (hence containing\ntls.crt and tls.key) used to authenticate to Vault using TLS client\nauthentication.", + "type": "string" + } + } + }, + "kubernetes": { + "description": "Kubernetes authenticates with Vault by passing the ServiceAccount\ntoken stored in the named Secret resource to the Vault server.", + "type": "object", + "required": [ + "role" + ], + "properties": { + "mountPath": { + "description": "The Vault mountPath here is the mount path to use when authenticating with\nVault. For example, setting a value to `/v1/auth/foo`, will use the path\n`/v1/auth/foo/login` to authenticate with Vault. If unspecified, the\ndefault value \"/v1/auth/kubernetes\" will be used.", + "type": "string" + }, + "role": { + "description": "A required field containing the Vault Role to assume. A Role binds a\nKubernetes ServiceAccount with a set of Vault policies.", + "type": "string" + }, + "secretRef": { + "description": "The required Secret field containing a Kubernetes ServiceAccount JWT used\nfor authenticating with Vault. Use of 'ambient credentials' is not\nsupported.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "serviceAccountRef": { + "description": "A reference to a service account that will be used to request a bound\ntoken (also known as \"projected token\"). Compared to using \"secretRef\",\nusing this field means that you don't rely on statically bound tokens. To\nuse this field, you must configure an RBAC rule to let cert-manager\nrequest a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "audiences": { + "description": "TokenAudiences is an optional list of extra audiences to include in the token passed to Vault. The default token\nconsisting of the issuer's namespace and name is always included.", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "Name of the ServiceAccount used to request a token.", + "type": "string" + } + } + } + } + }, + "tokenSecretRef": { + "description": "TokenSecretRef authenticates with Vault by presenting a token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + } + } + }, + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which will be used to validate the certificate\nchain presented by Vault. Only used if using HTTPS to connect to Vault and\nignored for HTTP connections.\nMutually exclusive with CABundleSecretRef.\nIf neither CABundle nor CABundleSecretRef are defined, the certificate bundle in\nthe cert-manager controller container is used to validate the TLS connection.", + "type": "string", + "format": "byte" + }, + "caBundleSecretRef": { + "description": "Reference to a Secret containing a bundle of PEM-encoded CAs to use when\nverifying the certificate chain presented by Vault when using HTTPS.\nMutually exclusive with CABundle.\nIf neither CABundle nor CABundleSecretRef are defined, the certificate bundle in\nthe cert-manager controller container is used to validate the TLS connection.\nIf no key for the Secret is specified, cert-manager will default to 'ca.crt'.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientCertSecretRef": { + "description": "Reference to a Secret containing a PEM-encoded Client Certificate to use when the\nVault server requires mTLS.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "clientKeySecretRef": { + "description": "Reference to a Secret containing a PEM-encoded Client Private Key to use when the\nVault server requires mTLS.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "namespace": { + "description": "Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows Vault environments to support Secure Multi-tenancy. e.g: \"ns1\"\nMore about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces", + "type": "string" + }, + "path": { + "description": "Path is the mount path of the Vault PKI backend's `sign` endpoint, e.g:\n\"my_pki_mount/sign/my-role-name\".", + "type": "string" + }, + "server": { + "description": "Server is the connection address for the Vault server, e.g: \"https://vault.example.com:8200\".", + "type": "string" + } + } + }, + "venafi": { + "description": "Venafi configures this issuer to sign certificates using a Venafi TPP\nor Venafi Cloud policy zone.", + "type": "object", + "required": [ + "zone" + ], + "properties": { + "cloud": { + "description": "Cloud specifies the Venafi cloud configuration settings.\nOnly one of TPP or Cloud may be specified.", + "type": "object", + "required": [ + "apiTokenSecretRef" + ], + "properties": { + "apiTokenSecretRef": { + "description": "APITokenSecretRef is a secret key selector for the Venafi Cloud API token.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "url": { + "description": "URL is the base URL for Venafi Cloud.\nDefaults to \"https://api.venafi.cloud/v1\".", + "type": "string" + } + } + }, + "tpp": { + "description": "TPP specifies Trust Protection Platform configuration settings.\nOnly one of TPP or Cloud may be specified.", + "type": "object", + "required": [ + "credentialsRef", + "url" + ], + "properties": { + "caBundle": { + "description": "Base64-encoded bundle of PEM CAs which will be used to validate the certificate\nchain presented by the TPP server. Only used if using HTTPS; ignored for HTTP.\nIf undefined, the certificate bundle in the cert-manager controller container\nis used to validate the chain.", + "type": "string", + "format": "byte" + }, + "caBundleSecretRef": { + "description": "Reference to a Secret containing a base64-encoded bundle of PEM CAs\nwhich will be used to validate the certificate chain presented by the TPP server.\nOnly used if using HTTPS; ignored for HTTP. Mutually exclusive with CABundle.\nIf neither CABundle nor CABundleSecretRef is defined, the certificate bundle in\nthe cert-manager controller container is used to validate the TLS connection.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "The key of the entry in the Secret resource's `data` field to be used.\nSome instances of this field may be defaulted, in others it may be\nrequired.", + "type": "string" + }, + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "credentialsRef": { + "description": "CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials.\nThe secret must contain the key 'access-token' for the Access Token Authentication,\nor two keys, 'username' and 'password' for the API Keys Authentication.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the resource being referred to.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "url": { + "description": "URL is the base URL for the vedsdk endpoint of the Venafi TPP instance,\nfor example: \"https://tpp.example.com/vedsdk\".", + "type": "string" + } + } + }, + "zone": { + "description": "Zone is the Venafi Policy Zone to use for this issuer.\nAll requests made to the Venafi platform will be restricted by the named\nzone policy.\nThis field is required.", + "type": "string" + } + } + } + } + }, + "status": { + "description": "Status of the Issuer. This is set and managed automatically.", + "type": "object", + "properties": { + "acme": { + "description": "ACME specific status options.\nThis field should only be set if the Issuer is configured to use an ACME\nserver to issue certificates.", + "type": "object", + "properties": { + "lastPrivateKeyHash": { + "description": "LastPrivateKeyHash is a hash of the private key associated with the latest\nregistered ACME account, in order to track changes made to registered account\nassociated with the Issuer", + "type": "string" + }, + "lastRegisteredEmail": { + "description": "LastRegisteredEmail is the email associated with the latest registered\nACME account, in order to track changes made to registered account\nassociated with the Issuer", + "type": "string" + }, + "uri": { + "description": "URI is the unique account identifier, which can also be used to retrieve\naccount details from the CA", + "type": "string" + } + } + }, + "conditions": { + "description": "List of status conditions to indicate the status of a CertificateRequest.\nKnown condition types are `Ready`.", + "type": "array", + "items": { + "description": "IssuerCondition contains condition information for an Issuer.", + "type": "object", + "required": [ + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "LastTransitionTime is the timestamp corresponding to the last status\nchange of this condition.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Message is a human readable description of the details of the last\ntransition, complementing reason.", + "type": "string" + }, + "observedGeneration": { + "description": "If set, this represents the .metadata.generation that the condition was\nset based upon.\nFor instance, if .metadata.generation is currently 12, but the\n.status.condition[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the Issuer.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "Reason is a brief machine readable explanation for the condition's last\ntransition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of (`True`, `False`, `Unknown`).", + "type": "string", + "enum": [ + "True", + "False", + "Unknown" + ] + }, + "type": { + "description": "Type of the condition, known values are (`Ready`).", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "Issuer", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cert-manager.v1.IssuerList": { + "description": "IssuerList is a list of Issuer", + "type": "object", + "required": [ + "items" + ], + "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": "List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cert-manager.v1.Issuer" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "cert-manager.io", + "kind": "IssuerList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.Backup": { + "description": "A Backup resource is a request for a PostgreSQL backup by the user.", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the backup.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "cluster" + ], + "properties": { + "cluster": { + "description": "The cluster to backup", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "method": { + "description": "The backup method to be used, possible options are `barmanObjectStore`,\n`volumeSnapshot` or `plugin`. Defaults to: `barmanObjectStore`.", + "type": "string", + "enum": [ + "barmanObjectStore", + "volumeSnapshot", + "plugin" + ] + }, + "online": { + "description": "Whether the default type of backup with volume snapshots is\nonline/hot (`true`, default) or offline/cold (`false`)\nOverrides the default setting specified in the cluster field '.spec.backup.volumeSnapshot.online'", + "type": "boolean" + }, + "onlineConfiguration": { + "description": "Configuration parameters to control the online/hot backup with volume snapshots\nOverrides the default settings specified in the cluster '.backup.volumeSnapshot.onlineConfiguration' stanza", + "type": "object", + "properties": { + "immediateCheckpoint": { + "description": "Control whether the I/O workload for the backup initial checkpoint will\nbe limited, according to the `checkpoint_completion_target` setting on\nthe PostgreSQL server. If set to true, an immediate checkpoint will be\nused, meaning PostgreSQL will complete the checkpoint as soon as\npossible. `false` by default.", + "type": "boolean" + }, + "waitForArchive": { + "description": "If false, the function will return immediately after the backup is completed,\nwithout waiting for WAL to be archived.\nThis behavior is only useful with backup software that independently monitors WAL archiving.\nOtherwise, WAL required to make the backup consistent might be missing and make the backup useless.\nBy default, or when this parameter is true, pg_backup_stop will wait for WAL to be archived when archiving is\nenabled.\nOn a standby, this means that it will wait only when archive_mode = always.\nIf write activity on the primary is low, it may be useful to run pg_switch_wal on the primary in order to trigger\nan immediate segment switch.", + "type": "boolean" + } + } + }, + "pluginConfiguration": { + "description": "Configuration parameters passed to the plugin managing this backup", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is the name of the plugin managing this backup", + "type": "string" + }, + "parameters": { + "description": "Parameters are the configuration parameters passed to the backup\nplugin for this backup", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "target": { + "description": "The policy to decide which instance should perform this backup. If empty,\nit defaults to `cluster.spec.backup.target`.\nAvailable options are empty string, `primary` and `prefer-standby`.\n`primary` to have backups run always on primary instances,\n`prefer-standby` to have backups run preferably on the most updated\nstandby, if available.", + "type": "string", + "enum": [ + "primary", + "prefer-standby" + ] + } + } + }, + "status": { + "description": "Most recently observed status of the backup. This data may not be up to\ndate. Populated by the system. Read-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "azureCredentials": { + "description": "The credentials to use to upload data to Azure Blob Storage", + "type": "object", + "properties": { + "connectionString": { + "description": "The connection string to be used", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "inheritFromAzureAD": { + "description": "Use the Azure AD based authentication without providing explicitly the keys.", + "type": "boolean" + }, + "storageAccount": { + "description": "The storage account where to upload data", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "storageKey": { + "description": "The storage account key to be used in conjunction\nwith the storage account name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "storageSasToken": { + "description": "A shared-access-signature to be used in conjunction with\nthe storage account name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + }, + "backupId": { + "description": "The ID of the Barman backup", + "type": "string" + }, + "backupLabelFile": { + "description": "Backup label file content as returned by Postgres in case of online (hot) backups", + "type": "string", + "format": "byte" + }, + "backupName": { + "description": "The Name of the Barman backup", + "type": "string" + }, + "beginLSN": { + "description": "The starting xlog", + "type": "string" + }, + "beginWal": { + "description": "The starting WAL", + "type": "string" + }, + "commandError": { + "description": "The backup command output in case of error", + "type": "string" + }, + "commandOutput": { + "description": "Unused. Retained for compatibility with old versions.", + "type": "string" + }, + "destinationPath": { + "description": "The path where to store the backup (i.e. s3://bucket/path/to/folder)\nthis path, with different destination folders, will be used for WALs\nand for data. This may not be populated in case of errors.", + "type": "string" + }, + "encryption": { + "description": "Encryption method required to S3 API", + "type": "string" + }, + "endLSN": { + "description": "The ending xlog", + "type": "string" + }, + "endWal": { + "description": "The ending WAL", + "type": "string" + }, + "endpointCA": { + "description": "EndpointCA store the CA bundle of the barman endpoint.\nUseful when using self-signed certificates to avoid\nerrors with certificate issuer and barman-cloud-wal-archive.", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "endpointURL": { + "description": "Endpoint to be used to upload data to the cloud,\noverriding the automatic endpoint discovery", + "type": "string" + }, + "error": { + "description": "The detected error", + "type": "string" + }, + "googleCredentials": { + "description": "The credentials to use to upload data to Google Cloud Storage", + "type": "object", + "properties": { + "applicationCredentials": { + "description": "The secret containing the Google Cloud Storage JSON file with the credentials", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "gkeEnvironment": { + "description": "If set to true, will presume that it's running inside a GKE environment,\ndefault to false.", + "type": "boolean" + } + } + }, + "instanceID": { + "description": "Information to identify the instance where the backup has been taken from", + "type": "object", + "properties": { + "ContainerID": { + "description": "The container ID", + "type": "string" + }, + "podName": { + "description": "The pod name", + "type": "string" + } + } + }, + "method": { + "description": "The backup method being used", + "type": "string" + }, + "online": { + "description": "Whether the backup was online/hot (`true`) or offline/cold (`false`)", + "type": "boolean" + }, + "phase": { + "description": "The last backup status", + "type": "string" + }, + "pluginMetadata": { + "description": "A map containing the plugin metadata", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "s3Credentials": { + "description": "The credentials to use to upload data to S3", + "type": "object", + "properties": { + "accessKeyId": { + "description": "The reference to the access key id", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "inheritFromIAMRole": { + "description": "Use the role based authentication without providing explicitly the keys.", + "type": "boolean" + }, + "region": { + "description": "The reference to the secret containing the region name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "secretAccessKey": { + "description": "The reference to the secret access key", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "sessionToken": { + "description": "The references to the session key", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + }, + "serverName": { + "description": "The server name on S3, the cluster name is used if this\nparameter is omitted", + "type": "string" + }, + "snapshotBackupStatus": { + "description": "Status of the volumeSnapshot backup", + "type": "object", + "properties": { + "elements": { + "description": "The elements list, populated with the gathered volume snapshots", + "type": "array", + "items": { + "description": "BackupSnapshotElementStatus is a volume snapshot that is part of a volume snapshot method backup", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "Name is the snapshot resource name", + "type": "string" + }, + "tablespaceName": { + "description": "TablespaceName is the name of the snapshotted tablespace. Only set\nwhen type is PG_TABLESPACE", + "type": "string" + }, + "type": { + "description": "Type is tho role of the snapshot in the cluster, such as PG_DATA, PG_WAL and PG_TABLESPACE", + "type": "string" + } + } + } + } + } + }, + "startedAt": { + "description": "When the backup was started", + "type": "string", + "format": "date-time" + }, + "stoppedAt": { + "description": "When the backup was terminated", + "type": "string", + "format": "date-time" + }, + "tablespaceMapFile": { + "description": "Tablespace map file content as returned by Postgres in case of online (hot) backups", + "type": "string", + "format": "byte" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "Backup", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.BackupList": { + "description": "BackupList is a list of Backup", + "type": "object", + "required": [ + "items" + ], + "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": "List of backups. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Backup" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "BackupList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.Cluster": { + "description": "Cluster is the Schema for the PostgreSQL API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the cluster.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "instances" + ], + "properties": { + "affinity": { + "description": "Affinity/Anti-affinity rules for Pods", + "type": "object", + "properties": { + "additionalPodAffinity": { + "description": "AdditionalPodAffinity allows to specify pod affinity terms to be passed to all the cluster's pods.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "additionalPodAntiAffinity": { + "description": "AdditionalPodAntiAffinity allows to specify pod anti-affinity terms to be added to the ones generated\nby the operator if EnablePodAntiAffinity is set to true (default) or to be used exclusively if set to false.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "enablePodAntiAffinity": { + "description": "Activates anti-affinity for the pods. The operator will define pods\nanti-affinity unless this field is explicitly set to false", + "type": "boolean" + }, + "nodeAffinity": { + "description": "NodeAffinity describes node affinity scheduling rules for the pod.\nMore info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "nodeSelector": { + "description": "NodeSelector is map of key-value pairs used to define the nodes on which\nthe pods can run.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "podAntiAffinityType": { + "description": "PodAntiAffinityType allows the user to decide whether pod anti-affinity between cluster instance has to be\nconsidered a strong requirement during scheduling or not. Allowed values are: \"preferred\" (default if empty) or\n\"required\". Setting it to \"required\", could lead to instances remaining pending until new kubernetes nodes are\nadded if all the existing nodes don't match the required pod anti-affinity rule.\nMore info:\nhttps://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity", + "type": "string" + }, + "tolerations": { + "description": "Tolerations is a list of Tolerations that should be set for all the pods, in order to allow them to run\non tainted nodes.\nMore info: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + } + }, + "topologyKey": { + "description": "TopologyKey to use for anti-affinity configuration. See k8s documentation\nfor more info on that", + "type": "string" + } + } + }, + "backup": { + "description": "The configuration to be used for backups", + "type": "object", + "properties": { + "barmanObjectStore": { + "description": "The configuration for the barman-cloud tool suite", + "type": "object", + "required": [ + "destinationPath" + ], + "properties": { + "azureCredentials": { + "description": "The credentials to use to upload data to Azure Blob Storage", + "type": "object", + "properties": { + "connectionString": { + "description": "The connection string to be used", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "inheritFromAzureAD": { + "description": "Use the Azure AD based authentication without providing explicitly the keys.", + "type": "boolean" + }, + "storageAccount": { + "description": "The storage account where to upload data", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "storageKey": { + "description": "The storage account key to be used in conjunction\nwith the storage account name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "storageSasToken": { + "description": "A shared-access-signature to be used in conjunction with\nthe storage account name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + }, + "data": { + "description": "The configuration to be used to backup the data files\nWhen not defined, base backups files will be stored uncompressed and may\nbe unencrypted in the object store, according to the bucket default\npolicy.", + "type": "object", + "properties": { + "additionalCommandArgs": { + "description": "AdditionalCommandArgs represents additional arguments that can be appended\nto the 'barman-cloud-backup' command-line invocation. These arguments\nprovide flexibility to customize the backup process further according to\nspecific requirements or configurations.\n\nExample:\nIn a scenario where specialized backup options are required, such as setting\na specific timeout or defining custom behavior, users can use this field\nto specify additional command arguments.\n\nNote:\nIt's essential to ensure that the provided arguments are valid and supported\nby the 'barman-cloud-backup' command, to avoid potential errors or unintended\nbehavior during execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "compression": { + "description": "Compress a backup file (a tar file per tablespace) while streaming it\nto the object store. Available options are empty string (no\ncompression, default), `gzip`, `bzip2`, and `snappy`.", + "type": "string", + "enum": [ + "bzip2", + "gzip", + "snappy" + ] + }, + "encryption": { + "description": "Whenever to force the encryption of files (if the bucket is\nnot already configured for that).\nAllowed options are empty string (use the bucket policy, default),\n`AES256` and `aws:kms`", + "type": "string", + "enum": [ + "AES256", + "aws:kms" + ] + }, + "immediateCheckpoint": { + "description": "Control whether the I/O workload for the backup initial checkpoint will\nbe limited, according to the `checkpoint_completion_target` setting on\nthe PostgreSQL server. If set to true, an immediate checkpoint will be\nused, meaning PostgreSQL will complete the checkpoint as soon as\npossible. `false` by default.", + "type": "boolean" + }, + "jobs": { + "description": "The number of parallel jobs to be used to upload the backup, defaults\nto 2", + "type": "integer", + "format": "int32", + "minimum": 1 + } + } + }, + "destinationPath": { + "description": "The path where to store the backup (i.e. s3://bucket/path/to/folder)\nthis path, with different destination folders, will be used for WALs\nand for data", + "type": "string", + "minLength": 1 + }, + "endpointCA": { + "description": "EndpointCA store the CA bundle of the barman endpoint.\nUseful when using self-signed certificates to avoid\nerrors with certificate issuer and barman-cloud-wal-archive", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "endpointURL": { + "description": "Endpoint to be used to upload data to the cloud,\noverriding the automatic endpoint discovery", + "type": "string" + }, + "googleCredentials": { + "description": "The credentials to use to upload data to Google Cloud Storage", + "type": "object", + "properties": { + "applicationCredentials": { + "description": "The secret containing the Google Cloud Storage JSON file with the credentials", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "gkeEnvironment": { + "description": "If set to true, will presume that it's running inside a GKE environment,\ndefault to false.", + "type": "boolean" + } + } + }, + "historyTags": { + "description": "HistoryTags is a list of key value pairs that will be passed to the\nBarman --history-tags option.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "s3Credentials": { + "description": "The credentials to use to upload data to S3", + "type": "object", + "properties": { + "accessKeyId": { + "description": "The reference to the access key id", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "inheritFromIAMRole": { + "description": "Use the role based authentication without providing explicitly the keys.", + "type": "boolean" + }, + "region": { + "description": "The reference to the secret containing the region name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "secretAccessKey": { + "description": "The reference to the secret access key", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "sessionToken": { + "description": "The references to the session key", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + }, + "serverName": { + "description": "The server name on S3, the cluster name is used if this\nparameter is omitted", + "type": "string" + }, + "tags": { + "description": "Tags is a list of key value pairs that will be passed to the\nBarman --tags option.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "wal": { + "description": "The configuration for the backup of the WAL stream.\nWhen not defined, WAL files will be stored uncompressed and may be\nunencrypted in the object store, according to the bucket default policy.", + "type": "object", + "properties": { + "archiveAdditionalCommandArgs": { + "description": "Additional arguments that can be appended to the 'barman-cloud-wal-archive'\ncommand-line invocation. These arguments provide flexibility to customize\nthe WAL archive process further, according to specific requirements or configurations.\n\nExample:\nIn a scenario where specialized backup options are required, such as setting\na specific timeout or defining custom behavior, users can use this field\nto specify additional command arguments.\n\nNote:\nIt's essential to ensure that the provided arguments are valid and supported\nby the 'barman-cloud-wal-archive' command, to avoid potential errors or unintended\nbehavior during execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "compression": { + "description": "Compress a WAL file before sending it to the object store. Available\noptions are empty string (no compression, default), `gzip`, `bzip2`,\n`lz4`, `snappy`, `xz`, and `zstd`.", + "type": "string", + "enum": [ + "bzip2", + "gzip", + "lz4", + "snappy", + "xz", + "zstd" + ] + }, + "encryption": { + "description": "Whenever to force the encryption of files (if the bucket is\nnot already configured for that).\nAllowed options are empty string (use the bucket policy, default),\n`AES256` and `aws:kms`", + "type": "string", + "enum": [ + "AES256", + "aws:kms" + ] + }, + "maxParallel": { + "description": "Number of WAL files to be either archived in parallel (when the\nPostgreSQL instance is archiving to a backup object store) or\nrestored in parallel (when a PostgreSQL standby is fetching WAL\nfiles from a recovery object store). If not specified, WAL files\nwill be processed one at a time. It accepts a positive integer as a\nvalue - with 1 being the minimum accepted value.", + "type": "integer", + "minimum": 1 + }, + "restoreAdditionalCommandArgs": { + "description": "Additional arguments that can be appended to the 'barman-cloud-wal-restore'\ncommand-line invocation. These arguments provide flexibility to customize\nthe WAL restore process further, according to specific requirements or configurations.\n\nExample:\nIn a scenario where specialized backup options are required, such as setting\na specific timeout or defining custom behavior, users can use this field\nto specify additional command arguments.\n\nNote:\nIt's essential to ensure that the provided arguments are valid and supported\nby the 'barman-cloud-wal-restore' command, to avoid potential errors or unintended\nbehavior during execution.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "retentionPolicy": { + "description": "RetentionPolicy is the retention policy to be used for backups\nand WALs (i.e. '60d'). The retention policy is expressed in the form\nof `XXu` where `XX` is a positive integer and `u` is in `[dwm]` -\ndays, weeks, months.\nIt's currently only applicable when using the BarmanObjectStore method.", + "type": "string", + "pattern": "^[1-9][0-9]*[dwm]$" + }, + "target": { + "description": "The policy to decide which instance should perform backups. Available\noptions are empty string, which will default to `prefer-standby` policy,\n`primary` to have backups run always on primary instances, `prefer-standby`\nto have backups run preferably on the most updated standby, if available.", + "type": "string", + "enum": [ + "primary", + "prefer-standby" + ] + }, + "volumeSnapshot": { + "description": "VolumeSnapshot provides the configuration for the execution of volume snapshot backups.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations key-value pairs that will be added to .metadata.annotations snapshot resources.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "className": { + "description": "ClassName specifies the Snapshot Class to be used for PG_DATA PersistentVolumeClaim.\nIt is the default class for the other types if no specific class is present", + "type": "string" + }, + "labels": { + "description": "Labels are key-value pairs that will be added to .metadata.labels snapshot resources.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "online": { + "description": "Whether the default type of backup with volume snapshots is\nonline/hot (`true`, default) or offline/cold (`false`)", + "type": "boolean" + }, + "onlineConfiguration": { + "description": "Configuration parameters to control the online/hot backup with volume snapshots", + "type": "object", + "properties": { + "immediateCheckpoint": { + "description": "Control whether the I/O workload for the backup initial checkpoint will\nbe limited, according to the `checkpoint_completion_target` setting on\nthe PostgreSQL server. If set to true, an immediate checkpoint will be\nused, meaning PostgreSQL will complete the checkpoint as soon as\npossible. `false` by default.", + "type": "boolean" + }, + "waitForArchive": { + "description": "If false, the function will return immediately after the backup is completed,\nwithout waiting for WAL to be archived.\nThis behavior is only useful with backup software that independently monitors WAL archiving.\nOtherwise, WAL required to make the backup consistent might be missing and make the backup useless.\nBy default, or when this parameter is true, pg_backup_stop will wait for WAL to be archived when archiving is\nenabled.\nOn a standby, this means that it will wait only when archive_mode = always.\nIf write activity on the primary is low, it may be useful to run pg_switch_wal on the primary in order to trigger\nan immediate segment switch.", + "type": "boolean" + } + } + }, + "snapshotOwnerReference": { + "description": "SnapshotOwnerReference indicates the type of owner reference the snapshot should have", + "type": "string", + "enum": [ + "none", + "cluster", + "backup" + ] + }, + "tablespaceClassName": { + "description": "TablespaceClassName specifies the Snapshot Class to be used for the tablespaces.\ndefaults to the PGDATA Snapshot Class, if set", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "walClassName": { + "description": "WalClassName specifies the Snapshot Class to be used for the PG_WAL PersistentVolumeClaim.", + "type": "string" + } + } + } + } + }, + "bootstrap": { + "description": "Instructions to bootstrap this cluster", + "type": "object", + "properties": { + "initdb": { + "description": "Bootstrap the cluster via initdb", + "type": "object", + "properties": { + "builtinLocale": { + "description": "Specifies the locale name when the builtin provider is used.\nThis option requires `localeProvider` to be set to `builtin`.\nAvailable from PostgreSQL 17.", + "type": "string" + }, + "dataChecksums": { + "description": "Whether the `-k` option should be passed to initdb,\nenabling checksums on data pages (default: `false`)", + "type": "boolean" + }, + "database": { + "description": "Name of the database used by the application. Default: `app`.", + "type": "string" + }, + "encoding": { + "description": "The value to be passed as option `--encoding` for initdb (default:`UTF8`)", + "type": "string" + }, + "icuLocale": { + "description": "Specifies the ICU locale when the ICU provider is used.\nThis option requires `localeProvider` to be set to `icu`.\nAvailable from PostgreSQL 15.", + "type": "string" + }, + "icuRules": { + "description": "Specifies additional collation rules to customize the behavior of the default collation.\nThis option requires `localeProvider` to be set to `icu`.\nAvailable from PostgreSQL 16.", + "type": "string" + }, + "import": { + "description": "Bootstraps the new cluster by importing data from an existing PostgreSQL\ninstance using logical backup (`pg_dump` and `pg_restore`)", + "type": "object", + "required": [ + "databases", + "source", + "type" + ], + "properties": { + "databases": { + "description": "The databases to import", + "type": "array", + "items": { + "type": "string" + } + }, + "pgDumpExtraOptions": { + "description": "List of custom options to pass to the `pg_dump` command. IMPORTANT:\nUse these options with caution and at your own risk, as the operator\ndoes not validate their content. Be aware that certain options may\nconflict with the operator's intended functionality or design.", + "type": "array", + "items": { + "type": "string" + } + }, + "pgRestoreExtraOptions": { + "description": "List of custom options to pass to the `pg_restore` command. IMPORTANT:\nUse these options with caution and at your own risk, as the operator\ndoes not validate their content. Be aware that certain options may\nconflict with the operator's intended functionality or design.", + "type": "array", + "items": { + "type": "string" + } + }, + "postImportApplicationSQL": { + "description": "List of SQL queries to be executed as a superuser in the application\ndatabase right after is imported - to be used with extreme care\n(by default empty). Only available in microservice type.", + "type": "array", + "items": { + "type": "string" + } + }, + "roles": { + "description": "The roles to import", + "type": "array", + "items": { + "type": "string" + } + }, + "schemaOnly": { + "description": "When set to true, only the `pre-data` and `post-data` sections of\n`pg_restore` are invoked, avoiding data import. Default: `false`.", + "type": "boolean" + }, + "source": { + "description": "The source of the import", + "type": "object", + "required": [ + "externalCluster" + ], + "properties": { + "externalCluster": { + "description": "The name of the externalCluster used for import", + "type": "string" + } + } + }, + "type": { + "description": "The import type. Can be `microservice` or `monolith`.", + "type": "string", + "enum": [ + "microservice", + "monolith" + ] + } + } + }, + "locale": { + "description": "Sets the default collation order and character classification in the new database.", + "type": "string" + }, + "localeCType": { + "description": "The value to be passed as option `--lc-ctype` for initdb (default:`C`)", + "type": "string" + }, + "localeCollate": { + "description": "The value to be passed as option `--lc-collate` for initdb (default:`C`)", + "type": "string" + }, + "localeProvider": { + "description": "This option sets the locale provider for databases created in the new cluster.\nAvailable from PostgreSQL 16.", + "type": "string" + }, + "options": { + "description": "The list of options that must be passed to initdb when creating the cluster.\nDeprecated: This could lead to inconsistent configurations,\nplease use the explicit provided parameters instead.\nIf defined, explicit values will be ignored.", + "type": "array", + "items": { + "type": "string" + } + }, + "owner": { + "description": "Name of the owner of the database in the instance to be used\nby applications. Defaults to the value of the `database` key.", + "type": "string" + }, + "postInitApplicationSQL": { + "description": "List of SQL queries to be executed as a superuser in the application\ndatabase right after the cluster has been created - to be used with extreme care\n(by default empty)", + "type": "array", + "items": { + "type": "string" + } + }, + "postInitApplicationSQLRefs": { + "description": "List of references to ConfigMaps or Secrets containing SQL files\nto be executed as a superuser in the application database right after\nthe cluster has been created. The references are processed in a specific order:\nfirst, all Secrets are processed, followed by all ConfigMaps.\nWithin each group, the processing order follows the sequence specified\nin their respective arrays.\n(by default empty)", + "type": "object", + "properties": { + "configMapRefs": { + "description": "ConfigMapRefs holds a list of references to ConfigMaps", + "type": "array", + "items": { + "description": "ConfigMapKeySelector contains enough information to let you locate\nthe key of a ConfigMap", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + }, + "secretRefs": { + "description": "SecretRefs holds a list of references to Secrets", + "type": "array", + "items": { + "description": "SecretKeySelector contains enough information to let you locate\nthe key of a Secret", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + } + }, + "postInitSQL": { + "description": "List of SQL queries to be executed as a superuser in the `postgres`\ndatabase right after the cluster has been created - to be used with extreme care\n(by default empty)", + "type": "array", + "items": { + "type": "string" + } + }, + "postInitSQLRefs": { + "description": "List of references to ConfigMaps or Secrets containing SQL files\nto be executed as a superuser in the `postgres` database right after\nthe cluster has been created. The references are processed in a specific order:\nfirst, all Secrets are processed, followed by all ConfigMaps.\nWithin each group, the processing order follows the sequence specified\nin their respective arrays.\n(by default empty)", + "type": "object", + "properties": { + "configMapRefs": { + "description": "ConfigMapRefs holds a list of references to ConfigMaps", + "type": "array", + "items": { + "description": "ConfigMapKeySelector contains enough information to let you locate\nthe key of a ConfigMap", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + }, + "secretRefs": { + "description": "SecretRefs holds a list of references to Secrets", + "type": "array", + "items": { + "description": "SecretKeySelector contains enough information to let you locate\nthe key of a Secret", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + } + }, + "postInitTemplateSQL": { + "description": "List of SQL queries to be executed as a superuser in the `template1`\ndatabase right after the cluster has been created - to be used with extreme care\n(by default empty)", + "type": "array", + "items": { + "type": "string" + } + }, + "postInitTemplateSQLRefs": { + "description": "List of references to ConfigMaps or Secrets containing SQL files\nto be executed as a superuser in the `template1` database right after\nthe cluster has been created. The references are processed in a specific order:\nfirst, all Secrets are processed, followed by all ConfigMaps.\nWithin each group, the processing order follows the sequence specified\nin their respective arrays.\n(by default empty)", + "type": "object", + "properties": { + "configMapRefs": { + "description": "ConfigMapRefs holds a list of references to ConfigMaps", + "type": "array", + "items": { + "description": "ConfigMapKeySelector contains enough information to let you locate\nthe key of a ConfigMap", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + }, + "secretRefs": { + "description": "SecretRefs holds a list of references to Secrets", + "type": "array", + "items": { + "description": "SecretKeySelector contains enough information to let you locate\nthe key of a Secret", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + } + }, + "secret": { + "description": "Name of the secret containing the initial credentials for the\nowner of the user database. If empty a new secret will be\ncreated from scratch", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "walSegmentSize": { + "description": "The value in megabytes (1 to 1024) to be passed to the `--wal-segsize`\noption for initdb (default: empty, resulting in PostgreSQL default: 16MB)", + "type": "integer", + "maximum": 1024, + "minimum": 1 + } + }, + "x-kubernetes-validations": [ + { + "message": "builtinLocale is only available when localeProvider is set to `builtin`", + "rule": "!has(self.builtinLocale) || self.localeProvider == 'builtin'" + }, + { + "message": "icuLocale is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuLocale) || self.localeProvider == 'icu'" + }, + { + "message": "icuRules is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuRules) || self.localeProvider == 'icu'" + } + ] + }, + "pg_basebackup": { + "description": "Bootstrap the cluster taking a physical backup of another compatible\nPostgreSQL instance", + "type": "object", + "required": [ + "source" + ], + "properties": { + "database": { + "description": "Name of the database used by the application. Default: `app`.", + "type": "string" + }, + "owner": { + "description": "Name of the owner of the database in the instance to be used\nby applications. Defaults to the value of the `database` key.", + "type": "string" + }, + "secret": { + "description": "Name of the secret containing the initial credentials for the\nowner of the user database. If empty a new secret will be\ncreated from scratch", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "source": { + "description": "The name of the server of which we need to take a physical backup", + "type": "string", + "minLength": 1 + } + } + }, + "recovery": { + "description": "Bootstrap the cluster from a backup", + "type": "object", + "properties": { + "backup": { + "description": "The backup object containing the physical base backup from which to\ninitiate the recovery procedure.\nMutually exclusive with `source` and `volumeSnapshots`.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "endpointCA": { + "description": "EndpointCA store the CA bundle of the barman endpoint.\nUseful when using self-signed certificates to avoid\nerrors with certificate issuer and barman-cloud-wal-archive.", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "database": { + "description": "Name of the database used by the application. Default: `app`.", + "type": "string" + }, + "owner": { + "description": "Name of the owner of the database in the instance to be used\nby applications. Defaults to the value of the `database` key.", + "type": "string" + }, + "recoveryTarget": { + "description": "By default, the recovery process applies all the available\nWAL files in the archive (full recovery). However, you can also\nend the recovery as soon as a consistent state is reached or\nrecover to a point-in-time (PITR) by specifying a `RecoveryTarget` object,\nas expected by PostgreSQL (i.e., timestamp, transaction Id, LSN, ...).\nMore info: https://www.postgresql.org/docs/current/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY-TARGET", + "type": "object", + "properties": { + "backupID": { + "description": "The ID of the backup from which to start the recovery process.\nIf empty (default) the operator will automatically detect the backup\nbased on targetTime or targetLSN if specified. Otherwise use the\nlatest available backup in chronological order.", + "type": "string" + }, + "exclusive": { + "description": "Set the target to be exclusive. If omitted, defaults to false, so that\nin Postgres, `recovery_target_inclusive` will be true", + "type": "boolean" + }, + "targetImmediate": { + "description": "End recovery as soon as a consistent state is reached", + "type": "boolean" + }, + "targetLSN": { + "description": "The target LSN (Log Sequence Number)", + "type": "string" + }, + "targetName": { + "description": "The target name (to be previously created\nwith `pg_create_restore_point`)", + "type": "string" + }, + "targetTLI": { + "description": "The target timeline (\"latest\" or a positive integer)", + "type": "string" + }, + "targetTime": { + "description": "The target time as a timestamp in the RFC3339 standard", + "type": "string" + }, + "targetXID": { + "description": "The target transaction ID", + "type": "string" + } + } + }, + "secret": { + "description": "Name of the secret containing the initial credentials for the\nowner of the user database. If empty a new secret will be\ncreated from scratch", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "source": { + "description": "The external cluster whose backup we will restore. This is also\nused as the name of the folder under which the backup is stored,\nso it must be set to the name of the source cluster\nMutually exclusive with `backup`.", + "type": "string" + }, + "volumeSnapshots": { + "description": "The static PVC data source(s) from which to initiate the\nrecovery procedure. Currently supporting `VolumeSnapshot`\nand `PersistentVolumeClaim` resources that map an existing\nPVC group, compatible with CloudNativePG, and taken with\na cold backup copy on a fenced Postgres instance (limitation\nwhich will be removed in the future when online backup\nwill be implemented).\nMutually exclusive with `backup`.", + "type": "object", + "required": [ + "storage" + ], + "properties": { + "storage": { + "description": "Configuration of the storage of the instances", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "tablespaceStorage": { + "description": "Configuration of the storage for PostgreSQL tablespaces", + "type": "object", + "additionalProperties": { + "description": "TypedLocalObjectReference contains enough information to let you locate the\ntyped referenced object inside the same namespace.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + }, + "walStorage": { + "description": "Configuration of the storage for PostgreSQL WAL (Write-Ahead Log)", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + } + }, + "certificates": { + "description": "The configuration for the CA and related certificates", + "type": "object", + "properties": { + "clientCASecret": { + "description": "The secret containing the Client CA certificate. If not defined, a new secret will be created\nwith a self-signed CA and will be used to generate all the client certificates.
\n
\nContains:
\n
\n- `ca.crt`: CA that should be used to validate the client certificates,\nused as `ssl_ca_file` of all the instances.
\n- `ca.key`: key used to generate client certificates, if ReplicationTLSSecret is provided,\nthis can be omitted.
", + "type": "string" + }, + "replicationTLSSecret": { + "description": "The secret of type kubernetes.io/tls containing the client certificate to authenticate as\nthe `streaming_replica` user.\nIf not defined, ClientCASecret must provide also `ca.key`, and a new secret will be\ncreated using the provided CA.", + "type": "string" + }, + "serverAltDNSNames": { + "description": "The list of the server alternative DNS names to be added to the generated server TLS certificates, when required.", + "type": "array", + "items": { + "type": "string" + } + }, + "serverCASecret": { + "description": "The secret containing the Server CA certificate. If not defined, a new secret will be created\nwith a self-signed CA and will be used to generate the TLS certificate ServerTLSSecret.
\n
\nContains:
\n
\n- `ca.crt`: CA that should be used to validate the server certificate,\nused as `sslrootcert` in client connection strings.
\n- `ca.key`: key used to generate Server SSL certs, if ServerTLSSecret is provided,\nthis can be omitted.
", + "type": "string" + }, + "serverTLSSecret": { + "description": "The secret of type kubernetes.io/tls containing the server TLS certificate and key that will be set as\n`ssl_cert_file` and `ssl_key_file` so that clients can connect to postgres securely.\nIf not defined, ServerCASecret must provide also `ca.key` and a new secret will be\ncreated using the provided CA.", + "type": "string" + } + } + }, + "description": { + "description": "Description of this PostgreSQL cluster", + "type": "string" + }, + "enablePDB": { + "description": "Manage the `PodDisruptionBudget` resources within the cluster. When\nconfigured as `true` (default setting), the pod disruption budgets\nwill safeguard the primary node from being terminated. Conversely,\nsetting it to `false` will result in the absence of any\n`PodDisruptionBudget` resource, permitting the shutdown of all nodes\nhosting the PostgreSQL cluster. This latter configuration is\nadvisable for any PostgreSQL cluster employed for\ndevelopment/staging purposes.", + "type": "boolean" + }, + "enableSuperuserAccess": { + "description": "When this option is enabled, the operator will use the `SuperuserSecret`\nto update the `postgres` user password (if the secret is\nnot present, the operator will automatically create one). When this\noption is disabled, the operator will ignore the `SuperuserSecret` content, delete\nit when automatically created, and then blank the password of the `postgres`\nuser by setting it to `NULL`. Disabled by default.", + "type": "boolean" + }, + "env": { + "description": "Env follows the Env format to pass environment variables\nto the pods created in the cluster", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + } + }, + "envFrom": { + "description": "EnvFrom follows the EnvFrom format to pass environment variables\nsources to the pods to be used by Env", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "ephemeralVolumeSource": { + "description": "EphemeralVolumeSource allows the user to configure the source of ephemeral volumes.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "ephemeralVolumesSizeLimit": { + "description": "EphemeralVolumesSizeLimit allows the user to set the limits for the ephemeral\nvolumes", + "type": "object", + "properties": { + "shm": { + "description": "Shm is the size limit of the shared memory volume", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "temporaryData": { + "description": "TemporaryData is the size limit of the temporary data volume", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "externalClusters": { + "description": "The list of external clusters which are used in the configuration", + "type": "array", + "items": { + "description": "ExternalCluster represents the connection parameters to an\nexternal cluster which is used in the other sections of the configuration", + "type": "object", + "required": [ + "name" + ], + "properties": { + "barmanObjectStore": { + "description": "The configuration for the barman-cloud tool suite", + "type": "object", + "required": [ + "destinationPath" + ], + "properties": { + "azureCredentials": { + "description": "The credentials to use to upload data to Azure Blob Storage", + "type": "object", + "properties": { + "connectionString": { + "description": "The connection string to be used", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "inheritFromAzureAD": { + "description": "Use the Azure AD based authentication without providing explicitly the keys.", + "type": "boolean" + }, + "storageAccount": { + "description": "The storage account where to upload data", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "storageKey": { + "description": "The storage account key to be used in conjunction\nwith the storage account name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "storageSasToken": { + "description": "A shared-access-signature to be used in conjunction with\nthe storage account name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + }, + "data": { + "description": "The configuration to be used to backup the data files\nWhen not defined, base backups files will be stored uncompressed and may\nbe unencrypted in the object store, according to the bucket default\npolicy.", + "type": "object", + "properties": { + "additionalCommandArgs": { + "description": "AdditionalCommandArgs represents additional arguments that can be appended\nto the 'barman-cloud-backup' command-line invocation. These arguments\nprovide flexibility to customize the backup process further according to\nspecific requirements or configurations.\n\nExample:\nIn a scenario where specialized backup options are required, such as setting\na specific timeout or defining custom behavior, users can use this field\nto specify additional command arguments.\n\nNote:\nIt's essential to ensure that the provided arguments are valid and supported\nby the 'barman-cloud-backup' command, to avoid potential errors or unintended\nbehavior during execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "compression": { + "description": "Compress a backup file (a tar file per tablespace) while streaming it\nto the object store. Available options are empty string (no\ncompression, default), `gzip`, `bzip2`, and `snappy`.", + "type": "string", + "enum": [ + "bzip2", + "gzip", + "snappy" + ] + }, + "encryption": { + "description": "Whenever to force the encryption of files (if the bucket is\nnot already configured for that).\nAllowed options are empty string (use the bucket policy, default),\n`AES256` and `aws:kms`", + "type": "string", + "enum": [ + "AES256", + "aws:kms" + ] + }, + "immediateCheckpoint": { + "description": "Control whether the I/O workload for the backup initial checkpoint will\nbe limited, according to the `checkpoint_completion_target` setting on\nthe PostgreSQL server. If set to true, an immediate checkpoint will be\nused, meaning PostgreSQL will complete the checkpoint as soon as\npossible. `false` by default.", + "type": "boolean" + }, + "jobs": { + "description": "The number of parallel jobs to be used to upload the backup, defaults\nto 2", + "type": "integer", + "format": "int32", + "minimum": 1 + } + } + }, + "destinationPath": { + "description": "The path where to store the backup (i.e. s3://bucket/path/to/folder)\nthis path, with different destination folders, will be used for WALs\nand for data", + "type": "string", + "minLength": 1 + }, + "endpointCA": { + "description": "EndpointCA store the CA bundle of the barman endpoint.\nUseful when using self-signed certificates to avoid\nerrors with certificate issuer and barman-cloud-wal-archive", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "endpointURL": { + "description": "Endpoint to be used to upload data to the cloud,\noverriding the automatic endpoint discovery", + "type": "string" + }, + "googleCredentials": { + "description": "The credentials to use to upload data to Google Cloud Storage", + "type": "object", + "properties": { + "applicationCredentials": { + "description": "The secret containing the Google Cloud Storage JSON file with the credentials", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "gkeEnvironment": { + "description": "If set to true, will presume that it's running inside a GKE environment,\ndefault to false.", + "type": "boolean" + } + } + }, + "historyTags": { + "description": "HistoryTags is a list of key value pairs that will be passed to the\nBarman --history-tags option.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "s3Credentials": { + "description": "The credentials to use to upload data to S3", + "type": "object", + "properties": { + "accessKeyId": { + "description": "The reference to the access key id", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "inheritFromIAMRole": { + "description": "Use the role based authentication without providing explicitly the keys.", + "type": "boolean" + }, + "region": { + "description": "The reference to the secret containing the region name", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "secretAccessKey": { + "description": "The reference to the secret access key", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "sessionToken": { + "description": "The references to the session key", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + } + }, + "serverName": { + "description": "The server name on S3, the cluster name is used if this\nparameter is omitted", + "type": "string" + }, + "tags": { + "description": "Tags is a list of key value pairs that will be passed to the\nBarman --tags option.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "wal": { + "description": "The configuration for the backup of the WAL stream.\nWhen not defined, WAL files will be stored uncompressed and may be\nunencrypted in the object store, according to the bucket default policy.", + "type": "object", + "properties": { + "archiveAdditionalCommandArgs": { + "description": "Additional arguments that can be appended to the 'barman-cloud-wal-archive'\ncommand-line invocation. These arguments provide flexibility to customize\nthe WAL archive process further, according to specific requirements or configurations.\n\nExample:\nIn a scenario where specialized backup options are required, such as setting\na specific timeout or defining custom behavior, users can use this field\nto specify additional command arguments.\n\nNote:\nIt's essential to ensure that the provided arguments are valid and supported\nby the 'barman-cloud-wal-archive' command, to avoid potential errors or unintended\nbehavior during execution.", + "type": "array", + "items": { + "type": "string" + } + }, + "compression": { + "description": "Compress a WAL file before sending it to the object store. Available\noptions are empty string (no compression, default), `gzip`, `bzip2`,\n`lz4`, `snappy`, `xz`, and `zstd`.", + "type": "string", + "enum": [ + "bzip2", + "gzip", + "lz4", + "snappy", + "xz", + "zstd" + ] + }, + "encryption": { + "description": "Whenever to force the encryption of files (if the bucket is\nnot already configured for that).\nAllowed options are empty string (use the bucket policy, default),\n`AES256` and `aws:kms`", + "type": "string", + "enum": [ + "AES256", + "aws:kms" + ] + }, + "maxParallel": { + "description": "Number of WAL files to be either archived in parallel (when the\nPostgreSQL instance is archiving to a backup object store) or\nrestored in parallel (when a PostgreSQL standby is fetching WAL\nfiles from a recovery object store). If not specified, WAL files\nwill be processed one at a time. It accepts a positive integer as a\nvalue - with 1 being the minimum accepted value.", + "type": "integer", + "minimum": 1 + }, + "restoreAdditionalCommandArgs": { + "description": "Additional arguments that can be appended to the 'barman-cloud-wal-restore'\ncommand-line invocation. These arguments provide flexibility to customize\nthe WAL restore process further, according to specific requirements or configurations.\n\nExample:\nIn a scenario where specialized backup options are required, such as setting\na specific timeout or defining custom behavior, users can use this field\nto specify additional command arguments.\n\nNote:\nIt's essential to ensure that the provided arguments are valid and supported\nby the 'barman-cloud-wal-restore' command, to avoid potential errors or unintended\nbehavior during execution.", + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "connectionParameters": { + "description": "The list of connection parameters, such as dbname, host, username, etc", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "The server name, required", + "type": "string" + }, + "password": { + "description": "The reference to the password to be used to connect to the server.\nIf a password is provided, CloudNativePG creates a PostgreSQL\npassfile at `/controller/external/NAME/pass` (where \"NAME\" is the\ncluster's name). This passfile is automatically referenced in the\nconnection string when establishing a connection to the remote\nPostgreSQL server from the current PostgreSQL `Cluster`. This ensures\nsecure and efficient password management for external clusters.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "plugin": { + "description": "The configuration of the plugin that is taking care\nof WAL archiving and backups for this external cluster", + "type": "object", + "required": [ + "name" + ], + "properties": { + "enabled": { + "description": "Enabled is true if this plugin will be used", + "type": "boolean" + }, + "isWALArchiver": { + "description": "Only one plugin can be declared as WALArchiver.\nCannot be active if \".spec.backup.barmanObjectStore\" configuration is present.", + "type": "boolean" + }, + "name": { + "description": "Name is the plugin name", + "type": "string" + }, + "parameters": { + "description": "Parameters is the configuration of the plugin", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "sslCert": { + "description": "The reference to an SSL certificate to be used to connect to this\ninstance", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslKey": { + "description": "The reference to an SSL private key to be used to connect to this\ninstance", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslRootCert": { + "description": "The reference to an SSL CA public key to be used to connect to this\ninstance", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + }, + "failoverDelay": { + "description": "The amount of time (in seconds) to wait before triggering a failover\nafter the primary PostgreSQL instance in the cluster was detected\nto be unhealthy", + "type": "integer", + "format": "int32" + }, + "imageCatalogRef": { + "description": "Defines the major PostgreSQL version we want to use within an ImageCatalog", + "type": "object", + "required": [ + "kind", + "major", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "major": { + "description": "The major version of PostgreSQL we want to use from the ImageCatalog", + "type": "integer", + "x-kubernetes-validations": [ + { + "message": "Major is immutable", + "rule": "self == oldSelf" + } + ] + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic", + "x-kubernetes-validations": [ + { + "message": "Only image catalogs are supported", + "rule": "self.kind == 'ImageCatalog' || self.kind == 'ClusterImageCatalog'" + }, + { + "message": "Only image catalogs are supported", + "rule": "self.apiGroup == 'postgresql.cnpg.io'" + } + ] + }, + "imageName": { + "description": "Name of the container image, supporting both tags (`:`)\nand digests for deterministic and repeatable deployments\n(`:@sha256:`)", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of `Always`, `Never` or `IfNotPresent`.\nIf not defined, it defaults to `IfNotPresent`.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "imagePullSecrets": { + "description": "The list of pull secrets to be used to pull the images", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate a\nlocal object with a known type inside the same namespace", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + }, + "inheritedMetadata": { + "description": "Metadata that will be inherited by all objects related to the Cluster", + "type": "object", + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "instances": { + "description": "Number of instances required in the cluster", + "type": "integer", + "minimum": 1 + }, + "livenessProbeTimeout": { + "description": "LivenessProbeTimeout is the time (in seconds) that is allowed for a PostgreSQL instance\nto successfully respond to the liveness probe (default 30).\nThe Liveness probe failure threshold is derived from this value using the formula:\nceiling(livenessProbe / 10).", + "type": "integer", + "format": "int32" + }, + "logLevel": { + "description": "The instances' log level, one of the following values: error, warning, info (default), debug, trace", + "type": "string", + "enum": [ + "error", + "warning", + "info", + "debug", + "trace" + ] + }, + "managed": { + "description": "The configuration that is used by the portions of PostgreSQL that are managed by the instance manager", + "type": "object", + "properties": { + "roles": { + "description": "Database roles managed by the `Cluster`", + "type": "array", + "items": { + "description": "RoleConfiguration is the representation, in Kubernetes, of a PostgreSQL role\nwith the additional field Ensure specifying whether to ensure the presence or\nabsence of the role in the database\n\nThe defaults of the CREATE ROLE command are applied\nReference: https://www.postgresql.org/docs/current/sql-createrole.html", + "type": "object", + "required": [ + "name" + ], + "properties": { + "bypassrls": { + "description": "Whether a role bypasses every row-level security (RLS) policy.\nDefault is `false`.", + "type": "boolean" + }, + "comment": { + "description": "Description of the role", + "type": "string" + }, + "connectionLimit": { + "description": "If the role can log in, this specifies how many concurrent\nconnections the role can make. `-1` (the default) means no limit.", + "type": "integer", + "format": "int64" + }, + "createdb": { + "description": "When set to `true`, the role being defined will be allowed to create\nnew databases. Specifying `false` (default) will deny a role the\nability to create databases.", + "type": "boolean" + }, + "createrole": { + "description": "Whether the role will be permitted to create, alter, drop, comment\non, change the security label for, and grant or revoke membership in\nother roles. Default is `false`.", + "type": "boolean" + }, + "disablePassword": { + "description": "DisablePassword indicates that a role's password should be set to NULL in Postgres", + "type": "boolean" + }, + "ensure": { + "description": "Ensure the role is `present` or `absent` - defaults to \"present\"", + "type": "string", + "enum": [ + "present", + "absent" + ] + }, + "inRoles": { + "description": "List of one or more existing roles to which this role will be\nimmediately added as a new member. Default empty.", + "type": "array", + "items": { + "type": "string" + } + }, + "inherit": { + "description": "Whether a role \"inherits\" the privileges of roles it is a member of.\nDefaults is `true`.", + "type": "boolean" + }, + "login": { + "description": "Whether the role is allowed to log in. A role having the `login`\nattribute can be thought of as a user. Roles without this attribute\nare useful for managing database privileges, but are not users in\nthe usual sense of the word. Default is `false`.", + "type": "boolean" + }, + "name": { + "description": "Name of the role", + "type": "string" + }, + "passwordSecret": { + "description": "Secret containing the password of the role (if present)\nIf null, the password will be ignored unless DisablePassword is set", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "replication": { + "description": "Whether a role is a replication role. A role must have this\nattribute (or be a superuser) in order to be able to connect to the\nserver in replication mode (physical or logical replication) and in\norder to be able to create or drop replication slots. A role having\nthe `replication` attribute is a very highly privileged role, and\nshould only be used on roles actually used for replication. Default\nis `false`.", + "type": "boolean" + }, + "superuser": { + "description": "Whether the role is a `superuser` who can override all access\nrestrictions within the database - superuser status is dangerous and\nshould be used only when really needed. You must yourself be a\nsuperuser to create a new superuser. Defaults is `false`.", + "type": "boolean" + }, + "validUntil": { + "description": "Date and time after which the role's password is no longer valid.\nWhen omitted, the password will never expire (default).", + "type": "string", + "format": "date-time" + } + } + } + }, + "services": { + "description": "Services roles managed by the `Cluster`", + "type": "object", + "properties": { + "additional": { + "description": "Additional is a list of additional managed services specified by the user.", + "type": "array", + "items": { + "description": "ManagedService represents a specific service managed by the cluster.\nIt includes the type of service and its associated template specification.", + "type": "object", + "required": [ + "selectorType", + "serviceTemplate" + ], + "properties": { + "selectorType": { + "description": "SelectorType specifies the type of selectors that the service will have.\nValid values are \"rw\", \"r\", and \"ro\", representing read-write, read, and read-only services.", + "type": "string", + "enum": [ + "rw", + "r", + "ro" + ] + }, + "serviceTemplate": { + "description": "ServiceTemplate is the template specification for the service.", + "type": "object", + "properties": { + "metadata": { + "description": "Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "The name of the resource. Only supported for certain types", + "type": "string" + } + } + }, + "spec": { + "description": "Specification of the desired behavior of the service.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "allocateLoadBalancerNodePorts": { + "description": "allocateLoadBalancerNodePorts defines if NodePorts will be automatically\nallocated for services with type LoadBalancer. Default is \"true\". It\nmay be set to \"false\" if the cluster load-balancer does not rely on\nNodePorts. If the caller requests specific NodePorts (by specifying a\nvalue), those requests will be respected, regardless of this field.\nThis field may only be set for services with type LoadBalancer and will\nbe cleared if the type is changed to any other type.", + "type": "boolean" + }, + "clusterIP": { + "description": "clusterIP is the IP address of the service and is usually assigned\nrandomly. If an address is specified manually, is in-range (as per\nsystem configuration), and is not in use, it will be allocated to the\nservice; otherwise creation of the service will fail. This field may not\nbe changed through updates unless the type field is also being changed\nto ExternalName (which requires this field to be blank) or the type\nfield is being changed from ExternalName (in which case this field may\noptionally be specified, as describe above). Valid values are \"None\",\nempty string (\"\"), or a valid IP address. Setting this to \"None\" makes a\n\"headless service\" (no virtual IP), which is useful when direct endpoint\nconnections are preferred and proxying is not required. Only applies to\ntypes ClusterIP, NodePort, and LoadBalancer. If this field is specified\nwhen creating a Service of type ExternalName, creation will fail. This\nfield will be wiped when updating a Service to type ExternalName.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "string" + }, + "clusterIPs": { + "description": "ClusterIPs is a list of IP addresses assigned to this service, and are\nusually assigned randomly. If an address is specified manually, is\nin-range (as per system configuration), and is not in use, it will be\nallocated to the service; otherwise creation of the service will fail.\nThis field may not be changed through updates unless the type field is\nalso being changed to ExternalName (which requires this field to be\nempty) or the type field is being changed from ExternalName (in which\ncase this field may optionally be specified, as describe above). Valid\nvalues are \"None\", empty string (\"\"), or a valid IP address. Setting\nthis to \"None\" makes a \"headless service\" (no virtual IP), which is\nuseful when direct endpoint connections are preferred and proxying is\nnot required. Only applies to types ClusterIP, NodePort, and\nLoadBalancer. If this field is specified when creating a Service of type\nExternalName, creation will fail. This field will be wiped when updating\na Service to type ExternalName. If this field is not specified, it will\nbe initialized from the clusterIP field. If this field is specified,\nclients must ensure that clusterIPs[0] and clusterIP have the same\nvalue.\n\nThis field may hold a maximum of two entries (dual-stack IPs, in either order).\nThese IPs must correspond to the values of the ipFamilies field. Both\nclusterIPs and ipFamilies are governed by the ipFamilyPolicy field.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "description": "externalIPs is a list of IP addresses for which nodes in the cluster\nwill also accept traffic for this service. These IPs are not managed by\nKubernetes. The user is responsible for ensuring that traffic arrives\nat a node with this IP. A common example is external load-balancers\nthat are not part of the Kubernetes system.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "description": "externalName is the external reference that discovery mechanisms will\nreturn as an alias for this service (e.g. a DNS CNAME record). No\nproxying will be involved. Must be a lowercase RFC-1123 hostname\n(https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\".", + "type": "string" + }, + "externalTrafficPolicy": { + "description": "externalTrafficPolicy describes how nodes distribute service traffic they\nreceive on one of the Service's \"externally-facing\" addresses (NodePorts,\nExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure\nthe service in a way that assumes that external load balancers will take care\nof balancing the service traffic between nodes, and so each node will deliver\ntraffic only to the node-local endpoints of the service, without masquerading\nthe client source IP. (Traffic mistakenly sent to a node with no endpoints will\nbe dropped.) The default value, \"Cluster\", uses the standard behavior of\nrouting to all endpoints evenly (possibly modified by topology and other\nfeatures). Note that traffic sent to an External IP or LoadBalancer IP from\nwithin the cluster will always get \"Cluster\" semantics, but clients sending to\na NodePort from within the cluster may need to take traffic policy into account\nwhen picking a node.", + "type": "string" + }, + "healthCheckNodePort": { + "description": "healthCheckNodePort specifies the healthcheck nodePort for the service.\nThis only applies when type is set to LoadBalancer and\nexternalTrafficPolicy is set to Local. If a value is specified, is\nin-range, and is not in use, it will be used. If not specified, a value\nwill be automatically allocated. External systems (e.g. load-balancers)\ncan use this port to determine if a given node holds endpoints for this\nservice or not. If this field is specified when creating a Service\nwhich does not need it, creation will fail. This field will be wiped\nwhen updating a Service to no longer need it (e.g. changing type).\nThis field cannot be updated once set.", + "type": "integer", + "format": "int32" + }, + "internalTrafficPolicy": { + "description": "InternalTrafficPolicy describes how nodes distribute service traffic they\nreceive on the ClusterIP. If set to \"Local\", the proxy will assume that pods\nonly want to talk to endpoints of the service on the same node as the pod,\ndropping the traffic if there are no local endpoints. The default value,\n\"Cluster\", uses the standard behavior of routing to all endpoints evenly\n(possibly modified by topology and other features).", + "type": "string" + }, + "ipFamilies": { + "description": "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this\nservice. This field is usually assigned automatically based on cluster\nconfiguration and the ipFamilyPolicy field. If this field is specified\nmanually, the requested family is available in the cluster,\nand ipFamilyPolicy allows it, it will be used; otherwise creation of\nthe service will fail. This field is conditionally mutable: it allows\nfor adding or removing a secondary IP family, but it does not allow\nchanging the primary IP family of the Service. Valid values are \"IPv4\"\nand \"IPv6\". This field only applies to Services of types ClusterIP,\nNodePort, and LoadBalancer, and does apply to \"headless\" services.\nThis field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in\neither order). These families must correspond to the values of the\nclusterIPs field, if specified. Both clusterIPs and ipFamilies are\ngoverned by the ipFamilyPolicy field.", + "type": "array", + "items": { + "description": "IPFamily represents the IP Family (IPv4 or IPv6). This type is used\nto express the family of an IP expressed by a type (e.g. service.spec.ipFamilies).", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "description": "IPFamilyPolicy represents the dual-stack-ness requested or required by\nthis Service. If there is no value provided, then this field will be set\nto SingleStack. Services can be \"SingleStack\" (a single IP family),\n\"PreferDualStack\" (two IP families on dual-stack configured clusters or\na single IP family on single-stack clusters), or \"RequireDualStack\"\n(two IP families on dual-stack configured clusters, otherwise fail). The\nipFamilies and clusterIPs fields depend on the value of this field. This\nfield will be wiped when updating a service to type ExternalName.", + "type": "string" + }, + "loadBalancerClass": { + "description": "loadBalancerClass is the class of the load balancer implementation this Service belongs to.\nIf specified, the value of this field must be a label-style identifier, with an optional prefix,\ne.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users.\nThis field can only be set when the Service type is 'LoadBalancer'. If not set, the default load\nbalancer implementation is used, today this is typically done through the cloud provider integration,\nbut should apply for any default implementation. If set, it is assumed that a load balancer\nimplementation is watching for Services with a matching class. Any default load balancer\nimplementation (e.g. cloud providers) should ignore Services that set this field.\nThis field can only be set when creating or updating a Service to type 'LoadBalancer'.\nOnce set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.", + "type": "string" + }, + "loadBalancerIP": { + "description": "Only applies to Service Type: LoadBalancer.\nThis feature depends on whether the underlying cloud-provider supports specifying\nthe loadBalancerIP when a load balancer is created.\nThis field will be ignored if the cloud-provider does not support the feature.\nDeprecated: This field was under-specified and its meaning varies across implementations.\nUsing it is non-portable and it may not support dual-stack.\nUsers are encouraged to use implementation-specific annotations when available.", + "type": "string" + }, + "loadBalancerSourceRanges": { + "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider\nload-balancer will be restricted to the specified client IPs. This field will be ignored if the\ncloud-provider does not support the feature.\"\nMore info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "description": "The list of ports that are exposed by this service.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "array", + "items": { + "description": "ServicePort contains information on service's port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "appProtocol": { + "description": "The application protocol for this port.\nThis is used as a hint for implementations to offer richer behavior for protocols that they understand.\nThis field follows standard Kubernetes label syntax.\nValid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per\nRFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as\nmycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "The name of this port within the service. This must be a DNS_LABEL.\nAll ports within a ServiceSpec must have unique names. When considering\nthe endpoints for a Service, this must match the 'name' field in the\nEndpointPort.\nOptional if only one ServicePort is defined on this service.", + "type": "string" + }, + "nodePort": { + "description": "The port on each node on which this service is exposed when type is\nNodePort or LoadBalancer. Usually assigned by the system. If a value is\nspecified, in-range, and not in use it will be used, otherwise the\noperation will fail. If not specified, a port will be allocated if this\nService requires one. If this field is specified when creating a\nService which does not need it, creation will fail. This field will be\nwiped when updating a Service to no longer need it (e.g. changing type\nfrom NodePort to ClusterIP).\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", + "type": "integer", + "format": "int32" + }, + "port": { + "description": "The port that will be exposed by this service.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\".\nDefault is TCP.", + "type": "string" + }, + "targetPort": { + "description": "Number or name of the port to access on the pods targeted by the service.\nNumber must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.\nIf this is a string, it will be looked up as a named port in the\ntarget Pod's container ports. If this is not specified, the value\nof the 'port' field is used (an identity map).\nThis field is ignored for services with clusterIP=None, and should be\nomitted or set equal to the 'port' field.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", + "x-kubernetes-int-or-string": true + } + } + }, + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this\nService should disregard any indications of ready/not-ready.\nThe primary use case for setting this field is for a StatefulSet's Headless Service to\npropagate SRV DNS records for its Pods for the purpose of peer discovery.\nThe Kubernetes controllers that generate Endpoints and EndpointSlice resources for\nServices interpret this to mean that all endpoints are considered \"ready\" even if the\nPods themselves are not. Agents which consume only Kubernetes generated endpoints\nthrough the Endpoints or EndpointSlice resources can safely assume this behavior.", + "type": "boolean" + }, + "selector": { + "description": "Route service traffic to pods with label keys and values matching this\nselector. If empty or not present, the service is assumed to have an\nexternal process managing its endpoints, which Kubernetes will not\nmodify. Only applies to types ClusterIP, NodePort, and LoadBalancer.\nIgnored if type is ExternalName.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity.\nEnable client IP based session affinity.\nMust be ClientIP or None.\nDefaults to None.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "string" + }, + "sessionAffinityConfig": { + "description": "sessionAffinityConfig contains the configurations of session affinity.", + "type": "object", + "properties": { + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "type": "object", + "properties": { + "timeoutSeconds": { + "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time.\nThe value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\".\nDefault value is 10800(for 3 hours).", + "type": "integer", + "format": "int32" + } + } + } + } + }, + "trafficDistribution": { + "description": "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is a beta field and requires enabling ServiceTrafficDistribution feature.", + "type": "string" + }, + "type": { + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types", + "type": "string" + } + } + } + } + }, + "updateStrategy": { + "description": "UpdateStrategy describes how the service differences should be reconciled", + "type": "string", + "enum": [ + "patch", + "replace" + ] + } + } + } + }, + "disabledDefaultServices": { + "description": "DisabledDefaultServices is a list of service types that are disabled by default.\nValid values are \"r\", and \"ro\", representing read, and read-only services.", + "type": "array", + "items": { + "description": "ServiceSelectorType describes a valid value for generating the service selectors.\nIt indicates which type of service the selector applies to, such as read-write, read, or read-only", + "type": "string", + "enum": [ + "rw", + "r", + "ro" + ] + } + } + } + } + } + }, + "maxSyncReplicas": { + "description": "The target value for the synchronous replication quorum, that can be\ndecreased if the number of ready standbys is lower than this.\nUndefined or 0 disable synchronous replication.", + "type": "integer", + "minimum": 0 + }, + "minSyncReplicas": { + "description": "Minimum number of instances required in synchronous replication with the\nprimary. Undefined or 0 allow writes to complete when no standby is\navailable.", + "type": "integer", + "minimum": 0 + }, + "monitoring": { + "description": "The configuration of the monitoring infrastructure of this cluster", + "type": "object", + "properties": { + "customQueriesConfigMap": { + "description": "The list of config maps containing the custom queries", + "type": "array", + "items": { + "description": "ConfigMapKeySelector contains enough information to let you locate\nthe key of a ConfigMap", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + }, + "customQueriesSecret": { + "description": "The list of secrets containing the custom queries", + "type": "array", + "items": { + "description": "SecretKeySelector contains enough information to let you locate\nthe key of a Secret", + "type": "object", + "required": [ + "key", + "name" + ], + "properties": { + "key": { + "description": "The key to select", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + } + }, + "disableDefaultQueries": { + "description": "Whether the default queries should be injected.\nSet it to `true` if you don't want to inject default queries into the cluster.\nDefault: false.", + "type": "boolean" + }, + "enablePodMonitor": { + "description": "Enable or disable the `PodMonitor`", + "type": "boolean" + }, + "podMonitorMetricRelabelings": { + "description": "The list of metric relabelings for the `PodMonitor`. Applied to samples before ingestion.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "podMonitorRelabelings": { + "description": "The list of relabelings for the `PodMonitor`. Applied to samples before scraping.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "tls": { + "description": "Configure TLS communication for the metrics endpoint.\nChanging tls.enabled option will force a rollout of all instances.", + "type": "object", + "properties": { + "enabled": { + "description": "Enable TLS for the monitoring endpoint.\nChanging this option will force a rollout of all instances.", + "type": "boolean" + } + } + } + } + }, + "nodeMaintenanceWindow": { + "description": "Define a maintenance window for the Kubernetes nodes", + "type": "object", + "properties": { + "inProgress": { + "description": "Is there a node maintenance activity in progress?", + "type": "boolean" + }, + "reusePVC": { + "description": "Reuse the existing PVC (wait for the node to come\nup again) or not (recreate it elsewhere - when `instances` >1)", + "type": "boolean" + } + } + }, + "plugins": { + "description": "The plugins configuration, containing\nany plugin to be loaded with the corresponding configuration", + "type": "array", + "items": { + "description": "PluginConfiguration specifies a plugin that need to be loaded for this\ncluster to be reconciled", + "type": "object", + "required": [ + "name" + ], + "properties": { + "enabled": { + "description": "Enabled is true if this plugin will be used", + "type": "boolean" + }, + "isWALArchiver": { + "description": "Only one plugin can be declared as WALArchiver.\nCannot be active if \".spec.backup.barmanObjectStore\" configuration is present.", + "type": "boolean" + }, + "name": { + "description": "Name is the plugin name", + "type": "string" + }, + "parameters": { + "description": "Parameters is the configuration of the plugin", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "postgresGID": { + "description": "The GID of the `postgres` user inside the image, defaults to `26`", + "type": "integer", + "format": "int64" + }, + "postgresUID": { + "description": "The UID of the `postgres` user inside the image, defaults to `26`", + "type": "integer", + "format": "int64" + }, + "postgresql": { + "description": "Configuration of the PostgreSQL server", + "type": "object", + "properties": { + "enableAlterSystem": { + "description": "If this parameter is true, the user will be able to invoke `ALTER SYSTEM`\non this CloudNativePG Cluster.\nThis should only be used for debugging and troubleshooting.\nDefaults to false.", + "type": "boolean" + }, + "ldap": { + "description": "Options to specify LDAP configuration", + "type": "object", + "properties": { + "bindAsAuth": { + "description": "Bind as authentication configuration", + "type": "object", + "properties": { + "prefix": { + "description": "Prefix for the bind authentication option", + "type": "string" + }, + "suffix": { + "description": "Suffix for the bind authentication option", + "type": "string" + } + } + }, + "bindSearchAuth": { + "description": "Bind+Search authentication configuration", + "type": "object", + "properties": { + "baseDN": { + "description": "Root DN to begin the user search", + "type": "string" + }, + "bindDN": { + "description": "DN of the user to bind to the directory", + "type": "string" + }, + "bindPassword": { + "description": "Secret with the password for the user to bind to the directory", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "searchAttribute": { + "description": "Attribute to match against the username", + "type": "string" + }, + "searchFilter": { + "description": "Search filter to use when doing the search+bind authentication", + "type": "string" + } + } + }, + "port": { + "description": "LDAP server port", + "type": "integer" + }, + "scheme": { + "description": "LDAP schema to be used, possible options are `ldap` and `ldaps`", + "type": "string", + "enum": [ + "ldap", + "ldaps" + ] + }, + "server": { + "description": "LDAP hostname or IP address", + "type": "string" + }, + "tls": { + "description": "Set to 'true' to enable LDAP over TLS. 'false' is default", + "type": "boolean" + } + } + }, + "parameters": { + "description": "PostgreSQL configuration options (postgresql.conf)", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "pg_hba": { + "description": "PostgreSQL Host Based Authentication rules (lines to be appended\nto the pg_hba.conf file)", + "type": "array", + "items": { + "type": "string" + } + }, + "pg_ident": { + "description": "PostgreSQL User Name Maps rules (lines to be appended\nto the pg_ident.conf file)", + "type": "array", + "items": { + "type": "string" + } + }, + "promotionTimeout": { + "description": "Specifies the maximum number of seconds to wait when promoting an instance to primary.\nDefault value is 40000000, greater than one year in seconds,\nbig enough to simulate an infinite timeout", + "type": "integer", + "format": "int32" + }, + "shared_preload_libraries": { + "description": "Lists of shared preload libraries to add to the default ones", + "type": "array", + "items": { + "type": "string" + } + }, + "syncReplicaElectionConstraint": { + "description": "Requirements to be met by sync replicas. This will affect how the \"synchronous_standby_names\" parameter will be\nset up.", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "description": "This flag enables the constraints for sync replicas", + "type": "boolean" + }, + "nodeLabelsAntiAffinity": { + "description": "A list of node labels values to extract and compare to evaluate if the pods reside in the same topology or not", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "synchronous": { + "description": "Configuration of the PostgreSQL synchronous replication feature", + "type": "object", + "required": [ + "method", + "number" + ], + "properties": { + "dataDurability": { + "description": "If set to \"required\", data durability is strictly enforced. Write operations\nwith synchronous commit settings (`on`, `remote_write`, or `remote_apply`) will\nblock if there are insufficient healthy replicas, ensuring data persistence.\nIf set to \"preferred\", data durability is maintained when healthy replicas\nare available, but the required number of instances will adjust dynamically\nif replicas become unavailable. This setting relaxes strict durability enforcement\nto allow for operational continuity. This setting is only applicable if both\n`standbyNamesPre` and `standbyNamesPost` are unset (empty).", + "type": "string", + "enum": [ + "required", + "preferred" + ] + }, + "maxStandbyNamesFromCluster": { + "description": "Specifies the maximum number of local cluster pods that can be\nautomatically included in the `synchronous_standby_names` option in\nPostgreSQL.", + "type": "integer" + }, + "method": { + "description": "Method to select synchronous replication standbys from the listed\nservers, accepting 'any' (quorum-based synchronous replication) or\n'first' (priority-based synchronous replication) as values.", + "type": "string", + "enum": [ + "any", + "first" + ] + }, + "number": { + "description": "Specifies the number of synchronous standby servers that\ntransactions must wait for responses from.", + "type": "integer", + "x-kubernetes-validations": [ + { + "message": "The number of synchronous replicas should be greater than zero", + "rule": "self > 0" + } + ] + }, + "standbyNamesPost": { + "description": "A user-defined list of application names to be added to\n`synchronous_standby_names` after local cluster pods (the order is\nonly useful for priority-based synchronous replication).", + "type": "array", + "items": { + "type": "string" + } + }, + "standbyNamesPre": { + "description": "A user-defined list of application names to be added to\n`synchronous_standby_names` before local cluster pods (the order is\nonly useful for priority-based synchronous replication).", + "type": "array", + "items": { + "type": "string" + } + } + }, + "x-kubernetes-validations": [ + { + "message": "dataDurability set to 'preferred' requires empty 'standbyNamesPre' and empty 'standbyNamesPost'", + "rule": "self.dataDurability!='preferred' || ((!has(self.standbyNamesPre) || self.standbyNamesPre.size()==0) && (!has(self.standbyNamesPost) || self.standbyNamesPost.size()==0))" + } + ] + } + } + }, + "primaryUpdateMethod": { + "description": "Method to follow to upgrade the primary server during a rolling\nupdate procedure, after all replicas have been successfully updated:\nit can be with a switchover (`switchover`) or in-place (`restart` - default)", + "type": "string", + "enum": [ + "switchover", + "restart" + ] + }, + "primaryUpdateStrategy": { + "description": "Deployment strategy to follow to upgrade the primary server during a rolling\nupdate procedure, after all replicas have been successfully updated:\nit can be automated (`unsupervised` - default) or manual (`supervised`)", + "type": "string", + "enum": [ + "unsupervised", + "supervised" + ] + }, + "priorityClassName": { + "description": "Name of the priority class which will be used in every generated Pod, if the PriorityClass\nspecified does not exist, the pod will not be able to schedule. Please refer to\nhttps://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass\nfor more information", + "type": "string" + }, + "probes": { + "description": "The configuration of the probes to be injected\nin the PostgreSQL Pods.", + "type": "object", + "properties": { + "liveness": { + "description": "The liveness probe configuration", + "type": "object", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "readiness": { + "description": "The readiness probe configuration", + "type": "object", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "startup": { + "description": "The startup probe configuration", + "type": "object", + "properties": { + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + } + } + }, + "projectedVolumeTemplate": { + "description": "Template to be used to define projected volumes, projected volumes will be mounted\nunder `/projected` base folder", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem. Esoteric PEM features such as inter-block\ncomments and block headers are stripped. Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has\neffect if signerName is set. Mutually-exclusive with name. If unset,\ninterpreted as \"match nothing\". If set but empty, interpreted as \"match\neverything\".", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive\nwith signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available. If using name, then the named ClusterTrustBundle is\nallowed not to exist. If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name. The contents of all selected\nClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "replica": { + "description": "Replica cluster configuration", + "type": "object", + "required": [ + "source" + ], + "properties": { + "enabled": { + "description": "If replica mode is enabled, this cluster will be a replica of an\nexisting cluster. Replica cluster can be created from a recovery\nobject store or via streaming through pg_basebackup.\nRefer to the Replica clusters page of the documentation for more information.", + "type": "boolean" + }, + "minApplyDelay": { + "description": "When replica mode is enabled, this parameter allows you to replay\ntransactions only when the system time is at least the configured\ntime past the commit time. This provides an opportunity to correct\ndata loss errors. Note that when this parameter is set, a promotion\ntoken cannot be used.", + "type": "string" + }, + "primary": { + "description": "Primary defines which Cluster is defined to be the primary in the distributed PostgreSQL cluster, based on the\ntopology specified in externalClusters", + "type": "string" + }, + "promotionToken": { + "description": "A demotion token generated by an external cluster used to\ncheck if the promotion requirements are met.", + "type": "string" + }, + "self": { + "description": "Self defines the name of this cluster. It is used to determine if this is a primary\nor a replica cluster, comparing it with `primary`", + "type": "string" + }, + "source": { + "description": "The name of the external cluster which is the replication origin", + "type": "string", + "minLength": 1 + } + } + }, + "replicationSlots": { + "description": "Replication slots management configuration", + "type": "object", + "properties": { + "highAvailability": { + "description": "Replication slots for high availability configuration", + "type": "object", + "properties": { + "enabled": { + "description": "If enabled (default), the operator will automatically manage replication slots\non the primary instance and use them in streaming replication\nconnections with all the standby instances that are part of the HA\ncluster. If disabled, the operator will not take advantage\nof replication slots in streaming connections with the replicas.\nThis feature also controls replication slots in replica cluster,\nfrom the designated primary to its cascading replicas.", + "type": "boolean" + }, + "slotPrefix": { + "description": "Prefix for replication slots managed by the operator for HA.\nIt may only contain lower case letters, numbers, and the underscore character.\nThis can only be set at creation time. By default set to `_cnpg_`.", + "type": "string", + "pattern": "^[0-9a-z_]*$" + } + } + }, + "synchronizeReplicas": { + "description": "Configures the synchronization of the user defined physical replication slots", + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "description": "When set to true, every replication slot that is on the primary is synchronized on each standby", + "type": "boolean" + }, + "excludePatterns": { + "description": "List of regular expression patterns to match the names of replication slots to be excluded (by default empty)", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "updateInterval": { + "description": "Standby will update the status of the local replication slots\nevery `updateInterval` seconds (default 30).", + "type": "integer", + "minimum": 1 + } + } + }, + "resources": { + "description": "Resources requirements of every generated Pod. Please refer to\nhttps://kubernetes.io/docs/concepts/configuration/manage-resources-containers/\nfor more information.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "schedulerName": { + "description": "If specified, the pod will be dispatched by specified Kubernetes\nscheduler. If not specified, the pod will be dispatched by the default\nscheduler. More info:\nhttps://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/", + "type": "string" + }, + "seccompProfile": { + "description": "The SeccompProfile applied to every Pod and Container.\nDefaults to: `RuntimeDefault`", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "serviceAccountTemplate": { + "description": "Configure the generation of the service account", + "type": "object", + "required": [ + "metadata" + ], + "properties": { + "metadata": { + "description": "Metadata are the metadata to be used for the generated\nservice account", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "The name of the resource. Only supported for certain types", + "type": "string" + } + } + } + } + }, + "smartShutdownTimeout": { + "description": "The time in seconds that controls the window of time reserved for the smart shutdown of Postgres to complete.\nMake sure you reserve enough time for the operator to request a fast shutdown of Postgres\n(that is: `stopDelay` - `smartShutdownTimeout`).", + "type": "integer", + "format": "int32" + }, + "startDelay": { + "description": "The time in seconds that is allowed for a PostgreSQL instance to\nsuccessfully start up (default 3600).\nThe startup probe failure threshold is derived from this value using the formula:\nceiling(startDelay / 10).", + "type": "integer", + "format": "int32" + }, + "stopDelay": { + "description": "The time in seconds that is allowed for a PostgreSQL instance to\ngracefully shutdown (default 1800)", + "type": "integer", + "format": "int32" + }, + "storage": { + "description": "Configuration of the storage of the instances", + "type": "object", + "properties": { + "pvcTemplate": { + "description": "Template to be used to generate the Persistent Volume Claim", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "resizeInUseVolumes": { + "description": "Resize existent PVCs, defaults to true", + "type": "boolean" + }, + "size": { + "description": "Size of the storage. Required if not already specified in the PVC template.\nChanges to this field are automatically reapplied to the created PVCs.\nSize cannot be decreased.", + "type": "string" + }, + "storageClass": { + "description": "StorageClass to use for PVCs. Applied after\nevaluating the PVC template, if available.\nIf not specified, the generated PVCs will use the\ndefault storage class", + "type": "string" + } + } + }, + "superuserSecret": { + "description": "The secret containing the superuser password. If not defined a new\nsecret will be created with a randomly generated password", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "switchoverDelay": { + "description": "The time in seconds that is allowed for a primary PostgreSQL instance\nto gracefully shutdown during a switchover.\nDefault value is 3600 seconds (1 hour).", + "type": "integer", + "format": "int32" + }, + "tablespaces": { + "description": "The tablespaces configuration", + "type": "array", + "items": { + "description": "TablespaceConfiguration is the configuration of a tablespace, and includes\nthe storage specification for the tablespace", + "type": "object", + "required": [ + "name", + "storage" + ], + "properties": { + "name": { + "description": "The name of the tablespace", + "type": "string" + }, + "owner": { + "description": "Owner is the PostgreSQL user owning the tablespace", + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + }, + "storage": { + "description": "The storage configuration for the tablespace", + "type": "object", + "properties": { + "pvcTemplate": { + "description": "Template to be used to generate the Persistent Volume Claim", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "resizeInUseVolumes": { + "description": "Resize existent PVCs, defaults to true", + "type": "boolean" + }, + "size": { + "description": "Size of the storage. Required if not already specified in the PVC template.\nChanges to this field are automatically reapplied to the created PVCs.\nSize cannot be decreased.", + "type": "string" + }, + "storageClass": { + "description": "StorageClass to use for PVCs. Applied after\nevaluating the PVC template, if available.\nIf not specified, the generated PVCs will use the\ndefault storage class", + "type": "string" + } + } + }, + "temporary": { + "description": "When set to true, the tablespace will be added as a `temp_tablespaces`\nentry in PostgreSQL, and will be available to automatically house temp\ndatabase objects, or other temporary files. Please refer to PostgreSQL\ndocumentation for more information on the `temp_tablespaces` GUC.", + "type": "boolean" + } + } + } + }, + "topologySpreadConstraints": { + "description": "TopologySpreadConstraints specifies how to spread matching pods among the given topology.\nMore info:\nhttps://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/", + "type": "array", + "items": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "labelSelector": { + "description": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field.", + "type": "string" + } + } + } + }, + "walStorage": { + "description": "Configuration of the storage for PostgreSQL WAL (Write-Ahead Log)", + "type": "object", + "properties": { + "pvcTemplate": { + "description": "Template to be used to generate the Persistent Volume Claim", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "resizeInUseVolumes": { + "description": "Resize existent PVCs, defaults to true", + "type": "boolean" + }, + "size": { + "description": "Size of the storage. Required if not already specified in the PVC template.\nChanges to this field are automatically reapplied to the created PVCs.\nSize cannot be decreased.", + "type": "string" + }, + "storageClass": { + "description": "StorageClass to use for PVCs. Applied after\nevaluating the PVC template, if available.\nIf not specified, the generated PVCs will use the\ndefault storage class", + "type": "string" + } + } + } + }, + "x-kubernetes-validations": [ + { + "message": "imageName and imageCatalogRef are mutually exclusive", + "rule": "!(has(self.imageCatalogRef) && has(self.imageName))" + } + ] + }, + "status": { + "description": "Most recently observed status of the cluster. This data may not be up\nto date. Populated by the system. Read-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "availableArchitectures": { + "description": "AvailableArchitectures reports the available architectures of a cluster", + "type": "array", + "items": { + "description": "AvailableArchitecture represents the state of a cluster's architecture", + "type": "object", + "required": [ + "goArch", + "hash" + ], + "properties": { + "goArch": { + "description": "GoArch is the name of the executable architecture", + "type": "string" + }, + "hash": { + "description": "Hash is the hash of the executable", + "type": "string" + } + } + } + }, + "azurePVCUpdateEnabled": { + "description": "AzurePVCUpdateEnabled shows if the PVC online upgrade is enabled for this cluster", + "type": "boolean" + }, + "certificates": { + "description": "The configuration for the CA and related certificates, initialized with defaults.", + "type": "object", + "properties": { + "clientCASecret": { + "description": "The secret containing the Client CA certificate. If not defined, a new secret will be created\nwith a self-signed CA and will be used to generate all the client certificates.
\n
\nContains:
\n
\n- `ca.crt`: CA that should be used to validate the client certificates,\nused as `ssl_ca_file` of all the instances.
\n- `ca.key`: key used to generate client certificates, if ReplicationTLSSecret is provided,\nthis can be omitted.
", + "type": "string" + }, + "expirations": { + "description": "Expiration dates for all certificates.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "replicationTLSSecret": { + "description": "The secret of type kubernetes.io/tls containing the client certificate to authenticate as\nthe `streaming_replica` user.\nIf not defined, ClientCASecret must provide also `ca.key`, and a new secret will be\ncreated using the provided CA.", + "type": "string" + }, + "serverAltDNSNames": { + "description": "The list of the server alternative DNS names to be added to the generated server TLS certificates, when required.", + "type": "array", + "items": { + "type": "string" + } + }, + "serverCASecret": { + "description": "The secret containing the Server CA certificate. If not defined, a new secret will be created\nwith a self-signed CA and will be used to generate the TLS certificate ServerTLSSecret.
\n
\nContains:
\n
\n- `ca.crt`: CA that should be used to validate the server certificate,\nused as `sslrootcert` in client connection strings.
\n- `ca.key`: key used to generate Server SSL certs, if ServerTLSSecret is provided,\nthis can be omitted.
", + "type": "string" + }, + "serverTLSSecret": { + "description": "The secret of type kubernetes.io/tls containing the server TLS certificate and key that will be set as\n`ssl_cert_file` and `ssl_key_file` so that clients can connect to postgres securely.\nIf not defined, ServerCASecret must provide also `ca.key` and a new secret will be\ncreated using the provided CA.", + "type": "string" + } + } + }, + "cloudNativePGCommitHash": { + "description": "The commit hash number of which this operator running", + "type": "string" + }, + "cloudNativePGOperatorHash": { + "description": "The hash of the binary of the operator", + "type": "string" + }, + "conditions": { + "description": "Conditions for cluster object", + "type": "array", + "items": { + "description": "Condition contains details for one aspect of the current state of this API Resource.", + "type": "object", + "required": [ + "lastTransitionTime", + "message", + "reason", + "status", + "type" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.", + "type": "string", + "maxLength": 32768 + }, + "observedGeneration": { + "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.", + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "reason": { + "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.", + "type": "string", + "maxLength": 1024, + "minLength": 1, + "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$" + }, + "status": { + "description": "status of the condition, one of True, False, Unknown.", + "type": "string", + "enum": [ + "True", + "False", + "Unknown" + ] + }, + "type": { + "description": "type of condition in CamelCase or in foo.example.com/CamelCase.", + "type": "string", + "maxLength": 316, + "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$" + } + } + } + }, + "configMapResourceVersion": { + "description": "The list of resource versions of the configmaps,\nmanaged by the operator. Every change here is done in the\ninterest of the instance manager, which will refresh the\nconfigmap data", + "type": "object", + "properties": { + "metrics": { + "description": "A map with the versions of all the config maps used to pass metrics.\nMap keys are the config map names, map values are the versions", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "currentPrimary": { + "description": "Current primary instance", + "type": "string" + }, + "currentPrimaryFailingSinceTimestamp": { + "description": "The timestamp when the primary was detected to be unhealthy\nThis field is reported when `.spec.failoverDelay` is populated or during online upgrades", + "type": "string" + }, + "currentPrimaryTimestamp": { + "description": "The timestamp when the last actual promotion to primary has occurred", + "type": "string" + }, + "danglingPVC": { + "description": "List of all the PVCs created by this cluster and still available\nwhich are not attached to a Pod", + "type": "array", + "items": { + "type": "string" + } + }, + "demotionToken": { + "description": "DemotionToken is a JSON token containing the information\nfrom pg_controldata such as Database system identifier, Latest checkpoint's\nTimeLineID, Latest checkpoint's REDO location, Latest checkpoint's REDO\nWAL file, and Time of latest checkpoint", + "type": "string" + }, + "firstRecoverabilityPoint": { + "description": "The first recoverability point, stored as a date in RFC3339 format.\nThis field is calculated from the content of FirstRecoverabilityPointByMethod", + "type": "string" + }, + "firstRecoverabilityPointByMethod": { + "description": "The first recoverability point, stored as a date in RFC3339 format, per backup method type", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "date-time" + } + }, + "healthyPVC": { + "description": "List of all the PVCs not dangling nor initializing", + "type": "array", + "items": { + "type": "string" + } + }, + "image": { + "description": "Image contains the image name used by the pods", + "type": "string" + }, + "initializingPVC": { + "description": "List of all the PVCs that are being initialized by this cluster", + "type": "array", + "items": { + "type": "string" + } + }, + "instanceNames": { + "description": "List of instance names in the cluster", + "type": "array", + "items": { + "type": "string" + } + }, + "instances": { + "description": "The total number of PVC Groups detected in the cluster. It may differ from the number of existing instance pods.", + "type": "integer" + }, + "instancesReportedState": { + "description": "The reported state of the instances during the last reconciliation loop", + "type": "object", + "additionalProperties": { + "description": "InstanceReportedState describes the last reported state of an instance during a reconciliation loop", + "type": "object", + "required": [ + "isPrimary" + ], + "properties": { + "isPrimary": { + "description": "indicates if an instance is the primary one", + "type": "boolean" + }, + "timeLineID": { + "description": "indicates on which TimelineId the instance is", + "type": "integer" + } + } + } + }, + "instancesStatus": { + "description": "InstancesStatus indicates in which status the instances are", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "jobCount": { + "description": "How many Jobs have been created by this cluster", + "type": "integer", + "format": "int32" + }, + "lastFailedBackup": { + "description": "Stored as a date in RFC3339 format", + "type": "string" + }, + "lastPromotionToken": { + "description": "LastPromotionToken is the last verified promotion token that\nwas used to promote a replica cluster", + "type": "string" + }, + "lastSuccessfulBackup": { + "description": "Last successful backup, stored as a date in RFC3339 format\nThis field is calculated from the content of LastSuccessfulBackupByMethod", + "type": "string" + }, + "lastSuccessfulBackupByMethod": { + "description": "Last successful backup, stored as a date in RFC3339 format, per backup method type", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "date-time" + } + }, + "latestGeneratedNode": { + "description": "ID of the latest generated node (used to avoid node name clashing)", + "type": "integer" + }, + "managedRolesStatus": { + "description": "ManagedRolesStatus reports the state of the managed roles in the cluster", + "type": "object", + "properties": { + "byStatus": { + "description": "ByStatus gives the list of roles in each state", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "cannotReconcile": { + "description": "CannotReconcile lists roles that cannot be reconciled in PostgreSQL,\nwith an explanation of the cause", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "passwordStatus": { + "description": "PasswordStatus gives the last transaction id and password secret version for each managed role", + "type": "object", + "additionalProperties": { + "description": "PasswordState represents the state of the password of a managed RoleConfiguration", + "type": "object", + "properties": { + "resourceVersion": { + "description": "the resource version of the password secret", + "type": "string" + }, + "transactionID": { + "description": "the last transaction ID to affect the role definition in PostgreSQL", + "type": "integer", + "format": "int64" + } + } + } + } + } + }, + "onlineUpdateEnabled": { + "description": "OnlineUpdateEnabled shows if the online upgrade is enabled inside the cluster", + "type": "boolean" + }, + "phase": { + "description": "Current phase of the cluster", + "type": "string" + }, + "phaseReason": { + "description": "Reason for the current phase", + "type": "string" + }, + "pluginStatus": { + "description": "PluginStatus is the status of the loaded plugins", + "type": "array", + "items": { + "description": "PluginStatus is the status of a loaded plugin", + "type": "object", + "required": [ + "name", + "version" + ], + "properties": { + "backupCapabilities": { + "description": "BackupCapabilities are the list of capabilities of the\nplugin regarding the Backup management", + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "description": "Capabilities are the list of capabilities of the\nplugin", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "Name is the name of the plugin", + "type": "string" + }, + "operatorCapabilities": { + "description": "OperatorCapabilities are the list of capabilities of the\nplugin regarding the reconciler", + "type": "array", + "items": { + "type": "string" + } + }, + "restoreJobHookCapabilities": { + "description": "RestoreJobHookCapabilities are the list of capabilities of the\nplugin regarding the RestoreJobHook management", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "description": "Status contain the status reported by the plugin through the SetStatusInCluster interface", + "type": "string" + }, + "version": { + "description": "Version is the version of the plugin loaded by the\nlatest reconciliation loop", + "type": "string" + }, + "walCapabilities": { + "description": "WALCapabilities are the list of capabilities of the\nplugin regarding the WAL management", + "type": "array", + "items": { + "type": "string" + } + } + } + } + }, + "poolerIntegrations": { + "description": "The integration needed by poolers referencing the cluster", + "type": "object", + "properties": { + "pgBouncerIntegration": { + "description": "PgBouncerIntegrationStatus encapsulates the needed integration for the pgbouncer poolers referencing the cluster", + "type": "object", + "properties": { + "secrets": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "pvcCount": { + "description": "How many PVCs have been created by this cluster", + "type": "integer", + "format": "int32" + }, + "readService": { + "description": "Current list of read pods", + "type": "string" + }, + "readyInstances": { + "description": "The total number of ready instances in the cluster. It is equal to the number of ready instance pods.", + "type": "integer" + }, + "resizingPVC": { + "description": "List of all the PVCs that have ResizingPVC condition.", + "type": "array", + "items": { + "type": "string" + } + }, + "secretsResourceVersion": { + "description": "The list of resource versions of the secrets\nmanaged by the operator. Every change here is done in the\ninterest of the instance manager, which will refresh the\nsecret data", + "type": "object", + "properties": { + "applicationSecretVersion": { + "description": "The resource version of the \"app\" user secret", + "type": "string" + }, + "barmanEndpointCA": { + "description": "The resource version of the Barman Endpoint CA if provided", + "type": "string" + }, + "caSecretVersion": { + "description": "Unused. Retained for compatibility with old versions.", + "type": "string" + }, + "clientCaSecretVersion": { + "description": "The resource version of the PostgreSQL client-side CA secret version", + "type": "string" + }, + "externalClusterSecretVersion": { + "description": "The resource versions of the external cluster secrets", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "managedRoleSecretVersion": { + "description": "The resource versions of the managed roles secrets", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "metrics": { + "description": "A map with the versions of all the secrets used to pass metrics.\nMap keys are the secret names, map values are the versions", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "replicationSecretVersion": { + "description": "The resource version of the \"streaming_replica\" user secret", + "type": "string" + }, + "serverCaSecretVersion": { + "description": "The resource version of the PostgreSQL server-side CA secret version", + "type": "string" + }, + "serverSecretVersion": { + "description": "The resource version of the PostgreSQL server-side secret version", + "type": "string" + }, + "superuserSecretVersion": { + "description": "The resource version of the \"postgres\" user secret", + "type": "string" + } + } + }, + "switchReplicaClusterStatus": { + "description": "SwitchReplicaClusterStatus is the status of the switch to replica cluster", + "type": "object", + "properties": { + "inProgress": { + "description": "InProgress indicates if there is an ongoing procedure of switching a cluster to a replica cluster.", + "type": "boolean" + } + } + }, + "tablespacesStatus": { + "description": "TablespacesStatus reports the state of the declarative tablespaces in the cluster", + "type": "array", + "items": { + "description": "TablespaceState represents the state of a tablespace in a cluster", + "type": "object", + "required": [ + "name", + "state" + ], + "properties": { + "error": { + "description": "Error is the reconciliation error, if any", + "type": "string" + }, + "name": { + "description": "Name is the name of the tablespace", + "type": "string" + }, + "owner": { + "description": "Owner is the PostgreSQL user owning the tablespace", + "type": "string" + }, + "state": { + "description": "State is the latest reconciliation state", + "type": "string" + } + } + } + }, + "targetPrimary": { + "description": "Target primary instance, this is different from the previous one\nduring a switchover or a failover", + "type": "string" + }, + "targetPrimaryTimestamp": { + "description": "The timestamp when the last request for a new primary has occurred", + "type": "string" + }, + "timelineID": { + "description": "The timeline of the Postgres cluster", + "type": "integer" + }, + "topology": { + "description": "Instances topology.", + "type": "object", + "properties": { + "instances": { + "description": "Instances contains the pod topology of the instances", + "type": "object", + "additionalProperties": { + "description": "PodTopologyLabels represent the topology of a Pod. map[labelName]labelValue", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "nodesUsed": { + "description": "NodesUsed represents the count of distinct nodes accommodating the instances.\nA value of '1' suggests that all instances are hosted on a single node,\nimplying the absence of High Availability (HA). Ideally, this value should\nbe the same as the number of instances in the Postgres HA cluster, implying\nshared nothing architecture on the compute side.", + "type": "integer", + "format": "int32" + }, + "successfullyExtracted": { + "description": "SuccessfullyExtracted indicates if the topology data was extract. It is useful to enact fallback behaviors\nin synchronous replica election in case of failures", + "type": "boolean" + } + } + }, + "unusablePVC": { + "description": "List of all the PVCs that are unusable because another PVC is missing", + "type": "array", + "items": { + "type": "string" + } + }, + "writeService": { + "description": "Current write pod", + "type": "string" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "Cluster", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ClusterImageCatalog": { + "description": "ClusterImageCatalog is the Schema for the clusterimagecatalogs API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the ClusterImageCatalog.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "images" + ], + "properties": { + "images": { + "description": "List of CatalogImages available in the catalog", + "type": "array", + "maxItems": 8, + "minItems": 1, + "items": { + "description": "CatalogImage defines the image and major version", + "type": "object", + "required": [ + "image", + "major" + ], + "properties": { + "image": { + "description": "The image reference", + "type": "string" + }, + "major": { + "description": "The PostgreSQL major version of the image. Must be unique within the catalog.", + "type": "integer", + "minimum": 10 + } + } + }, + "x-kubernetes-validations": [ + { + "message": "Images must have unique major versions", + "rule": "self.all(e, self.filter(f, f.major==e.major).size() == 1)" + } + ] + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalog", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ClusterImageCatalogList": { + "description": "ClusterImageCatalogList is a list of ClusterImageCatalog", + "type": "object", + "required": [ + "items" + ], + "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": "List of clusterimagecatalogs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ClusterImageCatalog" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ClusterImageCatalogList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ClusterList": { + "description": "ClusterList is a list of Cluster", + "type": "object", + "required": [ + "items" + ], + "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": "List of clusters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Cluster" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ClusterList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.Database": { + "description": "Database is the Schema for the databases API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired Database.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "cluster", + "name", + "owner" + ], + "properties": { + "allowConnections": { + "description": "Maps to the `ALLOW_CONNECTIONS` parameter of `CREATE DATABASE` and\n`ALTER DATABASE`. If false then no one can connect to this database.", + "type": "boolean" + }, + "builtinLocale": { + "description": "Maps to the `BUILTIN_LOCALE` parameter of `CREATE DATABASE`. This\nsetting cannot be changed. Specifies the locale name when the\nbuiltin provider is used. This option requires `localeProvider` to\nbe set to `builtin`. Available from PostgreSQL 17.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "builtinLocale is immutable", + "rule": "self == oldSelf" + } + ] + }, + "cluster": { + "description": "The name of the PostgreSQL cluster hosting the database.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "collationVersion": { + "description": "Maps to the `COLLATION_VERSION` parameter of `CREATE DATABASE`. This\nsetting cannot be changed.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "collationVersion is immutable", + "rule": "self == oldSelf" + } + ] + }, + "connectionLimit": { + "description": "Maps to the `CONNECTION LIMIT` clause of `CREATE DATABASE` and\n`ALTER DATABASE`. How many concurrent connections can be made to\nthis database. -1 (the default) means no limit.", + "type": "integer" + }, + "databaseReclaimPolicy": { + "description": "The policy for end-of-life maintenance of this database.", + "type": "string", + "enum": [ + "delete", + "retain" + ] + }, + "encoding": { + "description": "Maps to the `ENCODING` parameter of `CREATE DATABASE`. This setting\ncannot be changed. Character set encoding to use in the database.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "encoding is immutable", + "rule": "self == oldSelf" + } + ] + }, + "ensure": { + "description": "Ensure the PostgreSQL database is `present` or `absent` - defaults to \"present\".", + "type": "string", + "enum": [ + "present", + "absent" + ] + }, + "icuLocale": { + "description": "Maps to the `ICU_LOCALE` parameter of `CREATE DATABASE`. This\nsetting cannot be changed. Specifies the ICU locale when the ICU\nprovider is used. This option requires `localeProvider` to be set to\n`icu`. Available from PostgreSQL 15.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "icuLocale is immutable", + "rule": "self == oldSelf" + } + ] + }, + "icuRules": { + "description": "Maps to the `ICU_RULES` parameter of `CREATE DATABASE`. This setting\ncannot be changed. Specifies additional collation rules to customize\nthe behavior of the default collation. This option requires\n`localeProvider` to be set to `icu`. Available from PostgreSQL 16.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "icuRules is immutable", + "rule": "self == oldSelf" + } + ] + }, + "isTemplate": { + "description": "Maps to the `IS_TEMPLATE` parameter of `CREATE DATABASE` and `ALTER\nDATABASE`. If true, this database is considered a template and can\nbe cloned by any user with `CREATEDB` privileges.", + "type": "boolean" + }, + "locale": { + "description": "Maps to the `LOCALE` parameter of `CREATE DATABASE`. This setting\ncannot be changed. Sets the default collation order and character\nclassification in the new database.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "locale is immutable", + "rule": "self == oldSelf" + } + ] + }, + "localeCType": { + "description": "Maps to the `LC_CTYPE` parameter of `CREATE DATABASE`. This setting\ncannot be changed.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "localeCType is immutable", + "rule": "self == oldSelf" + } + ] + }, + "localeCollate": { + "description": "Maps to the `LC_COLLATE` parameter of `CREATE DATABASE`. This\nsetting cannot be changed.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "localeCollate is immutable", + "rule": "self == oldSelf" + } + ] + }, + "localeProvider": { + "description": "Maps to the `LOCALE_PROVIDER` parameter of `CREATE DATABASE`. This\nsetting cannot be changed. This option sets the locale provider for\ndatabases created in the new cluster. Available from PostgreSQL 16.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "localeProvider is immutable", + "rule": "self == oldSelf" + } + ] + }, + "name": { + "description": "The name of the database to create inside PostgreSQL. This setting cannot be changed.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is immutable", + "rule": "self == oldSelf" + }, + { + "message": "the name postgres is reserved", + "rule": "self != 'postgres'" + }, + { + "message": "the name template0 is reserved", + "rule": "self != 'template0'" + }, + { + "message": "the name template1 is reserved", + "rule": "self != 'template1'" + } + ] + }, + "owner": { + "description": "Maps to the `OWNER` parameter of `CREATE DATABASE`.\nMaps to the `OWNER TO` command of `ALTER DATABASE`.\nThe role name of the user who owns the database inside PostgreSQL.", + "type": "string" + }, + "tablespace": { + "description": "Maps to the `TABLESPACE` parameter of `CREATE DATABASE`.\nMaps to the `SET TABLESPACE` command of `ALTER DATABASE`.\nThe name of the tablespace (in PostgreSQL) that will be associated\nwith the new database. This tablespace will be the default\ntablespace used for objects created in this database.", + "type": "string" + }, + "template": { + "description": "Maps to the `TEMPLATE` parameter of `CREATE DATABASE`. This setting\ncannot be changed. The name of the template from which to create\nthis database.", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "template is immutable", + "rule": "self == oldSelf" + } + ] + } + }, + "x-kubernetes-validations": [ + { + "message": "builtinLocale is only available when localeProvider is set to `builtin`", + "rule": "!has(self.builtinLocale) || self.localeProvider == 'builtin'" + }, + { + "message": "icuLocale is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuLocale) || self.localeProvider == 'icu'" + }, + { + "message": "icuRules is only available when localeProvider is set to `icu`", + "rule": "!has(self.icuRules) || self.localeProvider == 'icu'" + } + ] + }, + "status": { + "description": "Most recently observed status of the Database. This data may not be up to\ndate. Populated by the system. Read-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "applied": { + "description": "Applied is true if the database was reconciled correctly", + "type": "boolean" + }, + "message": { + "description": "Message is the reconciliation output message", + "type": "string" + }, + "observedGeneration": { + "description": "A sequence number representing the latest\ndesired state that was synchronized", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "Database", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.DatabaseList": { + "description": "DatabaseList is a list of Database", + "type": "object", + "required": [ + "items" + ], + "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": "List of databases. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Database" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "DatabaseList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ImageCatalog": { + "description": "ImageCatalog is the Schema for the imagecatalogs API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the ImageCatalog.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "images" + ], + "properties": { + "images": { + "description": "List of CatalogImages available in the catalog", + "type": "array", + "maxItems": 8, + "minItems": 1, + "items": { + "description": "CatalogImage defines the image and major version", + "type": "object", + "required": [ + "image", + "major" + ], + "properties": { + "image": { + "description": "The image reference", + "type": "string" + }, + "major": { + "description": "The PostgreSQL major version of the image. Must be unique within the catalog.", + "type": "integer", + "minimum": 10 + } + } + }, + "x-kubernetes-validations": [ + { + "message": "Images must have unique major versions", + "rule": "self.all(e, self.filter(f, f.major==e.major).size() == 1)" + } + ] + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalog", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ImageCatalogList": { + "description": "ImageCatalogList is a list of ImageCatalog", + "type": "object", + "required": [ + "items" + ], + "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": "List of imagecatalogs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ImageCatalog" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ImageCatalogList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.Pooler": { + "description": "Pooler is the Schema for the poolers API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Pooler.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "cluster", + "pgbouncer" + ], + "properties": { + "cluster": { + "description": "This is the cluster reference on which the Pooler will work.\nPooler name should never match with any cluster name within the same namespace.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "deploymentStrategy": { + "description": "The deployment strategy to use for pgbouncer to replace existing pods with new ones", + "type": "object", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if DeploymentStrategyType =\nRollingUpdate.", + "type": "object", + "properties": { + "maxSurge": { + "description": "The maximum number of pods that can be scheduled above the desired number of\npods.\nValue can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).\nThis can not be 0 if MaxUnavailable is 0.\nAbsolute number is calculated from percentage by rounding up.\nDefaults to 25%.\nExample: when this is set to 30%, the new ReplicaSet can be scaled up immediately when\nthe rolling update starts, such that the total number of old and new pods do not exceed\n130% of desired pods. Once old pods have been killed,\nnew ReplicaSet can be scaled up further, ensuring that total number of pods running\nat any time during the update is at most 130% of desired pods.", + "x-kubernetes-int-or-string": true + }, + "maxUnavailable": { + "description": "The maximum number of pods that can be unavailable during the update.\nValue can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).\nAbsolute number is calculated from percentage by rounding down.\nThis can not be 0 if MaxSurge is 0.\nDefaults to 25%.\nExample: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods\nimmediately when the rolling update starts. Once new pods are ready, old ReplicaSet\ncan be scaled down further, followed by scaling up the new ReplicaSet, ensuring\nthat the total number of pods available at all times during the update is at\nleast 70% of desired pods.", + "x-kubernetes-int-or-string": true + } + } + }, + "type": { + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "type": "string" + } + } + }, + "instances": { + "description": "The number of replicas we want. Default: 1.", + "type": "integer", + "format": "int32" + }, + "monitoring": { + "description": "The configuration of the monitoring infrastructure of this pooler.", + "type": "object", + "properties": { + "enablePodMonitor": { + "description": "Enable or disable the `PodMonitor`", + "type": "boolean" + }, + "podMonitorMetricRelabelings": { + "description": "The list of metric relabelings for the `PodMonitor`. Applied to samples before ingestion.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + }, + "podMonitorRelabelings": { + "description": "The list of relabelings for the `PodMonitor`. Applied to samples before scraping.", + "type": "array", + "items": { + "description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts,\nscraped samples and remote write samples.\n\nMore info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config", + "type": "object", + "properties": { + "action": { + "description": "Action to perform based on the regex matching.\n\n`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0.\n`DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.\n\nDefault: \"Replace\"", + "type": "string", + "enum": [ + "replace", + "Replace", + "keep", + "Keep", + "drop", + "Drop", + "hashmod", + "HashMod", + "labelmap", + "LabelMap", + "labeldrop", + "LabelDrop", + "labelkeep", + "LabelKeep", + "lowercase", + "Lowercase", + "uppercase", + "Uppercase", + "keepequal", + "KeepEqual", + "dropequal", + "DropEqual" + ] + }, + "modulus": { + "description": "Modulus to take of the hash of the source label values.\n\nOnly applicable when the action is `HashMod`.", + "type": "integer", + "format": "int64" + }, + "regex": { + "description": "Regular expression against which the extracted value is matched.", + "type": "string" + }, + "replacement": { + "description": "Replacement value against which a Replace action is performed if the\nregular expression matches.\n\nRegex capture groups are available.", + "type": "string" + }, + "separator": { + "description": "Separator is the string between concatenated SourceLabels.", + "type": "string" + }, + "sourceLabels": { + "description": "The source labels select values from existing labels. Their content is\nconcatenated using the configured Separator and matched against the\nconfigured regular expression.", + "type": "array", + "items": { + "description": "LabelName is a valid Prometheus label name which may only contain ASCII\nletters, numbers, as well as underscores.", + "type": "string", + "pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$" + } + }, + "targetLabel": { + "description": "Label to which the resulting string is written in a replacement.\n\nIt is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`,\n`KeepEqual` and `DropEqual` actions.\n\nRegex capture groups are available.", + "type": "string" + } + } + } + } + } + }, + "pgbouncer": { + "description": "The PgBouncer configuration", + "type": "object", + "properties": { + "authQuery": { + "description": "The query that will be used to download the hash of the password\nof a certain user. Default: \"SELECT usename, passwd FROM public.user_search($1)\".\nIn case it is specified, also an AuthQuerySecret has to be specified and\nno automatic CNPG Cluster integration will be triggered.", + "type": "string" + }, + "authQuerySecret": { + "description": "The credentials of the user that need to be used for the authentication\nquery. In case it is specified, also an AuthQuery\n(e.g. \"SELECT usename, passwd FROM pg_catalog.pg_shadow WHERE usename=$1\")\nhas to be specified and no automatic CNPG Cluster integration will be triggered.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "parameters": { + "description": "Additional parameters to be passed to PgBouncer - please check\nthe CNPG documentation for a list of options you can configure", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "paused": { + "description": "When set to `true`, PgBouncer will disconnect from the PostgreSQL\nserver, first waiting for all queries to complete, and pause all new\nclient connections until this value is set to `false` (default). Internally,\nthe operator calls PgBouncer's `PAUSE` and `RESUME` commands.", + "type": "boolean" + }, + "pg_hba": { + "description": "PostgreSQL Host Based Authentication rules (lines to be appended\nto the pg_hba.conf file)", + "type": "array", + "items": { + "type": "string" + } + }, + "poolMode": { + "description": "The pool mode. Default: `session`.", + "type": "string", + "enum": [ + "session", + "transaction" + ] + } + } + }, + "serviceTemplate": { + "description": "Template for the Service to be created", + "type": "object", + "properties": { + "metadata": { + "description": "Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "The name of the resource. Only supported for certain types", + "type": "string" + } + } + }, + "spec": { + "description": "Specification of the desired behavior of the service.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "allocateLoadBalancerNodePorts": { + "description": "allocateLoadBalancerNodePorts defines if NodePorts will be automatically\nallocated for services with type LoadBalancer. Default is \"true\". It\nmay be set to \"false\" if the cluster load-balancer does not rely on\nNodePorts. If the caller requests specific NodePorts (by specifying a\nvalue), those requests will be respected, regardless of this field.\nThis field may only be set for services with type LoadBalancer and will\nbe cleared if the type is changed to any other type.", + "type": "boolean" + }, + "clusterIP": { + "description": "clusterIP is the IP address of the service and is usually assigned\nrandomly. If an address is specified manually, is in-range (as per\nsystem configuration), and is not in use, it will be allocated to the\nservice; otherwise creation of the service will fail. This field may not\nbe changed through updates unless the type field is also being changed\nto ExternalName (which requires this field to be blank) or the type\nfield is being changed from ExternalName (in which case this field may\noptionally be specified, as describe above). Valid values are \"None\",\nempty string (\"\"), or a valid IP address. Setting this to \"None\" makes a\n\"headless service\" (no virtual IP), which is useful when direct endpoint\nconnections are preferred and proxying is not required. Only applies to\ntypes ClusterIP, NodePort, and LoadBalancer. If this field is specified\nwhen creating a Service of type ExternalName, creation will fail. This\nfield will be wiped when updating a Service to type ExternalName.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "string" + }, + "clusterIPs": { + "description": "ClusterIPs is a list of IP addresses assigned to this service, and are\nusually assigned randomly. If an address is specified manually, is\nin-range (as per system configuration), and is not in use, it will be\nallocated to the service; otherwise creation of the service will fail.\nThis field may not be changed through updates unless the type field is\nalso being changed to ExternalName (which requires this field to be\nempty) or the type field is being changed from ExternalName (in which\ncase this field may optionally be specified, as describe above). Valid\nvalues are \"None\", empty string (\"\"), or a valid IP address. Setting\nthis to \"None\" makes a \"headless service\" (no virtual IP), which is\nuseful when direct endpoint connections are preferred and proxying is\nnot required. Only applies to types ClusterIP, NodePort, and\nLoadBalancer. If this field is specified when creating a Service of type\nExternalName, creation will fail. This field will be wiped when updating\na Service to type ExternalName. If this field is not specified, it will\nbe initialized from the clusterIP field. If this field is specified,\nclients must ensure that clusterIPs[0] and clusterIP have the same\nvalue.\n\nThis field may hold a maximum of two entries (dual-stack IPs, in either order).\nThese IPs must correspond to the values of the ipFamilies field. Both\nclusterIPs and ipFamilies are governed by the ipFamilyPolicy field.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "description": "externalIPs is a list of IP addresses for which nodes in the cluster\nwill also accept traffic for this service. These IPs are not managed by\nKubernetes. The user is responsible for ensuring that traffic arrives\nat a node with this IP. A common example is external load-balancers\nthat are not part of the Kubernetes system.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "description": "externalName is the external reference that discovery mechanisms will\nreturn as an alias for this service (e.g. a DNS CNAME record). No\nproxying will be involved. Must be a lowercase RFC-1123 hostname\n(https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\".", + "type": "string" + }, + "externalTrafficPolicy": { + "description": "externalTrafficPolicy describes how nodes distribute service traffic they\nreceive on one of the Service's \"externally-facing\" addresses (NodePorts,\nExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure\nthe service in a way that assumes that external load balancers will take care\nof balancing the service traffic between nodes, and so each node will deliver\ntraffic only to the node-local endpoints of the service, without masquerading\nthe client source IP. (Traffic mistakenly sent to a node with no endpoints will\nbe dropped.) The default value, \"Cluster\", uses the standard behavior of\nrouting to all endpoints evenly (possibly modified by topology and other\nfeatures). Note that traffic sent to an External IP or LoadBalancer IP from\nwithin the cluster will always get \"Cluster\" semantics, but clients sending to\na NodePort from within the cluster may need to take traffic policy into account\nwhen picking a node.", + "type": "string" + }, + "healthCheckNodePort": { + "description": "healthCheckNodePort specifies the healthcheck nodePort for the service.\nThis only applies when type is set to LoadBalancer and\nexternalTrafficPolicy is set to Local. If a value is specified, is\nin-range, and is not in use, it will be used. If not specified, a value\nwill be automatically allocated. External systems (e.g. load-balancers)\ncan use this port to determine if a given node holds endpoints for this\nservice or not. If this field is specified when creating a Service\nwhich does not need it, creation will fail. This field will be wiped\nwhen updating a Service to no longer need it (e.g. changing type).\nThis field cannot be updated once set.", + "type": "integer", + "format": "int32" + }, + "internalTrafficPolicy": { + "description": "InternalTrafficPolicy describes how nodes distribute service traffic they\nreceive on the ClusterIP. If set to \"Local\", the proxy will assume that pods\nonly want to talk to endpoints of the service on the same node as the pod,\ndropping the traffic if there are no local endpoints. The default value,\n\"Cluster\", uses the standard behavior of routing to all endpoints evenly\n(possibly modified by topology and other features).", + "type": "string" + }, + "ipFamilies": { + "description": "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this\nservice. This field is usually assigned automatically based on cluster\nconfiguration and the ipFamilyPolicy field. If this field is specified\nmanually, the requested family is available in the cluster,\nand ipFamilyPolicy allows it, it will be used; otherwise creation of\nthe service will fail. This field is conditionally mutable: it allows\nfor adding or removing a secondary IP family, but it does not allow\nchanging the primary IP family of the Service. Valid values are \"IPv4\"\nand \"IPv6\". This field only applies to Services of types ClusterIP,\nNodePort, and LoadBalancer, and does apply to \"headless\" services.\nThis field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in\neither order). These families must correspond to the values of the\nclusterIPs field, if specified. Both clusterIPs and ipFamilies are\ngoverned by the ipFamilyPolicy field.", + "type": "array", + "items": { + "description": "IPFamily represents the IP Family (IPv4 or IPv6). This type is used\nto express the family of an IP expressed by a type (e.g. service.spec.ipFamilies).", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "description": "IPFamilyPolicy represents the dual-stack-ness requested or required by\nthis Service. If there is no value provided, then this field will be set\nto SingleStack. Services can be \"SingleStack\" (a single IP family),\n\"PreferDualStack\" (two IP families on dual-stack configured clusters or\na single IP family on single-stack clusters), or \"RequireDualStack\"\n(two IP families on dual-stack configured clusters, otherwise fail). The\nipFamilies and clusterIPs fields depend on the value of this field. This\nfield will be wiped when updating a service to type ExternalName.", + "type": "string" + }, + "loadBalancerClass": { + "description": "loadBalancerClass is the class of the load balancer implementation this Service belongs to.\nIf specified, the value of this field must be a label-style identifier, with an optional prefix,\ne.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users.\nThis field can only be set when the Service type is 'LoadBalancer'. If not set, the default load\nbalancer implementation is used, today this is typically done through the cloud provider integration,\nbut should apply for any default implementation. If set, it is assumed that a load balancer\nimplementation is watching for Services with a matching class. Any default load balancer\nimplementation (e.g. cloud providers) should ignore Services that set this field.\nThis field can only be set when creating or updating a Service to type 'LoadBalancer'.\nOnce set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.", + "type": "string" + }, + "loadBalancerIP": { + "description": "Only applies to Service Type: LoadBalancer.\nThis feature depends on whether the underlying cloud-provider supports specifying\nthe loadBalancerIP when a load balancer is created.\nThis field will be ignored if the cloud-provider does not support the feature.\nDeprecated: This field was under-specified and its meaning varies across implementations.\nUsing it is non-portable and it may not support dual-stack.\nUsers are encouraged to use implementation-specific annotations when available.", + "type": "string" + }, + "loadBalancerSourceRanges": { + "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider\nload-balancer will be restricted to the specified client IPs. This field will be ignored if the\ncloud-provider does not support the feature.\"\nMore info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "description": "The list of ports that are exposed by this service.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "array", + "items": { + "description": "ServicePort contains information on service's port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "appProtocol": { + "description": "The application protocol for this port.\nThis is used as a hint for implementations to offer richer behavior for protocols that they understand.\nThis field follows standard Kubernetes label syntax.\nValid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per\nRFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as\nmycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "The name of this port within the service. This must be a DNS_LABEL.\nAll ports within a ServiceSpec must have unique names. When considering\nthe endpoints for a Service, this must match the 'name' field in the\nEndpointPort.\nOptional if only one ServicePort is defined on this service.", + "type": "string" + }, + "nodePort": { + "description": "The port on each node on which this service is exposed when type is\nNodePort or LoadBalancer. Usually assigned by the system. If a value is\nspecified, in-range, and not in use it will be used, otherwise the\noperation will fail. If not specified, a port will be allocated if this\nService requires one. If this field is specified when creating a\nService which does not need it, creation will fail. This field will be\nwiped when updating a Service to no longer need it (e.g. changing type\nfrom NodePort to ClusterIP).\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", + "type": "integer", + "format": "int32" + }, + "port": { + "description": "The port that will be exposed by this service.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\".\nDefault is TCP.", + "type": "string" + }, + "targetPort": { + "description": "Number or name of the port to access on the pods targeted by the service.\nNumber must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.\nIf this is a string, it will be looked up as a named port in the\ntarget Pod's container ports. If this is not specified, the value\nof the 'port' field is used (an identity map).\nThis field is ignored for services with clusterIP=None, and should be\nomitted or set equal to the 'port' field.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", + "x-kubernetes-int-or-string": true + } + } + }, + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "publishNotReadyAddresses": { + "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this\nService should disregard any indications of ready/not-ready.\nThe primary use case for setting this field is for a StatefulSet's Headless Service to\npropagate SRV DNS records for its Pods for the purpose of peer discovery.\nThe Kubernetes controllers that generate Endpoints and EndpointSlice resources for\nServices interpret this to mean that all endpoints are considered \"ready\" even if the\nPods themselves are not. Agents which consume only Kubernetes generated endpoints\nthrough the Endpoints or EndpointSlice resources can safely assume this behavior.", + "type": "boolean" + }, + "selector": { + "description": "Route service traffic to pods with label keys and values matching this\nselector. If empty or not present, the service is assumed to have an\nexternal process managing its endpoints, which Kubernetes will not\nmodify. Only applies to types ClusterIP, NodePort, and LoadBalancer.\nIgnored if type is ExternalName.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity.\nEnable client IP based session affinity.\nMust be ClientIP or None.\nDefaults to None.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "string" + }, + "sessionAffinityConfig": { + "description": "sessionAffinityConfig contains the configurations of session affinity.", + "type": "object", + "properties": { + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "type": "object", + "properties": { + "timeoutSeconds": { + "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time.\nThe value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\".\nDefault value is 10800(for 3 hours).", + "type": "integer", + "format": "int32" + } + } + } + } + }, + "trafficDistribution": { + "description": "TrafficDistribution offers a way to express preferences for how traffic is\ndistributed to Service endpoints. Implementations can use this field as a\nhint, but are not required to guarantee strict adherence. If the field is\nnot set, the implementation will apply its default routing strategy. If set\nto \"PreferClose\", implementations should prioritize endpoints that are\ntopologically close (e.g., same zone).\nThis is a beta field and requires enabling ServiceTrafficDistribution feature.", + "type": "string" + }, + "type": { + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid\noptions are ExternalName, ClusterIP, NodePort, and LoadBalancer.\n\"ClusterIP\" allocates a cluster-internal IP address for load-balancing\nto endpoints. Endpoints are determined by the selector or if that is not\nspecified, by manual construction of an Endpoints object or\nEndpointSlice objects. If clusterIP is \"None\", no virtual IP is\nallocated and the endpoints are published as a set of endpoints rather\nthan a virtual IP.\n\"NodePort\" builds on ClusterIP and allocates a port on every node which\nroutes to the same endpoints as the clusterIP.\n\"LoadBalancer\" builds on NodePort and creates an external load-balancer\n(if supported in the current cloud) which routes to the same endpoints\nas the clusterIP.\n\"ExternalName\" aliases this service to the specified externalName.\nSeveral other fields do not apply to ExternalName services.\nMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types", + "type": "string" + } + } + } + } + }, + "template": { + "description": "The template of the Pod to be created", + "type": "object", + "properties": { + "metadata": { + "description": "Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "name": { + "description": "The name of the resource. Only supported for certain types", + "type": "string" + } + } + }, + "spec": { + "description": "Specification of the desired behavior of the pod.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "containers" + ], + "properties": { + "activeDeadlineSeconds": { + "description": "Optional duration in seconds the pod may be active on the node relative to\nStartTime before the system will actively try to mark it failed and kill associated containers.\nValue must be a positive integer.", + "type": "integer", + "format": "int64" + }, + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "preference", + "weight" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "podAffinityTerm", + "weight" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "description": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key matches that of any node on which\na pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods.\nIf it's null, this PodAffinityTerm matches with no Pods.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both matchLabelKeys and labelSelector.\nAlso, matchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will\nbe taken into consideration. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`\nto select the group of existing pods which pods will be taken into consideration\nfor the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming\npod labels will be ignored. The default value is empty.\nThe same key is forbidden to exist in both mismatchLabelKeys and labelSelector.\nAlso, mismatchLabelKeys cannot be set when labelSelector isn't set.\nThis is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to.\nThe term is applied to the union of the namespaces selected by this field\nand the ones listed in the namespaces field.\nnull selector and null or empty namespaces list means \"this pod's namespace\".\nAn empty selector ({}) matches all namespaces.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to.\nThe term is applied to the union of the namespaces listed in this field\nand the ones selected by namespaceSelector.\nnull or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + } + } + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" + }, + "containers": { + "description": "List of containers belonging to the pod.\nContainers cannot currently be added or removed.\nThere must be at least one container in a Pod.\nCannot be updated.", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "dnsConfig": { + "description": "Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "options": { + "description": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "properties": { + "name": { + "description": "Name is this DNS resolver option's name.\nRequired.", + "type": "string" + }, + "value": { + "description": "Value is this DNS resolver option's value.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "dnsPolicy": { + "description": "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'.", + "type": "string" + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's\nenvironment variables, matching the syntax of Docker links.\nOptional: Defaults to true.", + "type": "boolean" + }, + "ephemeralContainers": { + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing\npod to perform user-initiated actions such as debugging. This list cannot be specified when\ncreating a pod, and it cannot be modified by updating the pod spec. In order to add an\nephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.", + "type": "array", + "items": { + "description": "An EphemeralContainer is a temporary container that you may add to an existing Pod for\nuser-initiated activities such as debugging. Ephemeral containers have no resource or\nscheduling guarantees, and they will not be restarted when they exit or when a Pod is\nremoved or restarted. The kubelet may evict a Pod if an ephemeral container causes the\nPod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing\nPod. Ephemeral containers may not be removed or restarted.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Lifecycle is not allowed for ephemeral containers.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + } + } + }, + "livenessProbe": { + "description": "Probes are not allowed for ephemeral containers.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the ephemeral container specified as a DNS_LABEL.\nThis name must be unique among all containers, init containers and ephemeral containers.", + "type": "string" + }, + "ports": { + "description": "Ports are not allowed for ephemeral containers.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Probes are not allowed for ephemeral containers.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources\nalready allocated to the pod.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "Restart policy for the container to manage the restart behavior of each\ncontainer within a pod.\nThis may only be set for init containers. You cannot set this field on\nephemeral containers.", + "type": "string" + }, + "securityContext": { + "description": "Optional: SecurityContext defines the security options the ephemeral container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "Probes are not allowed for ephemeral containers.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "targetContainerName": { + "description": "If set, the name of the container from PodSpec that this ephemeral container targets.\nThe ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.\nIf not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not\nsupport namespace targeting then the result of setting this field is undefined.", + "type": "string" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "hostAliases": { + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts\nfile if specified.", + "type": "array", + "items": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file.", + "type": "object", + "required": [ + "ip" + ], + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map" + }, + "hostIPC": { + "description": "Use the host's ipc namespace.\nOptional: Default to false.", + "type": "boolean" + }, + "hostNetwork": { + "description": "Host networking requested for this pod. Use the host's network namespace.\nIf this option is set, the ports that will be used must be specified.\nDefault to false.", + "type": "boolean" + }, + "hostPID": { + "description": "Use the host's pid namespace.\nOptional: Default to false.", + "type": "boolean" + }, + "hostUsers": { + "description": "Use the host's user namespace.\nOptional: Default to true.\nIf set to true or not present, the pod will be run in the host user namespace, useful\nfor when the pod needs a feature only available to the host user namespace, such as\nloading a kernel module with CAP_SYS_MODULE.\nWhen set to false, a new userns is created for the pod. Setting false is useful for\nmitigating container breakout vulnerabilities even allowing users to run their\ncontainers as root without actually having root privileges on the host.\nThis field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.", + "type": "boolean" + }, + "hostname": { + "description": "Specifies the hostname of the Pod\nIf not specified, the pod's hostname will be set to a system-defined value.", + "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.\nIf specified, these secrets will be passed to individual puller implementations for them to use.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "initContainers": { + "description": "List of initialization containers belonging to the pod.\nInit containers are executed in order prior to containers being started. If any\ninit container fails, the pod is considered to have failed and is handled according\nto its restartPolicy. The name for an init container or normal container must be\nunique among all containers.\nInit containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.\nThe resourceRequirements of an init container are taken into account during scheduling\nby finding the highest request/limit for each resource type, and then using the max of\nof that value or the sum of the normal containers. Limits are applied to init containers\nin a similar fashion.\nInit containers cannot currently be added or removed.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", + "type": "array", + "items": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint.\nThe container image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell.\nThe container image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will\nproduce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless\nof whether the variable exists or not. Cannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded\nusing the previously defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. Double $$ are reduced\nto a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.\n\"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\".\nEscaped references will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.", + "type": "array", + "items": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The Pod's termination grace period countdown begins before the\nPreStop hook is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod (unless delayed by finalizers). Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept\nfor backward compatibility. There is no validation of this field and\nlifecycle hooks will fail at runtime when it is specified.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + } + } + } + } + }, + "livenessProbe": { + "description": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nModifying this array with strategic merge patch may corrupt the data.\nFor more information See https://github.com/kubernetes/kubernetes/issues/108255.\nCannot be updated.", + "type": "array", + "items": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 < x < 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies.\nSupported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized.\nIf not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "RestartPolicy defines the restart behavior of individual containers in a pod.\nThis field may only be set for init containers, and the only allowed value is \"Always\".\nFor non-init containers or when this field is not specified,\nthe restart behavior is defined by the Pod's restart policy and the container type.\nSetting the RestartPolicy as \"Always\" for the init container will have the following effect:\nthis init container will be continually restarted on\nexit until all regular containers have terminated. Once all regular\ncontainers have completed, all init containers with restartPolicy \"Always\"\nwill be shut down. This lifecycle differs from normal init containers and\nis often referred to as a \"sidecar\" container. Although this init\ncontainer still starts in the init container sequence, it does not wait\nfor the container to complete before proceeding to the next init\ncontainer. Instead, the next init container starts immediately after this\ninit container is started, or after any startupProbe has successfully\ncompleted.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the container should be run with.\nIf set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile\noverrides the pod's appArmorProfile.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "description": "Capability represent POSIX capabilities type", + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "privileged": { + "description": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers.\nThe default value is Default which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem.\nDefault is false.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod & container level, the container options\noverride the pod options.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest\n(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name.\nThis will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + }, + "scheme": { + "description": "Scheme to use for connecting to the host.\nDefaults to HTTP.", + "type": "string" + } + } + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME.", + "x-kubernetes-int-or-string": true + } + } + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nIf this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this\nvalue overrides the value provided by the pod spec.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nThis is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.\nMinimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "devicePath", + "name" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem.\nCannot be updated.", + "type": "array", + "items": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "mountPath", + "name" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\nWhen RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified\n(which defaults to None).", + "type": "string" + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled\nrecursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made\nrecursively read-only. If this field is set to IfPossible, the mount is made\nrecursively read-only, if it is supported by the container runtime. If this\nfield is set to Enabled, the mount is made recursively read-only if it is\nsupported by the container runtime, otherwise the pod will not be started and\nan error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to\nNone (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map" + }, + "workingDir": { + "description": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "nodeName": { + "description": "NodeName indicates in which node this pod is scheduled.\nIf empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName.\nOnce this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod.\nThis field should not be used to express a desire for the pod to be scheduled on a specific node.\nhttps://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename", + "type": "string" + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "os": { + "description": "Specifies the OS of the containers in the pod.\nSome 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:\n-securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset:\n- spec.hostPID\n- spec.hostIPC\n- spec.hostUsers\n- spec.securityContext.appArmorProfile\n- spec.securityContext.seLinuxOptions\n- spec.securityContext.seccompProfile\n- spec.securityContext.fsGroup\n- spec.securityContext.fsGroupChangePolicy\n- spec.securityContext.sysctls\n- spec.shareProcessNamespace\n- spec.securityContext.runAsUser\n- spec.securityContext.runAsGroup\n- spec.securityContext.supplementalGroups\n- spec.securityContext.supplementalGroupsPolicy\n- spec.containers[*].securityContext.appArmorProfile\n- spec.containers[*].securityContext.seLinuxOptions\n- spec.containers[*].securityContext.seccompProfile\n- spec.containers[*].securityContext.capabilities\n- spec.containers[*].securityContext.readOnlyRootFilesystem\n- spec.containers[*].securityContext.privileged\n- spec.containers[*].securityContext.allowPrivilegeEscalation\n- spec.containers[*].securityContext.procMount\n- spec.containers[*].securityContext.runAsUser\n- spec.containers[*].securityContext.runAsGroup", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is the name of the operating system. The currently supported values are linux and windows.\nAdditional value may be defined in future and can be one of:\nhttps://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration\nClients should expect to handle additional values and treat unrecognized values in this field as os: null", + "type": "string" + } + } + }, + "overhead": { + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.\nThis field will be autopopulated at admission time by the RuntimeClass admission controller. If\nthe RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests.\nThe RuntimeClass admission controller will reject Pod create requests which have the overhead already\nset. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value\ndefined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero.\nMore info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority.\nOne of Never, PreemptLowerPriority.\nDefaults to PreemptLowerPriority if unset.", + "type": "string" + }, + "priority": { + "description": "The priority value. Various system components use this field to find the\npriority of the pod. When Priority Admission Controller is enabled, it\nprevents users from setting this field. The admission controller populates\nthis field from PriorityClassName.\nThe higher the value, the higher the priority.", + "type": "integer", + "format": "int32" + }, + "priorityClassName": { + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and\n\"system-cluster-critical\" are two special keywords which indicate the\nhighest priorities with the former being the highest priority. Any other\nname must be defined by creating a PriorityClass object with that name.\nIf not specified, the pod priority will be default or zero if there is no\ndefault.", + "type": "string" + }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness.\nA pod is ready when all its containers are ready AND\nall conditions specified in the readiness gates have status equal to \"True\"\nMore info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates", + "type": "array", + "items": { + "description": "PodReadinessGate contains the reference to a pod condition", + "type": "object", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "resourceClaims": { + "description": "ResourceClaims defines which ResourceClaims must be allocated\nand reserved before the Pod is allowed to start. The resources\nwill be made available to those containers which consume them\nby name.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable.", + "type": "array", + "items": { + "description": "PodResourceClaim references exactly one ResourceClaim, either directly\nor by naming a ResourceClaimTemplate which is then turned into a ResourceClaim\nfor the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod.\nContainers that need access to the ResourceClaim reference it with this name.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name uniquely identifies this resource claim inside the pod.\nThis must be a DNS_LABEL.", + "type": "string" + }, + "resourceClaimName": { + "description": "ResourceClaimName is the name of a ResourceClaim object in the same\nnamespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must\nbe set.", + "type": "string" + }, + "resourceClaimTemplateName": { + "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate\nobject in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will\nbe bound to this pod. When this pod is deleted, the ResourceClaim\nwill also be deleted. The pod name and resource name, along with a\ngenerated component, will be used to form a unique name for the\nResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the\ncorresponding ResourceClaim by the control plane after creating the\nResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must\nbe set.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "resources": { + "description": "Resources is the total amount of CPU and Memory resources required by all\ncontainers in the pod. It supports specifying Requests and Limits for\n\"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the\nentire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature\ngate.", + "type": "object", + "properties": { + "claims": { + "description": "Claims lists the names of resources, defined in spec.resourceClaims,\nthat are used by this container.\n\nThis is an alpha field and requires enabling the\nDynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.", + "type": "array", + "items": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of\nthe Pod where this field is used. It makes that resource available\ninside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim.\nIf empty, everything from the claim is made available, otherwise\nonly the result of this request.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "restartPolicy": { + "description": "Restart policy for all containers within the pod.\nOne of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.\nDefault to Always.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", + "type": "string" + }, + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used\nto run this pod. If no RuntimeClass resource matches the named class, the pod will not be run.\nIf unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an\nempty definition that uses the default runtime handler.\nMore info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class", + "type": "string" + }, + "schedulerName": { + "description": "If specified, the pod will be dispatched by specified scheduler.\nIf not specified, the pod will be dispatched by default scheduler.", + "type": "string" + }, + "schedulingGates": { + "description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod.\nIf schedulingGates is not empty, the pod will stay in the SchedulingGated state and the\nscheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards.", + "type": "array", + "items": { + "description": "PodSchedulingGate is associated to a Pod to guard its scheduling.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the scheduling gate.\nEach scheduling gate must have a unique name field.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field.", + "type": "object", + "properties": { + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used.\nThe profile must be preconfigured on the node to work.\nMust match the loaded name of the profile.\nMust be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied.\nValid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.", + "type": "string" + } + } + }, + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:\n\n1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.\nIt has no effect on nodes that do not support SELinux or to volumes does not support SELinux.\nValid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime.\nThis may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option.\nThis requires all Pods that share the same volume to use the same SELinux label.\nIt is not possible to share the same volume among privileged and unprivileged Pods.\nEligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes\nwhose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their\nCSIDriver instance. Other volumes are always re-labelled recursively.\n\"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used.\nIf not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes\nand \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied.\nValid options are:\n\nLocalhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.", + "type": "string" + } + } + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in\naddition to the container's primary GID and fsGroup (if specified). If\nthe SupplementalGroupsPolicy feature is enabled, the\nsupplementalGroupsPolicy field determines whether these are in addition\nto or instead of any group memberships defined in the container image.\nIf unspecified, no additional groups are added, though group memberships\ndefined in the container image may still be used, depending on the\nsupplementalGroupsPolicy field.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated.\nValid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used.\n(Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled\nand the container runtime must implement support for this feature.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\nNote that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\nNote that this field cannot be set when spec.os.name is linux.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container.\nAll of a Pod's containers must have the same effective HostProcess value\n(it is not allowed to have a mix of HostProcess containers and non-HostProcess containers).\nIn addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + } + } + }, + "serviceAccount": { + "description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.\nDeprecated: Use serviceAccountName instead.", + "type": "string" + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "string" + }, + "setHostnameAsFQDN": { + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).\nIn Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).\nIn Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN.\nIf a pod does not have FQDN, this has no effect.\nDefault to false.", + "type": "boolean" + }, + "shareProcessNamespace": { + "description": "Share a single process namespace between all of the containers in a pod.\nWhen this is set containers will be able to view and signal processes from other containers\nin the same pod, and the first process in each container will not be assigned PID 1.\nHostPID and ShareProcessNamespace cannot both be set.\nOptional: Default to false.", + "type": "boolean" + }, + "subdomain": { + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\".\nIf not specified, the pod will not have a domainname at all.", + "type": "string" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.\nValue must be non-negative integer. The value zero indicates stop immediately via\nthe kill signal (no opportunity to shut down).\nIf this value is nil, the default grace period will be used instead.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nDefaults to 30 seconds.", + "type": "integer", + "format": "int64" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.", + "type": "string" + }, + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" + }, + "operator": { + "description": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.", + "type": "string" + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "topologySpreadConstraints": { + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology\ndomains. Scheduler will schedule pods in a way which abides by the constraints.\nAll topologySpreadConstraints are ANDed.", + "type": "array", + "items": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "labelSelector": { + "description": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which\nspreading will be calculated. The keys are used to lookup values from the\nincoming pod labels, those key-value labels are ANDed with labelSelector\nto select the group of existing pods over which spreading will be calculated\nfor the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.\nMatchLabelKeys cannot be set when LabelSelector isn't set.\nKeys that don't exist in the incoming pod labels will\nbe ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nThe global minimum is the minimum number of matching pods in an eligible domain\nor zero if the number of eligible domains is less than MinDomains.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 2/2/1:\nIn this case, the global minimum is 1.\n| zone1 | zone2 | zone3 |\n| P P | P P | P |\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2;\nscheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains.\nWhen the number of eligible domains with matching topology keys is less than minDomains,\nPod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed.\nAnd when the number of eligible domains with matching topology keys equals or greater than minDomains,\nthis value has no effect on scheduling.\nAs a result, when the number of eligible domains is less than minDomains,\nscheduler won't schedule more than maxSkew Pods to those domains.\nIf value is nil, the constraint behaves as if MinDomains is equal to 1.\nValid values are integers greater than 0.\nWhen value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same\nlabelSelector spread as 2/2/2:\n| zone1 | zone2 | zone3 |\n| P P | P P | P P |\nThe number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0.\nIn this situation, new pod with the same labelSelector cannot be scheduled,\nbecause computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,\nit will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector\nwhen calculating pod topology spread skew. Options are:\n- Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations.\n- Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.", + "type": "string" + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating\npod topology spread skew. Options are:\n- Honor: nodes without taints, along with tainted nodes for which the incoming pod\nhas a toleration, are included.\n- Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.\nThis is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.", + "type": "string" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nWe define a domain as a particular instance of a topology.\nAlso, we define an eligible domain as a domain whose nodes meet the requirements of\nnodeAffinityPolicy and nodeTaintsPolicy.\ne.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology.\nAnd, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology.\nIt's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assignment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n| zone1 | zone2 | zone3 |\n| P P P | P | P |\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field.", + "type": "string" + } + } + }, + "x-kubernetes-list-map-keys": [ + "topologyKey", + "whenUnsatisfiable" + ], + "x-kubernetes-list-type": "map" + }, + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree\nawsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\nDeprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type\nare redirected to the disk.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.\nDeprecated: AzureFile is deprecated. All operations for the in-tree azureFile type\nare redirected to the file.csi.azure.com CSI driver.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure share Name", + "type": "string" + } + } + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.\nDeprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine.\nDeprecated: Cinder is deprecated. All operations for the in-tree cinder type\nare redirected to the cinder.csi.openstack.org CSI driver.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is optional: points to a secret object containing parameters used to connect\nto OpenStack.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume.\nDefaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + }, + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver.\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `-` where\n`` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.", + "type": "object" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\nWhen the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef,\nand dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified.\nIf the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty\nvolume is desired. This may be any object from a non-empty API group (non\ncore object) or a PersistentVolumeClaim object.\nWhen this field is specified, volume binding will only succeed if the type of\nthe specified object matches some installed volume populator or dynamic\nprovisioner.\nThis field will replace the functionality of the dataSource field and as such\nif both fields are non-empty, they must have the same value. For backwards\ncompatibility, when namespace isn't specified in dataSourceRef,\nboth fields (dataSource and dataSourceRef) will be set to the same\nvalue automatically if one of them is empty and the other is non-empty.\nWhen namespace is specified in dataSourceRef,\ndataSource isn't set to the same value and must be empty.\nThere are three important differences between dataSource and dataSourceRef:\n* While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled.\n(Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced\nNote that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.\n(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "resources": { + "description": "resources represents the minimum resources the volume should have.\nIf RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements\nthat are lower than previous value but must still be higher than capacity recorded in the\nstatus field of the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value. Requests cannot exceed Limits.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + } + } + } + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.\nIf specified, the CSI driver will create or update the volume with the attributes defined\nin the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,\nit can be changed after the claim is created. An empty string value means that no VolumeAttributesClass\nwill be applied to the claim but it's not allowed to reset this field to empty string once it is set.\nIf unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass\nwill be set by the persistentvolume controller if it exists.\nIf the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be\nset to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource\nexists.\nMore info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/\n(Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + } + } + } + } + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "lun is Optional: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\nDeprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: secretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running.\nDeprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "type": "object", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker\nshould be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nDeprecated: GCEPersistentDisk is deprecated. All operations for the in-tree\ngcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision.\nDeprecated: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "directory is the target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + } + }, + "glusterfs": { + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nDeprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "endpoints is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + } + } + }, + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.\nThe volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\n- Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\n- IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation.\nA failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.\nThe types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.\nThe OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.\nThe volume will be mounted read-only (ro) and non-executable files (noexec).\nSub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath).\nThe field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "type": "object", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are:\nAlways: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.\nNever: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.\nIfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used.\nBehaves in the same way as pod.spec.containers[*].image.\nPull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + } + }, + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md", + "type": "object", + "required": [ + "iqn", + "lun", + "targetPortal" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n: will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "name": { + "description": "name of the volume.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "object", + "required": [ + "path", + "server" + ], + "properties": { + "path": { + "description": "path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts.\nDefault false.", + "type": "boolean" + } + } + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.\nDeprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine.\nDeprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type\nare redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate\nis on.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list\nhandles one source.", + "type": "array", + "items": { + "description": "Projection that may be projected along with other supported volume types.\nExactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field\nof ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the\ncombination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written\ninto the pod filesystem. Esoteric PEM features such as inter-block\ncomments and block headers are stripped. Certificates are deduplicated.\nThe ordering of certificates within the file is arbitrary, and Kubelet\nmay change the order over time.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has\neffect if signerName is set. Mutually-exclusive with name. If unset,\ninterpreted as \"match nothing\". If set but empty, interpreted as \"match\neverything\".", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive\nwith signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s)\naren't available. If using name, then the named ClusterTrustBundle is\nallowed not to exist. If using signerName, then the combination of\nsignerName and labelSelector is allowed to match zero\nClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name.\nMutually-exclusive with name. The contents of all selected\nClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", + "x-kubernetes-int-or-string": true + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "secret": { + "description": "secret information about the secret data to project", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the\ntoken into.", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime.\nDeprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "group to map volume access to\nDefault is no group", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to\nDefaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "rbd": { + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.\nDeprecated: RBD is deprecated and the in-tree rbd type is no longer supported.\nMore info: https://examples.k8s.io/volumes/rbd/README.md", + "type": "object", + "required": [ + "image", + "monitors" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "user": { + "description": "user is the rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\nDeprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "type": "object", + "required": [ + "gateway", + "secretRef", + "system" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system\nthat is associated with this volume source.", + "type": "string" + } + } + }, + "secret": { + "description": "secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'.", + "type": "string" + } + } + }, + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\nDeprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.\nDeprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type\nare redirected to the csi.vsphere.vmware.com CSI driver.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + } + } + } + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + } + } + } + }, + "type": { + "description": "Type of service to forward traffic to. Default: `rw`.", + "type": "string", + "enum": [ + "rw", + "ro", + "r" + ] + } + } + }, + "status": { + "description": "Most recently observed status of the Pooler. This data may not be up to\ndate. Populated by the system. Read-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "instances": { + "description": "The number of pods trying to be scheduled", + "type": "integer", + "format": "int32" + }, + "secrets": { + "description": "The resource version of the config object", + "type": "object", + "properties": { + "clientCA": { + "description": "The client CA secret version", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret", + "type": "string" + }, + "version": { + "description": "The ResourceVersion of the secret", + "type": "string" + } + } + }, + "pgBouncerSecrets": { + "description": "The version of the secrets used by PgBouncer", + "type": "object", + "properties": { + "authQuery": { + "description": "The auth query secret version", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret", + "type": "string" + }, + "version": { + "description": "The ResourceVersion of the secret", + "type": "string" + } + } + } + } + }, + "serverCA": { + "description": "The server CA secret version", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret", + "type": "string" + }, + "version": { + "description": "The ResourceVersion of the secret", + "type": "string" + } + } + }, + "serverTLS": { + "description": "The server TLS secret version", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret", + "type": "string" + }, + "version": { + "description": "The ResourceVersion of the secret", + "type": "string" + } + } + } + } + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "Pooler", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.PoolerList": { + "description": "PoolerList is a list of Pooler", + "type": "object", + "required": [ + "items" + ], + "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": "List of poolers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Pooler" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "PoolerList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.Publication": { + "description": "Publication is the Schema for the publications API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "PublicationSpec defines the desired state of Publication", + "type": "object", + "required": [ + "cluster", + "dbname", + "name", + "target" + ], + "properties": { + "cluster": { + "description": "The name of the PostgreSQL cluster that identifies the \"publisher\"", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dbname": { + "description": "The name of the database where the publication will be installed in\nthe \"publisher\" cluster", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "dbname is immutable", + "rule": "self == oldSelf" + } + ] + }, + "name": { + "description": "The name of the publication inside PostgreSQL", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is immutable", + "rule": "self == oldSelf" + } + ] + }, + "parameters": { + "description": "Publication parameters part of the `WITH` clause as expected by\nPostgreSQL `CREATE PUBLICATION` command", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "publicationReclaimPolicy": { + "description": "The policy for end-of-life maintenance of this publication", + "type": "string", + "enum": [ + "delete", + "retain" + ] + }, + "target": { + "description": "Target of the publication as expected by PostgreSQL `CREATE PUBLICATION` command", + "type": "object", + "properties": { + "allTables": { + "description": "Marks the publication as one that replicates changes for all tables\nin the database, including tables created in the future.\nCorresponding to `FOR ALL TABLES` in PostgreSQL.", + "type": "boolean", + "x-kubernetes-validations": [ + { + "message": "allTables is immutable", + "rule": "self == oldSelf" + } + ] + }, + "objects": { + "description": "Just the following schema objects", + "type": "array", + "maxItems": 100000, + "items": { + "description": "PublicationTargetObject is an object to publish", + "type": "object", + "properties": { + "table": { + "description": "Specifies a list of tables to add to the publication. Corresponding\nto `FOR TABLE` in PostgreSQL.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "columns": { + "description": "The columns to publish", + "type": "array", + "items": { + "type": "string" + } + }, + "name": { + "description": "The table name", + "type": "string" + }, + "only": { + "description": "Whether to limit to the table only or include all its descendants", + "type": "boolean" + }, + "schema": { + "description": "The schema name", + "type": "string" + } + } + }, + "tablesInSchema": { + "description": "Marks the publication as one that replicates changes for all tables\nin the specified list of schemas, including tables created in the\nfuture. Corresponding to `FOR TABLES IN SCHEMA` in PostgreSQL.", + "type": "string" + } + }, + "x-kubernetes-validations": [ + { + "message": "tablesInSchema and table are mutually exclusive", + "rule": "(has(self.tablesInSchema) && !has(self.table)) || (!has(self.tablesInSchema) && has(self.table))" + } + ] + }, + "x-kubernetes-validations": [ + { + "message": "specifying a column list when the publication also publishes tablesInSchema is not supported", + "rule": "!(self.exists(o, has(o.table) && has(o.table.columns)) && self.exists(o, has(o.tablesInSchema)))" + } + ] + } + }, + "x-kubernetes-validations": [ + { + "message": "allTables and objects are mutually exclusive", + "rule": "(has(self.allTables) && !has(self.objects)) || (!has(self.allTables) && has(self.objects))" + } + ] + } + } + }, + "status": { + "description": "PublicationStatus defines the observed state of Publication", + "type": "object", + "properties": { + "applied": { + "description": "Applied is true if the publication was reconciled correctly", + "type": "boolean" + }, + "message": { + "description": "Message is the reconciliation output message", + "type": "string" + }, + "observedGeneration": { + "description": "A sequence number representing the latest\ndesired state that was synchronized", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "Publication", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.PublicationList": { + "description": "PublicationList is a list of Publication", + "type": "object", + "required": [ + "items" + ], + "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": "List of publications. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Publication" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "PublicationList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ScheduledBackup": { + "description": "ScheduledBackup is the Schema for the scheduledbackups API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the ScheduledBackup.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "required": [ + "cluster", + "schedule" + ], + "properties": { + "backupOwnerReference": { + "description": "Indicates which ownerReference should be put inside the created backup resources.
\n- none: no owner reference for created backup objects (same behavior as before the field was introduced)
\n- self: sets the Scheduled backup object as owner of the backup
\n- cluster: set the cluster as owner of the backup
", + "type": "string", + "enum": [ + "none", + "self", + "cluster" + ] + }, + "cluster": { + "description": "The cluster to backup", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the referent.", + "type": "string" + } + } + }, + "immediate": { + "description": "If the first backup has to be immediately start after creation or not", + "type": "boolean" + }, + "method": { + "description": "The backup method to be used, possible options are `barmanObjectStore`,\n`volumeSnapshot` or `plugin`. Defaults to: `barmanObjectStore`.", + "type": "string", + "enum": [ + "barmanObjectStore", + "volumeSnapshot", + "plugin" + ] + }, + "online": { + "description": "Whether the default type of backup with volume snapshots is\nonline/hot (`true`, default) or offline/cold (`false`)\nOverrides the default setting specified in the cluster field '.spec.backup.volumeSnapshot.online'", + "type": "boolean" + }, + "onlineConfiguration": { + "description": "Configuration parameters to control the online/hot backup with volume snapshots\nOverrides the default settings specified in the cluster '.backup.volumeSnapshot.onlineConfiguration' stanza", + "type": "object", + "properties": { + "immediateCheckpoint": { + "description": "Control whether the I/O workload for the backup initial checkpoint will\nbe limited, according to the `checkpoint_completion_target` setting on\nthe PostgreSQL server. If set to true, an immediate checkpoint will be\nused, meaning PostgreSQL will complete the checkpoint as soon as\npossible. `false` by default.", + "type": "boolean" + }, + "waitForArchive": { + "description": "If false, the function will return immediately after the backup is completed,\nwithout waiting for WAL to be archived.\nThis behavior is only useful with backup software that independently monitors WAL archiving.\nOtherwise, WAL required to make the backup consistent might be missing and make the backup useless.\nBy default, or when this parameter is true, pg_backup_stop will wait for WAL to be archived when archiving is\nenabled.\nOn a standby, this means that it will wait only when archive_mode = always.\nIf write activity on the primary is low, it may be useful to run pg_switch_wal on the primary in order to trigger\nan immediate segment switch.", + "type": "boolean" + } + } + }, + "pluginConfiguration": { + "description": "Configuration parameters passed to the plugin managing this backup", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is the name of the plugin managing this backup", + "type": "string" + }, + "parameters": { + "description": "Parameters are the configuration parameters passed to the backup\nplugin for this backup", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "schedule": { + "description": "The schedule does not follow the same format used in Kubernetes CronJobs\nas it includes an additional seconds specifier,\nsee https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format", + "type": "string" + }, + "suspend": { + "description": "If this backup is suspended or not", + "type": "boolean" + }, + "target": { + "description": "The policy to decide which instance should perform this backup. If empty,\nit defaults to `cluster.spec.backup.target`.\nAvailable options are empty string, `primary` and `prefer-standby`.\n`primary` to have backups run always on primary instances,\n`prefer-standby` to have backups run preferably on the most updated\nstandby, if available.", + "type": "string", + "enum": [ + "primary", + "prefer-standby" + ] + } + } + }, + "status": { + "description": "Most recently observed status of the ScheduledBackup. This data may not be up\nto date. Populated by the system. Read-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "object", + "properties": { + "lastCheckTime": { + "description": "The latest time the schedule", + "type": "string", + "format": "date-time" + }, + "lastScheduleTime": { + "description": "Information when was the last time that backup was successfully scheduled.", + "type": "string", + "format": "date-time" + }, + "nextScheduleTime": { + "description": "Next time we will run a backup", + "type": "string", + "format": "date-time" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackup", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.ScheduledBackupList": { + "description": "ScheduledBackupList is a list of ScheduledBackup", + "type": "object", + "required": [ + "items" + ], + "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": "List of scheduledbackups. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.ScheduledBackup" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "ScheduledBackupList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.Subscription": { + "description": "Subscription is the Schema for the subscriptions API", + "type": "object", + "required": [ + "metadata", + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "SubscriptionSpec defines the desired state of Subscription", + "type": "object", + "required": [ + "cluster", + "dbname", + "externalClusterName", + "name", + "publicationName" + ], + "properties": { + "cluster": { + "description": "The name of the PostgreSQL cluster that identifies the \"subscriber\"", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "dbname": { + "description": "The name of the database where the publication will be installed in\nthe \"subscriber\" cluster", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "dbname is immutable", + "rule": "self == oldSelf" + } + ] + }, + "externalClusterName": { + "description": "The name of the external cluster with the publication (\"publisher\")", + "type": "string" + }, + "name": { + "description": "The name of the subscription inside PostgreSQL", + "type": "string", + "x-kubernetes-validations": [ + { + "message": "name is immutable", + "rule": "self == oldSelf" + } + ] + }, + "parameters": { + "description": "Subscription parameters part of the `WITH` clause as expected by\nPostgreSQL `CREATE SUBSCRIPTION` command", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "publicationDBName": { + "description": "The name of the database containing the publication on the external\ncluster. Defaults to the one in the external cluster definition.", + "type": "string" + }, + "publicationName": { + "description": "The name of the publication inside the PostgreSQL database in the\n\"publisher\"", + "type": "string" + }, + "subscriptionReclaimPolicy": { + "description": "The policy for end-of-life maintenance of this subscription", + "type": "string", + "enum": [ + "delete", + "retain" + ] + } + } + }, + "status": { + "description": "SubscriptionStatus defines the observed state of Subscription", + "type": "object", + "properties": { + "applied": { + "description": "Applied is true if the subscription was reconciled correctly", + "type": "boolean" + }, + "message": { + "description": "Message is the reconciliation output message", + "type": "string" + }, + "observedGeneration": { + "description": "A sequence number representing the latest\ndesired state that was synchronized", + "type": "integer", + "format": "int64" + } + } + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "Subscription", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.cnpg.postgresql.v1.SubscriptionList": { + "description": "SubscriptionList is a list of Subscription", + "type": "object", + "required": [ + "items" + ], + "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": "List of subscriptions. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.cnpg.postgresql.v1.Subscription" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "postgresql.cnpg.io", + "kind": "SubscriptionList", + "version": "v1" + } + ], + "x-kubernetes-selectable-fields": [] + }, + "io.k8s.api.admissionregistration.v1.AuditAnnotation": { + "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", + "type": "object", + "required": [ + "key", + "valueExpression" + ], + "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.", + "type": "string" + } + } + }, + "io.k8s.api.admissionregistration.v1.ExpressionWarning": { + "description": "ExpressionWarning is a warning information that targets a specific expression.", + "type": "object", + "required": [ + "fieldRef", + "warning" + ], + "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.", + "type": "string" + } + } + }, + "io.k8s.api.admissionregistration.v1.MatchCondition": { + "description": "MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.", + "type": "object", + "required": [ + "name", + "expression" + ], + "properties": { + "expression": { + "description": "Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL 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 admission request(/pkg/apis/admission/types.go#AdmissionRequest). '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.\nDocumentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/\n\nRequired.", + "type": "string" + }, + "name": { + "description": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired.", + "type": "string" + } + } + }, + "io.k8s.api.admissionregistration.v1.MatchResources": { + "description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", + "type": "object", + "properties": { + "excludeResourceRules": { + "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.NamedRuleWithOperations" + }, + "x-kubernetes-list-type": "atomic" + }, + "matchPolicy": { + "description": "matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"\n\nPossible enum values:\n - `\"Equivalent\"` means requests should be sent to the webhook if they modify a resource listed in rules via another API group or version.\n - `\"Exact\"` means requests should only be sent to the webhook if they exactly match a given rule.", + "type": "string", + "enum": [ + "Equivalent", + "Exact" + ] + }, + "namespaceSelector": { + "description": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "objectSelector": { + "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "resourceRules": { + "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.NamedRuleWithOperations" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.admissionregistration.v1.MutatingWebhook": { + "description": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.", + "type": "object", + "required": [ + "name", + "clientConfig", + "sideEffects", + "admissionReviewVersions" + ], + "properties": { + "admissionReviewVersions": { + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "clientConfig": { + "description": "ClientConfig defines how to communicate with the hook. Required", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.WebhookClientConfig" + }, + "failurePolicy": { + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.\n\nPossible enum values:\n - `\"Fail\"` means that an error calling the webhook causes the admission to fail.\n - `\"Ignore\"` means that an error calling the webhook is ignored.", + "type": "string", + "enum": [ + "Fail", + "Ignore" + ] + }, + "matchConditions": { + "description": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. 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\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\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 error is ignored and the webhook is skipped", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MatchCondition" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "matchPolicy": { + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"\n\nPossible enum values:\n - `\"Equivalent\"` means requests should be sent to the webhook if they modify a resource listed in rules via another API group or version.\n - `\"Exact\"` means requests should only be sent to the webhook if they exactly match a given rule.", + "type": "string", + "enum": [ + "Equivalent", + "Exact" + ] + }, + "name": { + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", + "type": "string" + }, + "namespaceSelector": { + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "objectSelector": { + "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "reinvocationPolicy": { + "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".\n\nPossible enum values:\n - `\"IfNeeded\"` indicates that the mutation may be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial mutation call.\n - `\"Never\"` indicates that the mutation must not be called more than once in a single admission evaluation.", + "type": "string", + "enum": [ + "IfNeeded", + "Never" + ] + }, + "rules": { + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.RuleWithOperations" + }, + "x-kubernetes-list-type": "atomic" + }, + "sideEffects": { + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.\n\nPossible enum values:\n - `\"None\"` means that calling the webhook will have no side effects.\n - `\"NoneOnDryRun\"` means that calling the webhook will possibly have side effects, but if the request being reviewed has the dry-run attribute, the side effects will be suppressed.\n - `\"Some\"` means that calling the webhook will possibly have side effects. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.\n - `\"Unknown\"` means that no information is known about the side effects of calling the webhook. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.", + "type": "string", + "enum": [ + "None", + "NoneOnDryRun", + "Some", + "Unknown" + ] + }, + "timeoutSeconds": { + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration": { + "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", + "type": "object", + "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": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhook" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList": { + "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", + "type": "object", + "required": [ + "items" + ], + "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": "List of MutatingWebhookConfiguration.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfigurationList", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.NamedRuleWithOperations": { + "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", + "type": "object", + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "*", + "CONNECT", + "CREATE", + "DELETE", + "UPDATE" + ] + }, + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.admissionregistration.v1.ParamKind": { + "description": "ParamKind is a tuple of Group Kind and Version.", + "type": "object", + "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" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.admissionregistration.v1.ParamRef": { + "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", + "type": "object", + "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": { + "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.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.admissionregistration.v1.RuleWithOperations": { + "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", + "type": "object", + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "*", + "CONNECT", + "CREATE", + "DELETE", + "UPDATE" + ] + }, + "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.", + "type": "array", + "items": { + "type": "string" + }, + "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" + } + } + }, + "io.k8s.api.admissionregistration.v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "type": "object", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + }, + "port": { + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.admissionregistration.v1.TypeChecking": { + "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", + "type": "object", + "properties": { + "expressionWarnings": { + "description": "The type checking warnings for each expression.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ExpressionWarning" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy": { + "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", + "type": "object", + "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": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicySpec" + }, + "status": { + "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/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicy", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.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.", + "type": "object", + "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": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBinding", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList": { + "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", + "type": "object", + "required": [ + "items" + ], + "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": "List of PolicyBinding.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyBindingList", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingSpec": { + "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", + "type": "object", + "properties": { + "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.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MatchResources" + }, + "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.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ParamRef" + }, + "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.", + "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.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Audit", + "Deny", + "Warn" + ] + }, + "x-kubernetes-list-type": "set" + } + } + }, + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList": { + "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", + "type": "object", + "required": [ + "items" + ], + "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": "List of ValidatingAdmissionPolicy.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingAdmissionPolicyList", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicySpec": { + "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", + "type": "object", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.AuditAnnotation" + }, + "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.\n\nPossible enum values:\n - `\"Fail\"` means that an error calling the webhook causes the admission to fail.\n - `\"Ignore\"` means that an error calling the webhook is ignored.", + "type": "string", + "enum": [ + "Fail", + "Ignore" + ] + }, + "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", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MatchCondition" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "matchConstraints": { + "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.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MatchResources" + }, + "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.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ParamKind" + }, + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.Validation" + }, + "x-kubernetes-list-type": "atomic" + }, + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.Variable" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyStatus": { + "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.", + "type": "object", + "properties": { + "conditions": { + "description": "The conditions represent the latest available observations of a policy's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "observedGeneration": { + "description": "The generation observed by the controller.", + "type": "integer", + "format": "int64" + }, + "typeChecking": { + "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.TypeChecking" + } + } + }, + "io.k8s.api.admissionregistration.v1.ValidatingWebhook": { + "description": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.", + "type": "object", + "required": [ + "name", + "clientConfig", + "sideEffects", + "admissionReviewVersions" + ], + "properties": { + "admissionReviewVersions": { + "description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "clientConfig": { + "description": "ClientConfig defines how to communicate with the hook. Required", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.WebhookClientConfig" + }, + "failurePolicy": { + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.\n\nPossible enum values:\n - `\"Fail\"` means that an error calling the webhook causes the admission to fail.\n - `\"Ignore\"` means that an error calling the webhook is ignored.", + "type": "string", + "enum": [ + "Fail", + "Ignore" + ] + }, + "matchConditions": { + "description": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. 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\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\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 error is ignored and the webhook is skipped", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MatchCondition" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "matchPolicy": { + "description": "matchPolicy defines how the \"rules\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.\n\nDefaults to \"Equivalent\"\n\nPossible enum values:\n - `\"Equivalent\"` means requests should be sent to the webhook if they modify a resource listed in rules via another API group or version.\n - `\"Exact\"` means requests should only be sent to the webhook if they exactly match a given rule.", + "type": "string", + "enum": [ + "Equivalent", + "Exact" + ] + }, + "name": { + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", + "type": "string" + }, + "namespaceSelector": { + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "objectSelector": { + "description": "ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "rules": { + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.RuleWithOperations" + }, + "x-kubernetes-list-type": "atomic" + }, + "sideEffects": { + "description": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.\n\nPossible enum values:\n - `\"None\"` means that calling the webhook will have no side effects.\n - `\"NoneOnDryRun\"` means that calling the webhook will possibly have side effects, but if the request being reviewed has the dry-run attribute, the side effects will be suppressed.\n - `\"Some\"` means that calling the webhook will possibly have side effects. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.\n - `\"Unknown\"` means that no information is known about the side effects of calling the webhook. If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.", + "type": "string", + "enum": [ + "None", + "NoneOnDryRun", + "Some", + "Unknown" + ] + }, + "timeoutSeconds": { + "description": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration": { + "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", + "type": "object", + "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": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhook" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList": { + "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", + "type": "object", + "required": [ + "items" + ], + "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": "List of ValidatingWebhookConfiguration.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfigurationList", + "version": "v1" + } + ] + }, + "io.k8s.api.admissionregistration.v1.Validation": { + "description": "Validation specifies the CEL expression which is used to apply the validation.", + "type": "object", + "required": [ + "expression" + ], + "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.", + "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}\".", + "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)+\")\"", + "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.", + "type": "string" + } + } + }, + "io.k8s.api.admissionregistration.v1.Variable": { + "description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.", + "type": "object", + "required": [ + "name", + "expression" + ], + "properties": { + "expression": { + "description": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.", + "type": "string" + }, + "name": { + "description": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.admissionregistration.v1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", + "type": "object", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.", + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, + "io.k8s.api.apps.v1.ControllerRevision": { + "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", + "type": "object", + "required": [ + "revision" + ], + "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" + }, + "data": { + "description": "Data is the serialized representation of the state.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "revision": { + "description": "Revision indicates the revision of the state represented by Data.", + "type": "integer", + "format": "int64" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.ControllerRevisionList": { + "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", + "type": "object", + "required": [ + "items" + ], + "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 ControllerRevisions", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, + "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": { + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ControllerRevisionList", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.DaemonSet": { + "description": "DaemonSet represents the configuration of a daemon set.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetSpec" + }, + "status": { + "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.DaemonSetCondition": { + "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of DaemonSet condition.", + "type": "string" + } + } + }, + "io.k8s.api.apps.v1.DaemonSetList": { + "description": "DaemonSetList is a collection of daemon sets.", + "type": "object", + "required": [ + "items" + ], + "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": "A list of daemon sets.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DaemonSetList", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", + "type": "object", + "required": [ + "selector", + "template" + ], + "properties": { + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetUpdateStrategy" + } + } + }, + "io.k8s.api.apps.v1.DaemonSetStatus": { + "description": "DaemonSetStatus represents the current status of a daemon set.", + "type": "object", + "required": [ + "currentNumberScheduled", + "numberMisscheduled", + "desiredNumberScheduled", + "numberReady" + ], + "properties": { + "collisionCount": { + "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a DaemonSet's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "currentNumberScheduled": { + "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "desiredNumberScheduled": { + "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "numberAvailable": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "numberMisscheduled": { + "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "numberReady": { + "description": "numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.", + "type": "integer", + "format": "int32" + }, + "numberUnavailable": { + "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "The most recent generation observed by the daemon set controller.", + "type": "integer", + "format": "int64" + }, + "updatedNumberScheduled": { + "description": "The total number of nodes that are running updated daemon pod", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.apps.v1.DaemonSetUpdateStrategy": { + "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", + "type": "object", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if type = \"RollingUpdate\".", + "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateDaemonSet" + }, + "type": { + "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.\n\nPossible enum values:\n - `\"OnDelete\"` Replace the old daemons only when it's killed\n - `\"RollingUpdate\"` Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.", + "type": "string", + "enum": [ + "OnDelete", + "RollingUpdate" + ] + } + } + }, + "io.k8s.api.apps.v1.Deployment": { + "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentSpec" + }, + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of deployment condition.", + "type": "string" + } + } + }, + "io.k8s.api.apps.v1.DeploymentList": { + "description": "DeploymentList is a list of Deployments.", + "type": "object", + "required": [ + "items" + ], + "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 Deployments.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, + "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": { + "description": "Standard list metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DeploymentList", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "type": "object", + "required": [ + "selector", + "template" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "paused": { + "description": "Indicates that the deployment is paused.", + "type": "boolean" + }, + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentStrategy", + "x-kubernetes-patch-strategy": "retainKeys" + }, + "template": { + "description": "Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is \"Always\".", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + } + } + }, + "io.k8s.api.apps.v1.DeploymentStatus": { + "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "type": "object", + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "type": "integer", + "format": "int32" + }, + "collisionCount": { + "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a deployment's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "The generation observed by the deployment controller.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.apps.v1.DeploymentStrategy": { + "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "type": "object", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", + "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateDeployment" + }, + "type": { + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.\n\nPossible enum values:\n - `\"Recreate\"` Kill all existing pods before creating new ones.\n - `\"RollingUpdate\"` Replace the old ReplicaSets by new one using rolling update i.e gradually scale down the old ReplicaSets and scale up the new one.", + "type": "string", + "enum": [ + "Recreate", + "RollingUpdate" + ] + } + } + }, + "io.k8s.api.apps.v1.ReplicaSet": { + "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", + "type": "object", + "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": { + "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetSpec" + }, + "status": { + "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.ReplicaSetCondition": { + "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "The last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of replica set condition.", + "type": "string" + } + } + }, + "io.k8s.api.apps.v1.ReplicaSetList": { + "description": "ReplicaSetList is a collection of ReplicaSets.", + "type": "object", + "required": [ + "items" + ], + "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": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ReplicaSetList", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.ReplicaSetSpec": { + "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "type": "object", + "required": [ + "selector" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + } + } + }, + "io.k8s.api.apps.v1.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "type": "object", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.apps.v1.RollingUpdateDaemonSet": { + "description": "Spec to control the desired behavior of daemon set rolling update.", + "type": "object", + "properties": { + "maxSurge": { + "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.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "maxUnavailable": { + "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.k8s.api.apps.v1.RollingUpdateDeployment": { + "description": "Spec to control the desired behavior of rolling update.", + "type": "object", + "properties": { + "maxSurge": { + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "maxUnavailable": { + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy": { + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "type": "object", + "properties": { + "maxUnavailable": { + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "partition": { + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.apps.v1.StatefulSet": { + "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired identities of pods in this set.", + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetSpec" + }, + "status": { + "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.StatefulSetCondition": { + "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of statefulset condition.", + "type": "string" + } + } + }, + "io.k8s.api.apps.v1.StatefulSetList": { + "description": "StatefulSetList is a collection of StatefulSets.", + "type": "object", + "required": [ + "items" + ], + "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 stateful sets.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, + "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": { + "description": "Standard list's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "StatefulSetList", + "version": "v1" + } + ] + }, + "io.k8s.api.apps.v1.StatefulSetOrdinals": { + "description": "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.", + "type": "object", + "properties": { + "start": { + "description": "start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:\n [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).\nIf unset, defaults to 0. Replica indices will be in the range:\n [0, .spec.replicas).", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy": { + "description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.", + "type": "object", + "properties": { + "whenDeleted": { + "description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.", + "type": "string" + }, + "whenScaled": { + "description": "WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.", + "type": "string" + } + } + }, + "io.k8s.api.apps.v1.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "type": "object", + "required": [ + "selector", + "template", + "serviceName" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "ordinals": { + "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested.", + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetOrdinals" + }, + "persistentVolumeClaimRetentionPolicy": { + "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.", + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy" + }, + "podManagementPolicy": { + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.\n\nPossible enum values:\n - `\"OrderedReady\"` will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated. At most one pod will be changed at any time.\n - `\"Parallel\"` will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.", + "type": "string", + "enum": [ + "OrderedReady", + "Parallel" + ] + }, + "replicas": { + "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "serviceName": { + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "type": "string" + }, + "template": { + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format -. For example, a pod in a StatefulSet named \"web\" with index number \"3\" would be named \"web-3\". The only allowed template.spec.restartPolicy value is \"Always\".", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetUpdateStrategy" + }, + "volumeClaimTemplates": { + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.apps.v1.StatefulSetStatus": { + "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "type": "object", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.", + "type": "integer", + "format": "int32" + }, + "collisionCount": { + "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a statefulset's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "currentReplicas": { + "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", + "type": "integer", + "format": "int32" + }, + "currentRevision": { + "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", + "type": "string" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "replicas is the number of Pods created by the StatefulSet controller.", + "type": "integer", + "format": "int32" + }, + "updateRevision": { + "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", + "type": "string" + }, + "updatedReplicas": { + "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.apps.v1.StatefulSetUpdateStrategy": { + "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", + "type": "object", + "properties": { + "rollingUpdate": { + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.", + "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy" + }, + "type": { + "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.\n\nPossible enum values:\n - `\"OnDelete\"` triggers the legacy behavior. Version tracking and ordered rolling restarts are disabled. Pods are recreated from the StatefulSetSpec when they are manually deleted. When a scale operation is performed with this strategy,specification version indicated by the StatefulSet's currentRevision.\n - `\"RollingUpdate\"` indicates that update will be applied to all Pods in the StatefulSet with respect to the StatefulSet ordering constraints. When a scale operation is performed with this strategy, new Pods will be created from the specification version indicated by the StatefulSet's updateRevision.", + "type": "string", + "enum": [ + "OnDelete", + "RollingUpdate" + ] + } + } + }, + "io.k8s.api.authentication.v1.BoundObjectReference": { + "description": "BoundObjectReference is a reference to an object that a token is bound to.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. Valid kinds are 'Pod' and 'Secret'.", + "type": "string" + }, + "name": { + "description": "Name of the referent.", + "type": "string" + }, + "uid": { + "description": "UID of the referent.", + "type": "string" + } + } + }, + "io.k8s.api.authentication.v1.SelfSubjectReview": { + "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "status": { + "description": "Status is filled in by the server with the user attributes.", + "$ref": "#/definitions/io.k8s.api.authentication.v1.SelfSubjectReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authentication.k8s.io", + "kind": "SelfSubjectReview", + "version": "v1" + } + ] + }, + "io.k8s.api.authentication.v1.SelfSubjectReviewStatus": { + "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", + "type": "object", + "properties": { + "userInfo": { + "description": "User attributes of the user making this request.", + "$ref": "#/definitions/io.k8s.api.authentication.v1.UserInfo" + } + } + }, + "io.k8s.api.authentication.v1.TokenRequest": { + "description": "TokenRequest requests a token for a given service account.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the token can be authenticated.", + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenRequestStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authentication.k8s.io", + "kind": "TokenRequest", + "version": "v1" + } + ] + }, + "io.k8s.api.authentication.v1.TokenRequestSpec": { + "description": "TokenRequestSpec contains client provided parameters of a token request.", + "type": "object", + "required": [ + "audiences" + ], + "properties": { + "audiences": { + "description": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "boundObjectRef": { + "description": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.", + "$ref": "#/definitions/io.k8s.api.authentication.v1.BoundObjectReference" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.authentication.v1.TokenRequestStatus": { + "description": "TokenRequestStatus is the result of a token request.", + "type": "object", + "required": [ + "token", + "expirationTimestamp" + ], + "properties": { + "expirationTimestamp": { + "description": "ExpirationTimestamp is the time of expiration of the returned token.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "token": { + "description": "Token is the opaque bearer token.", + "type": "string" + } + } + }, + "io.k8s.api.authentication.v1.TokenReview": { + "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request can be authenticated.", + "$ref": "#/definitions/io.k8s.api.authentication.v1.TokenReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" + } + ] + }, + "io.k8s.api.authentication.v1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", + "type": "object", + "properties": { + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "token": { + "description": "Token is the opaque bearer token.", + "type": "string" + } + } + }, + "io.k8s.api.authentication.v1.TokenReviewStatus": { + "description": "TokenReviewStatus is the result of the token authentication request.", + "type": "object", + "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "authenticated": { + "description": "Authenticated indicates that the token was associated with a known user.", + "type": "boolean" + }, + "error": { + "description": "Error indicates that the token couldn't be checked", + "type": "string" + }, + "user": { + "description": "User is the UserInfo associated with the provided token.", + "$ref": "#/definitions/io.k8s.api.authentication.v1.UserInfo" + } + } + }, + "io.k8s.api.authentication.v1.UserInfo": { + "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "type": "object", + "properties": { + "extra": { + "description": "Any additional information provided by the authenticator.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "groups": { + "description": "The names of groups this user is a part of.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "uid": { + "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", + "type": "string" + }, + "username": { + "description": "The name that uniquely identifies this user among all active users.", + "type": "string" + } + } + }, + "io.k8s.api.authorization.v1.FieldSelectorAttributes": { + "description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", + "type": "object", + "properties": { + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.authorization.v1.LabelSelectorAttributes": { + "description": "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", + "type": "object", + "properties": { + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.authorization.v1.LocalSubjectAccessReview": { + "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted.", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" + } + ] + }, + "io.k8s.api.authorization.v1.NonResourceAttributes": { + "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", + "type": "object", + "properties": { + "path": { + "description": "Path is the URL path of the request", + "type": "string" + }, + "verb": { + "description": "Verb is the standard HTTP verb", + "type": "string" + } + } + }, + "io.k8s.api.authorization.v1.NonResourceRule": { + "description": "NonResourceRule holds information that describes a rule for the non-resource", + "type": "object", + "required": [ + "verbs" + ], + "properties": { + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.authorization.v1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "type": "object", + "properties": { + "fieldSelector": { + "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).", + "$ref": "#/definitions/io.k8s.api.authorization.v1.FieldSelectorAttributes" + }, + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", + "type": "string" + }, + "labelSelector": { + "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).", + "$ref": "#/definitions/io.k8s.api.authorization.v1.LabelSelectorAttributes" + }, + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", + "type": "string" + }, + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", + "type": "string" + }, + "subresource": { + "description": "Subresource is one of the existing resource types. \"\" means none.", + "type": "string" + }, + "verb": { + "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "string" + }, + "version": { + "description": "Version is the API Version of the Resource. \"*\" means all.", + "type": "string" + } + } + }, + "io.k8s.api.authorization.v1.ResourceRule": { + "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "object", + "required": [ + "verbs" + ], + "properties": { + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + }, + "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. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.authorization.v1.SelfSubjectAccessReview": { + "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated. user and groups must be empty", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + } + ] + }, + "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec": { + "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "type": "object", + "properties": { + "nonResourceAttributes": { + "description": "NonResourceAttributes describes information for a non-resource access request", + "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes" + }, + "resourceAttributes": { + "description": "ResourceAuthorizationAttributes describes information for a resource access request", + "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes" + } + } + }, + "io.k8s.api.authorization.v1.SelfSubjectRulesReview": { + "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated.", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates the set of actions a user can perform.", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectRulesReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" + } + ] + }, + "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec": { + "description": "SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.", + "type": "object", + "properties": { + "namespace": { + "description": "Namespace to evaluate rules for. Required.", + "type": "string" + } + } + }, + "io.k8s.api.authorization.v1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/io.k8s.api.authorization.v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" + } + ] + }, + "io.k8s.api.authorization.v1.SubjectAccessReviewSpec": { + "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", + "type": "object", + "properties": { + "extra": { + "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "groups": { + "description": "Groups is the groups you're testing for.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "nonResourceAttributes": { + "description": "NonResourceAttributes describes information for a non-resource access request", + "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceAttributes" + }, + "resourceAttributes": { + "description": "ResourceAuthorizationAttributes describes information for a resource access request", + "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceAttributes" + }, + "uid": { + "description": "UID information about the requesting user.", + "type": "string" + }, + "user": { + "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups", + "type": "string" + } + } + }, + "io.k8s.api.authorization.v1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", + "type": "object", + "required": [ + "allowed" + ], + "properties": { + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" + }, + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "type": "boolean" + }, + "evaluationError": { + "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", + "type": "string" + }, + "reason": { + "description": "Reason is optional. It indicates why a request was allowed or denied.", + "type": "string" + } + } + }, + "io.k8s.api.authorization.v1.SubjectRulesReviewStatus": { + "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", + "type": "object", + "required": [ + "resourceRules", + "nonResourceRules", + "incomplete" + ], + "properties": { + "evaluationError": { + "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", + "type": "string" + }, + "incomplete": { + "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", + "type": "boolean" + }, + "nonResourceRules": { + "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.NonResourceRule" + }, + "x-kubernetes-list-type": "atomic" + }, + "resourceRules": { + "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.ResourceRule" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.autoscaling.v1.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "apiVersion is the API version of the referent", + "type": "string" + }, + "kind": { + "description": "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler": { + "description": "configuration of a horizontal pod autoscaler.", + "type": "object", + "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": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec" + }, + "status": { + "description": "status is the current information about the autoscaler.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + } + ] + }, + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList": { + "description": "list of horizontal pod autoscaler objects.", + "type": "object", + "required": [ + "items" + ], + "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 horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, + "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": { + "description": "Standard list metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v1" + } + ] + }, + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec": { + "description": "specification of a horizontal pod autoscaler.", + "type": "object", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], + "properties": { + "maxReplicas": { + "description": "maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.", + "type": "integer", + "format": "int32" + }, + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", + "type": "integer", + "format": "int32" + }, + "scaleTargetRef": { + "description": "reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.CrossVersionObjectReference" + }, + "targetCPUUtilizationPercentage": { + "description": "targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified the default autoscaling policy will be used.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus": { + "description": "current status of a horizontal pod autoscaler", + "type": "object", + "required": [ + "currentReplicas", + "desiredReplicas" + ], + "properties": { + "currentCPUUtilizationPercentage": { + "description": "currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.", + "type": "integer", + "format": "int32" + }, + "currentReplicas": { + "description": "currentReplicas is the current number of replicas of pods managed by this autoscaler.", + "type": "integer", + "format": "int32" + }, + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler.", + "type": "integer", + "format": "int32" + }, + "lastScaleTime": { + "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.autoscaling.v1.Scale": { + "description": "Scale represents a scaling request for a resource.", + "type": "object", + "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": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleSpec" + }, + "status": { + "description": "status is the current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.ScaleStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + ] + }, + "io.k8s.api.autoscaling.v1.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource.", + "type": "object", + "properties": { + "replicas": { + "description": "replicas is the desired number of instances for the scaled object.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.autoscaling.v1.ScaleStatus": { + "description": "ScaleStatus represents the current status of a scale subresource.", + "type": "object", + "required": [ + "replicas" + ], + "properties": { + "replicas": { + "description": "replicas is the actual number of observed instances of the scaled object.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "selector is the label query over pods that should match the replicas count. This is same as the label selector but in the string format to avoid introspection by clients. The string will be in the same format as the query-param syntax. More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2.ContainerResourceMetricSource": { + "description": "ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "type": "object", + "required": [ + "name", + "target", + "container" + ], + "properties": { + "container": { + "description": "container is the name of the container in the pods of the scaling target", + "type": "string" + }, + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2.ContainerResourceMetricStatus": { + "description": "ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "type": "object", + "required": [ + "name", + "current", + "container" + ], + "properties": { + "container": { + "description": "container is the name of the container in the pods of the scaling target", + "type": "string" + }, + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus" + }, + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "apiVersion is the API version of the referent", + "type": "string" + }, + "kind": { + "description": "kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "type": "object", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "type": "object", + "required": [ + "metric", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier" + } + } + }, + "io.k8s.api.autoscaling.v2.HPAScalingPolicy": { + "description": "HPAScalingPolicy is a single policy which must hold true for a specified past interval.", + "type": "object", + "required": [ + "type", + "value", + "periodSeconds" + ], + "properties": { + "periodSeconds": { + "description": "periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is used to specify the scaling policy.", + "type": "string" + }, + "value": { + "description": "value contains the amount of change which is permitted by the policy. It must be greater than zero", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.autoscaling.v2.HPAScalingRules": { + "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.", + "type": "object", + "properties": { + "policies": { + "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HPAScalingPolicy" + }, + "x-kubernetes-list-type": "atomic" + }, + "selectPolicy": { + "description": "selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.", + "type": "string" + }, + "stabilizationWindowSeconds": { + "description": "stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler": { + "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", + "type": "object", + "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": { + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerSpec" + }, + "status": { + "description": "status is the current information about the autoscaler.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2" + } + ] + }, + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior": { + "description": "HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).", + "type": "object", + "properties": { + "scaleDown": { + "description": "scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HPAScalingRules" + }, + "scaleUp": { + "description": "scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:\n * increase no more than 4 pods per 60 seconds\n * double the number of pods per 60 seconds\nNo stabilization is used.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HPAScalingRules" + } + } + }, + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message is a human-readable explanation containing details about the transition", + "type": "string" + }, + "reason": { + "description": "reason is the reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", + "type": "object", + "required": [ + "items" + ], + "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 horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler" + } + }, + "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": { + "description": "metadata is the standard list metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2" + } + ] + }, + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "type": "object", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], + "properties": { + "behavior": { + "description": "behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior" + }, + "maxReplicas": { + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", + "type": "integer", + "format": "int32" + }, + "metrics": { + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.", + "type": "integer", + "format": "int32" + }, + "scaleTargetRef": { + "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.CrossVersionObjectReference" + } + } + }, + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", + "type": "object", + "required": [ + "desiredReplicas" + ], + "properties": { + "conditions": { + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "lastScaleTime": { + "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.autoscaling.v2.MetricIdentifier": { + "description": "MetricIdentifier defines the name and optionally selector for a metric", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name is the name of the given metric", + "type": "string" + }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + } + } + }, + "io.k8s.api.autoscaling.v2.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", + "type": "object", + "required": [ + "type" + ], + "properties": { + "containerResource": { + "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ContainerResourceMetricSource" + }, + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ExternalMetricSource" + }, + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ObjectMetricSource" + }, + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.PodsMetricSource" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ResourceMetricSource" + }, + "type": { + "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "containerResource": { + "description": "container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ContainerResourceMetricStatus" + }, + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ExternalMetricStatus" + }, + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ObjectMetricStatus" + }, + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.PodsMetricStatus" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ResourceMetricStatus" + }, + "type": { + "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "type": "string" + } + } + }, + "io.k8s.api.autoscaling.v2.MetricTarget": { + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", + "type": "object", + "required": [ + "type" + ], + "properties": { + "averageUtilization": { + "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "type": { + "description": "type represents whether the metric type is Utilization, Value, or AverageValue", + "type": "string" + }, + "value": { + "description": "value is the target value of the metric (as a quantity).", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.autoscaling.v2.MetricValueStatus": { + "description": "MetricValueStatus holds the current value for a metric", + "type": "object", + "properties": { + "averageUtilization": { + "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "value": { + "description": "value is the current value of the metric (as a quantity).", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.autoscaling.v2.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "type": "object", + "required": [ + "describedObject", + "target", + "metric" + ], + "properties": { + "describedObject": { + "description": "describedObject specifies the descriptions of a object,such as kind,name apiVersion", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "type": "object", + "required": [ + "metric", + "current", + "describedObject" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus" + }, + "describedObject": { + "description": "DescribedObject specifies the descriptions of a object,such as kind,name apiVersion", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier" + } + } + }, + "io.k8s.api.autoscaling.v2.PodsMetricSource": { + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "type": "object", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2.PodsMetricStatus": { + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", + "type": "object", + "required": [ + "metric", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricIdentifier" + } + } + }, + "io.k8s.api.autoscaling.v2.ResourceMetricSource": { + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "type": "object", + "required": [ + "name", + "target" + ], + "properties": { + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricTarget" + } + } + }, + "io.k8s.api.autoscaling.v2.ResourceMetricStatus": { + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "type": "object", + "required": [ + "name", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/io.k8s.api.autoscaling.v2.MetricValueStatus" + }, + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + } + } + }, + "io.k8s.api.batch.v1.CronJob": { + "description": "CronJob represents the configuration of a single cron job.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobSpec" + }, + "status": { + "description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJobStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "CronJob", + "version": "v1" + } + ] + }, + "io.k8s.api.batch.v1.CronJobList": { + "description": "CronJobList is a collection of cron jobs.", + "type": "object", + "required": [ + "items" + ], + "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 CronJobs.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "CronJobList", + "version": "v1" + } + ] + }, + "io.k8s.api.batch.v1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "type": "object", + "required": [ + "schedule", + "jobTemplate" + ], + "properties": { + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are:\n\n- \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one\n\nPossible enum values:\n - `\"Allow\"` allows CronJobs to run concurrently.\n - `\"Forbid\"` forbids concurrent runs, skipping next run if previous hasn't finished yet.\n - `\"Replace\"` cancels currently running job and replaces it with a new one.", + "type": "string", + "enum": [ + "Allow", + "Forbid", + "Replace" + ] + }, + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "jobTemplate": { + "description": "Specifies the job that will be created when executing a CronJob.", + "$ref": "#/definitions/io.k8s.api.batch.v1.JobTemplateSpec" + }, + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "type": "string" + }, + "startingDeadlineSeconds": { + "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", + "type": "integer", + "format": "int64" + }, + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.", + "type": "integer", + "format": "int32" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" + }, + "timeZone": { + "description": "The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones", + "type": "string" + } + } + }, + "io.k8s.api.batch.v1.CronJobStatus": { + "description": "CronJobStatus represents the current state of a cron job.", + "type": "object", + "properties": { + "active": { + "description": "A list of pointers to currently running jobs.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "lastScheduleTime": { + "description": "Information when was the last time the job was successfully scheduled.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastSuccessfulTime": { + "description": "Information when was the last time the job successfully completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.api.batch.v1.Job": { + "description": "Job represents the configuration of a single job.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec" + }, + "status": { + "description": "Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.batch.v1.JobStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "Job", + "version": "v1" + } + ] + }, + "io.k8s.api.batch.v1.JobCondition": { + "description": "JobCondition describes current state of a job.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastProbeTime": { + "description": "Last time the condition was checked.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastTransitionTime": { + "description": "Last time the condition transit from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "(brief) reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of job condition, Complete or Failed.", + "type": "string" + } + } + }, + "io.k8s.api.batch.v1.JobList": { + "description": "JobList is a collection of jobs.", + "type": "object", + "required": [ + "items" + ], + "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 Jobs.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "batch", + "kind": "JobList", + "version": "v1" + } + ] + }, + "io.k8s.api.batch.v1.JobSpec": { + "description": "JobSpec describes how the job execution will look like.", + "type": "object", + "required": [ + "template" + ], + "properties": { + "activeDeadlineSeconds": { + "description": "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.", + "type": "integer", + "format": "int64" + }, + "backoffLimit": { + "description": "Specifies the number of retries before marking this job failed. Defaults to 6", + "type": "integer", + "format": "int32" + }, + "backoffLimitPerIndex": { + "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", + "type": "integer", + "format": "int32" + }, + "completionMode": { + "description": "completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.\n\n`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.\n\n`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.\n\nMore completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.\n\nPossible enum values:\n - `\"Indexed\"` is a Job completion mode. In this mode, the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1). The Job is considered complete when a Pod completes for each completion index.\n - `\"NonIndexed\"` is a Job completion mode. In this mode, the Job is considered complete when there have been .spec.completions successfully completed Pods. Pod completions are homologous to each other.", + "type": "string", + "enum": [ + "Indexed", + "NonIndexed" + ] + }, + "completions": { + "description": "Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "type": "integer", + "format": "int32" + }, + "managedBy": { + "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).", + "type": "string" + }, + "manualSelector": { + "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", + "type": "boolean" + }, + "maxFailedIndexes": { + "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", + "type": "integer", + "format": "int32" + }, + "parallelism": { + "description": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "type": "integer", + "format": "int32" + }, + "podFailurePolicy": { + "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.", + "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy" + }, + "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.\n\nPossible enum values:\n - `\"Failed\"` means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.\n - `\"TerminatingOrFailed\"` means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed.", + "type": "string", + "enum": [ + "Failed", + "TerminatingOrFailed" + ] + }, + "selector": { + "description": "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "successPolicy": { + "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).", + "$ref": "#/definitions/io.k8s.api.batch.v1.SuccessPolicy" + }, + "suspend": { + "description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.", + "type": "boolean" + }, + "template": { + "description": "Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are \"Never\" or \"OnFailure\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + }, + "ttlSecondsAfterFinished": { + "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.batch.v1.JobStatus": { + "description": "JobStatus represents the current state of a Job.", + "type": "object", + "properties": { + "active": { + "description": "The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.", + "type": "integer", + "format": "int32" + }, + "completedIndexes": { + "description": "completedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\".", + "type": "string" + }, + "completionTime": { + "description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true.\n\nA job is considered finished when it is in a terminal condition, either \"Complete\" or \"Failed\". A Job cannot have both the \"Complete\" and \"Failed\" conditions. Additionally, it cannot be in the \"Complete\" and \"FailureTarget\" conditions. The \"Complete\", \"Failed\" and \"FailureTarget\" conditions cannot be disabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.JobCondition" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "failed": { + "description": "The number of pods which reached phase Failed. The value increases monotonically.", + "type": "integer", + "format": "int32" + }, + "failedIndexes": { + "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", + "type": "string" + }, + "ready": { + "description": "The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).", + "type": "integer", + "format": "int32" + }, + "startTime": { + "description": "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.\n\nOnce set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "succeeded": { + "description": "The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.", + "type": "integer", + "format": "int32" + }, + "terminating": { + "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).", + "type": "integer", + "format": "int32" + }, + "uncountedTerminatedPods": { + "description": "uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.\n\nThe job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:\n\n1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding\n counter.\n\nOld jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.", + "$ref": "#/definitions/io.k8s.api.batch.v1.UncountedTerminatedPods" + } + } + }, + "io.k8s.api.batch.v1.JobTemplateSpec": { + "description": "JobTemplateSpec describes the data a Job should have when created from a template", + "type": "object", + "properties": { + "metadata": { + "description": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.batch.v1.JobSpec" + } + } + }, + "io.k8s.api.batch.v1.PodFailurePolicy": { + "description": "PodFailurePolicy describes how failed pods influence the backoffLimit.", + "type": "object", + "required": [ + "rules" + ], + "properties": { + "rules": { + "description": "A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicyRule" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement": { + "description": "PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.", + "type": "object", + "required": [ + "operator", + "values" + ], + "properties": { + "containerName": { + "description": "Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.", + "type": "string" + }, + "operator": { + "description": "Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:\n\n- In: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is in the set of specified values.\n- NotIn: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is not in the set of specified values.\nAdditional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.\n\nPossible enum values:\n - `\"In\"`\n - `\"NotIn\"`", + "type": "string", + "enum": [ + "In", + "NotIn" + ] + }, + "values": { + "description": "Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.", + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "x-kubernetes-list-type": "set" + } + } + }, + "io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern": { + "description": "PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "status": { + "description": "Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.", + "type": "string" + }, + "type": { + "description": "Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.", + "type": "string" + } + } + }, + "io.k8s.api.batch.v1.PodFailurePolicyRule": { + "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.", + "type": "object", + "required": [ + "action" + ], + "properties": { + "action": { + "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.\n\nPossible enum values:\n - `\"Count\"` This is an action which might be taken on a pod failure - the pod failure is handled in the default way - the counter towards .backoffLimit, represented by the job's .status.failed field, is incremented.\n - `\"FailIndex\"` This is an action which might be taken on a pod failure - mark the Job's index as failed to avoid restarts within this index. This action can only be used when backoffLimitPerIndex is set. This value is beta-level.\n - `\"FailJob\"` This is an action which might be taken on a pod failure - mark the pod's job as Failed and terminate all running pods.\n - `\"Ignore\"` This is an action which might be taken on a pod failure - the counter towards .backoffLimit, represented by the job's .status.failed field, is not incremented and a replacement pod is created.", + "type": "string", + "enum": [ + "Count", + "FailIndex", + "FailJob", + "Ignore" + ] + }, + "onExitCodes": { + "description": "Represents the requirement on the container exit codes.", + "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement" + }, + "onPodConditions": { + "description": "Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.batch.v1.SuccessPolicy": { + "description": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.", + "type": "object", + "required": [ + "rules" + ], + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.batch.v1.SuccessPolicyRule" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.batch.v1.SuccessPolicyRule": { + "description": "SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified.", + "type": "object", + "properties": { + "succeededCount": { + "description": "succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is \"1-4\", succeededCount is \"3\", and completed indexes are \"1\", \"3\", and \"5\", the Job isn't declared as succeeded because only \"1\" and \"3\" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.", + "type": "integer", + "format": "int32" + }, + "succeededIndexes": { + "description": "succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to \".spec.completions-1\" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". When this field is null, this field doesn't default to any value and is never evaluated at any time.", + "type": "string" + } + } + }, + "io.k8s.api.batch.v1.UncountedTerminatedPods": { + "description": "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.", + "type": "object", + "properties": { + "failed": { + "description": "failed holds UIDs of failed Pods.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "succeeded": { + "description": "succeeded holds UIDs of succeeded Pods.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + } + } + }, + "io.k8s.api.certificates.v1.CertificateSigningRequest": { + "description": "CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.\n\nKubelets use this API to obtain:\n 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName).\n 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName).\n\nThis API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers.", + "type": "object", + "required": [ + "spec" + ], + "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/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec contains the certificate request, and is immutable after creation. Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.", + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestSpec" + }, + "status": { + "description": "status contains information about whether the request is approved or denied, and the certificate issued by the signer, or the failure condition indicating signer failure.", + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1" + } + ] + }, + "io.k8s.api.certificates.v1.CertificateSigningRequestCondition": { + "description": "CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastUpdateTime": { + "description": "lastUpdateTime is the time of the last update to this condition", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message contains a human readable message with details about the request state", + "type": "string" + }, + "reason": { + "description": "reason indicates a brief reason for the request state", + "type": "string" + }, + "status": { + "description": "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".", + "type": "string" + }, + "type": { + "description": "type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\".\n\nAn \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer.\n\nA \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer.\n\nA \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate.\n\nApproved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added.\n\nOnly one condition of a given type is allowed.", + "type": "string" + } + } + }, + "io.k8s.api.certificates.v1.CertificateSigningRequestList": { + "description": "CertificateSigningRequestList is a collection of CertificateSigningRequest objects", + "type": "object", + "required": [ + "items" + ], + "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 CertificateSigningRequest objects", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, + "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/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequestList", + "version": "v1" + } + ] + }, + "io.k8s.api.certificates.v1.CertificateSigningRequestSpec": { + "description": "CertificateSigningRequestSpec contains the certificate request.", + "type": "object", + "required": [ + "request", + "signerName" + ], + "properties": { + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.\n\nCertificate signers may not honor this field for various reasons:\n\n 1. Old signer that is unaware of the field (such as the in-tree\n implementations prior to v1.22)\n 2. Signer whose configured maximum is shorter than the requested duration\n 3. Signer whose configured minimum is longer than the requested duration\n\nThe minimum valid value for expirationSeconds is 600, i.e. 10 minutes.", + "type": "integer", + "format": "int32" + }, + "extra": { + "description": "extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "groups": { + "description": "groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "request": { + "description": "request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded.", + "type": "string", + "format": "byte", + "x-kubernetes-list-type": "atomic" + }, + "signerName": { + "description": "signerName indicates the requested signer, and is a qualified name.\n\nList/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector.\n\nWell-known Kubernetes signers are:\n 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver.\n Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver.\n Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.\n Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager.\n\nMore details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers\n\nCustom signerNames can also be specified. The signer defines:\n 1. Trust distribution: how trust (CA bundles) are distributed.\n 2. Permitted subjects: and behavior when a disallowed subject is requested.\n 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.\n 4. Required, permitted, or forbidden key usages / extended key usages.\n 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.\n 6. Whether or not requests for CA certificates are allowed.", + "type": "string" + }, + "uid": { + "description": "uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", + "type": "string" + }, + "usages": { + "description": "usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\".\n\nValid values are:\n \"signing\", \"digital signature\", \"content commitment\",\n \"key encipherment\", \"key agreement\", \"data encipherment\",\n \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\",\n \"server auth\", \"client auth\",\n \"code signing\", \"email protection\", \"s/mime\",\n \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\",\n \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\"", + "type": "array", + "items": { + "type": "string", + "enum": [ + "any", + "cert sign", + "client auth", + "code signing", + "content commitment", + "crl sign", + "data encipherment", + "decipher only", + "digital signature", + "email protection", + "encipher only", + "ipsec end system", + "ipsec tunnel", + "ipsec user", + "key agreement", + "key encipherment", + "microsoft sgc", + "netscape sgc", + "ocsp signing", + "s/mime", + "server auth", + "signing", + "timestamping" + ] + }, + "x-kubernetes-list-type": "atomic" + }, + "username": { + "description": "username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable.", + "type": "string" + } + } + }, + "io.k8s.api.certificates.v1.CertificateSigningRequestStatus": { + "description": "CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate.", + "type": "object", + "properties": { + "certificate": { + "description": "certificate is populated with an issued certificate by the signer after an Approved condition is present. 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. certificate must contain one or more PEM blocks.\n 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data\n must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.\n 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated,\n to allow for explanatory text as described in section 5.2 of RFC7468.\n\nIf more than one PEM 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.\n\nThe certificate is encoded in PEM format.\n\nWhen serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:\n\n base64(\n -----BEGIN CERTIFICATE-----\n ...\n -----END CERTIFICATE-----\n )", + "type": "string", + "format": "byte", + "x-kubernetes-list-type": "atomic" + }, + "conditions": { + "description": "conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\".", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequestCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + } + }, + "io.k8s.api.coordination.v1.Lease": { + "description": "Lease defines a lease concept.", + "type": "object", + "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": { + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.coordination.v1.LeaseSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1" + } + ] + }, + "io.k8s.api.coordination.v1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", + "type": "object", + "required": [ + "items" + ], + "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 list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1" + } + ] + }, + "io.k8s.api.coordination.v1.LeaseSpec": { + "description": "LeaseSpec is a specification of a Lease.", + "type": "object", + "properties": { + "acquireTime": { + "description": "acquireTime is a time when the current lease was acquired.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + }, + "holderIdentity": { + "description": "holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.", + "type": "string" + }, + "leaseDurationSeconds": { + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.", + "type": "integer", + "format": "int32" + }, + "leaseTransitions": { + "description": "leaseTransitions is the number of transitions of a lease between holders.", + "type": "integer", + "format": "int32" + }, + "preferredHolder": { + "description": "PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.", + "type": "string" + }, + "renewTime": { + "description": "renewTime is a time when the current holder of a lease has last updated the lease.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + }, + "strategy": { + "description": "Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Affinity": { + "description": "Affinity is a group of affinity scheduling rules.", + "type": "object", + "properties": { + "nodeAffinity": { + "description": "Describes node affinity scheduling rules for the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAffinity" + }, + "podAffinity": { + "description": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinity" + }, + "podAntiAffinity": { + "description": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAntiAffinity" + } + } + }, + "io.k8s.api.core.v1.AppArmorProfile": { + "description": "AppArmorProfile defines a pod or container's AppArmor settings.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".", + "type": "string" + }, + "type": { + "description": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.\n\nPossible enum values:\n - `\"Localhost\"` indicates that a profile pre-loaded on the node should be used.\n - `\"RuntimeDefault\"` indicates that the container runtime's default AppArmor profile should be used.\n - `\"Unconfined\"` indicates that no AppArmor profile should be enforced.", + "type": "string", + "enum": [ + "Localhost", + "RuntimeDefault", + "Unconfined" + ] + } + }, + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "io.k8s.api.core.v1.AttachedVolume": { + "description": "AttachedVolume describes a volume attached to a node", + "type": "object", + "required": [ + "name", + "devicePath" + ], + "properties": { + "devicePath": { + "description": "DevicePath represents the device path where the volume should be available", + "type": "string" + }, + "name": { + "description": "Name of the attached volume", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.AzureDiskVolumeSource": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "type": "object", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.\n\nPossible enum values:\n - `\"None\"`\n - `\"ReadOnly\"`\n - `\"ReadWrite\"`", + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + "diskName": { + "description": "diskName is the Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "diskURI is the URI of data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "fsType is Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "kind": { + "description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared\n\nPossible enum values:\n - `\"Dedicated\"`\n - `\"Managed\"`\n - `\"Shared\"`", + "type": "string", + "enum": [ + "Dedicated", + "Managed", + "Shared" + ] + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.AzureFilePersistentVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "secretNamespace": { + "description": "secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure Share Name", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.AzureFileVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "type": "object", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "shareName is the azure share Name", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Binding": { + "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.", + "type": "object", + "required": [ + "target" + ], + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "target": { + "description": "The target object that you want to bind to the standard object.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Binding", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.CSIPersistentVolumeSource": { + "description": "Represents storage that is managed by an external CSI volume driver", + "type": "object", + "required": [ + "driver", + "volumeHandle" + ], + "properties": { + "controllerExpandSecretRef": { + "description": "controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "controllerPublishSecretRef": { + "description": "controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "driver": { + "description": "driver is the name of the driver to use for this volume. Required.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", + "type": "string" + }, + "nodeExpandSecretRef": { + "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "nodeStageSecretRef": { + "description": "nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "readOnly": { + "description": "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes of the volume to publish.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "volumeHandle": { + "description": "volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.CSIVolumeSource": { + "description": "Represents a source location of a volume to mount, managed by an external CSI driver", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.", + "type": "string" + }, + "fsType": { + "description": "fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "readOnly": { + "description": "readOnly specifies a read-only configuration for the volume. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "io.k8s.api.core.v1.Capabilities": { + "description": "Adds and removes POSIX capabilities from running containers.", + "type": "object", + "properties": { + "add": { + "description": "Added capabilities", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "drop": { + "description": "Removed capabilities", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.CephFSPersistentVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "user": { + "description": "user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.CephFSVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "user": { + "description": "user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.CinderPersistentVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.CinderVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "volumeID": { + "description": "volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ClientIPConfig": { + "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", + "type": "object", + "properties": { + "timeoutSeconds": { + "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.core.v1.ClusterTrustBundleProjection": { + "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "labelSelector": { + "description": "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\".", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ComponentCondition": { + "description": "Information about the condition of a component.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "error": { + "description": "Condition error code for a component. For example, a health check error code.", + "type": "string" + }, + "message": { + "description": "Message about the condition for a component. For example, information about a health check.", + "type": "string" + }, + "status": { + "description": "Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\".", + "type": "string" + }, + "type": { + "description": "Type of condition for a component. Valid value: \"Healthy\"", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ComponentStatus": { + "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+", + "type": "object", + "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" + }, + "conditions": { + "description": "List of component conditions observed", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ComponentStatus", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ComponentStatusList": { + "description": "Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+", + "type": "object", + "required": [ + "items" + ], + "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": "List of ComponentStatus objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ComponentStatus" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ComponentStatusList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ConfigMap": { + "description": "ConfigMap holds configuration data for pods to consume.", + "type": "object", + "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" + }, + "binaryData": { + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, + "data": { + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.", + "type": "boolean" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ConfigMap", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ConfigMapEnvSource": { + "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.ConfigMapKeySelector": { + "description": "Selects a key from a ConfigMap.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key to select.", + "type": "string" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the ConfigMap or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ConfigMapList": { + "description": "ConfigMapList is a resource containing a list of ConfigMap objects.", + "type": "object", + "required": [ + "items" + ], + "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 ConfigMaps.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, + "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": { + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ConfigMapList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration", + "type": "object", + "required": [ + "namespace", + "name", + "kubeletConfigKey" + ], + "properties": { + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", + "type": "string" + }, + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + }, + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ConfigMapProjection": { + "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.ConfigMapVolumeSource": { + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional specify whether the ConfigMap or its keys must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.Container": { + "description": "A single application container that you want to run within a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present", + "type": "string", + "enum": [ + "Always", + "IfNotPresent", + "Never" + ] + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string" + }, + "ports": { + "description": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerResizePolicy" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "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.", + "type": "string" + }, + "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/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.\n\nPossible enum values:\n - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.", + "type": "string", + "enum": [ + "FallbackToLogsOnError", + "File" + ] + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ContainerImage": { + "description": "Describe a container image", + "type": "object", + "properties": { + "names": { + "description": "Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "sizeBytes": { + "description": "The size of the image in bytes.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.core.v1.ContainerPort": { + "description": "ContainerPort represents a network port in a single container.", + "type": "object", + "required": [ + "containerPort" + ], + "properties": { + "containerPort": { + "description": "Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.", + "type": "integer", + "format": "int32" + }, + "hostIP": { + "description": "What host IP to bind the external port to.", + "type": "string" + }, + "hostPort": { + "description": "Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.", + "type": "integer", + "format": "int32" + }, + "name": { + "description": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.", + "type": "string" + }, + "protocol": { + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + } + }, + "io.k8s.api.core.v1.ContainerResizePolicy": { + "description": "ContainerResizePolicy represents resource resize policy for the container.", + "type": "object", + "required": [ + "resourceName", + "restartPolicy" + ], + "properties": { + "resourceName": { + "description": "Name of the resource to which this resource resize policy applies. Supported values: cpu, memory.", + "type": "string" + }, + "restartPolicy": { + "description": "Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired.", + "type": "string" + } + } + }, + "io.k8s.api.core.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.", + "type": "object", + "properties": { + "running": { + "description": "Details about a running container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning" + }, + "terminated": { + "description": "Details about a terminated container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated" + }, + "waiting": { + "description": "Details about a waiting container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting" + } + } + }, + "io.k8s.api.core.v1.ContainerStateRunning": { + "description": "ContainerStateRunning is a running state of a container.", + "type": "object", + "properties": { + "startedAt": { + "description": "Time at which the container was last (re-)started", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.api.core.v1.ContainerStateTerminated": { + "description": "ContainerStateTerminated is a terminated state of a container.", + "type": "object", + "required": [ + "exitCode" + ], + "properties": { + "containerID": { + "description": "Container's ID in the format '://'", + "type": "string" + }, + "exitCode": { + "description": "Exit status from the last termination of the container", + "type": "integer", + "format": "int32" + }, + "finishedAt": { + "description": "Time at which the container last terminated", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Message regarding the last termination of the container", + "type": "string" + }, + "reason": { + "description": "(brief) reason from the last termination of the container", + "type": "string" + }, + "signal": { + "description": "Signal from the last termination of the container", + "type": "integer", + "format": "int32" + }, + "startedAt": { + "description": "Time at which previous execution of the container started", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.api.core.v1.ContainerStateWaiting": { + "description": "ContainerStateWaiting is a waiting state of a container.", + "type": "object", + "properties": { + "message": { + "description": "Message regarding why the container is not yet running.", + "type": "string" + }, + "reason": { + "description": "(brief) reason the container is not yet running.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ContainerStatus": { + "description": "ContainerStatus contains details for the current status of this container.", + "type": "object", + "required": [ + "name", + "ready", + "restartCount", + "image", + "imageID" + ], + "properties": { + "allocatedResources": { + "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "allocatedResourcesStatus": { + "description": "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceStatus" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "containerID": { + "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").", + "type": "string" + }, + "image": { + "description": "Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images.", + "type": "string" + }, + "imageID": { + "description": "ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime.", + "type": "string" + }, + "lastState": { + "description": "LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0.", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState" + }, + "name": { + "description": "Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated.", + "type": "string" + }, + "ready": { + "description": "Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field).\n\nThe value is typically used to determine whether a container is ready to accept traffic.", + "type": "boolean" + }, + "resources": { + "description": "Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "restartCount": { + "description": "RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.", + "type": "integer", + "format": "int32" + }, + "started": { + "description": "Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false.", + "type": "boolean" + }, + "state": { + "description": "State holds details about the container's current condition.", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState" + }, + "user": { + "description": "User represents user identity information initially attached to the first process of the container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerUser" + }, + "volumeMounts": { + "description": "Status of volume mounts.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMountStatus" + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.api.core.v1.ContainerUser": { + "description": "ContainerUser represents user identity information", + "type": "object", + "properties": { + "linux": { + "description": "Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so.", + "$ref": "#/definitions/io.k8s.api.core.v1.LinuxContainerUser" + } + } + }, + "io.k8s.api.core.v1.DaemonEndpoint": { + "description": "DaemonEndpoint contains information about a single Daemon endpoint.", + "type": "object", + "required": [ + "Port" + ], + "properties": { + "Port": { + "description": "Port number of the given endpoint.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.core.v1.DownwardAPIProjection": { + "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", + "type": "object", + "properties": { + "items": { + "description": "Items is a list of DownwardAPIVolume file", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.DownwardAPIVolumeFile": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector" + }, + "mode": { + "description": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector" + } + } + }, + "io.k8s.api.core.v1.DownwardAPIVolumeSource": { + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeFile" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.EmptyDirVolumeSource": { + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "medium": { + "description": "medium represents what type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "type": "string" + }, + "sizeLimit": { + "description": "sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.core.v1.EndpointAddress": { + "description": "EndpointAddress is a tuple that describes single IP address.", + "type": "object", + "required": [ + "ip" + ], + "properties": { + "hostname": { + "description": "The Hostname of this endpoint", + "type": "string" + }, + "ip": { + "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).", + "type": "string" + }, + "nodeName": { + "description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", + "type": "string" + }, + "targetRef": { + "description": "Reference to object providing the endpoint.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.EndpointPort": { + "description": "EndpointPort is a tuple that describes a single port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.", + "type": "string" + }, + "port": { + "description": "The port number of the endpoint.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.EndpointSubset": { + "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]", + "type": "object", + "properties": { + "addresses": { + "description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" + }, + "x-kubernetes-list-type": "atomic" + }, + "notReadyAddresses": { + "description": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointAddress" + }, + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "description": "Port numbers available on the related IP addresses.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointPort" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.Endpoints": { + "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "subsets": { + "description": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EndpointSubset" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.EndpointsList": { + "description": "EndpointsList is a list of endpoints.", + "type": "object", + "required": [ + "items" + ], + "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": "List of endpoints.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "EndpointsList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.EnvFromSource": { + "description": "EnvFromSource represents the source of a set of ConfigMaps", + "type": "object", + "properties": { + "configMapRef": { + "description": "The ConfigMap to select from", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource" + }, + "prefix": { + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "type": "string" + }, + "secretRef": { + "description": "The Secret to select from", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretEnvSource" + } + } + }, + "io.k8s.api.core.v1.EnvVar": { + "description": "EnvVar represents an environment variable present in a Container.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value. Cannot be used if value is not empty.", + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVarSource" + } + } + }, + "io.k8s.api.core.v1.EnvVarSource": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", + "type": "object", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector" + }, + "fieldRef": { + "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.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector" + }, + "resourceFieldRef": { + "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.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + } + } + }, + "io.k8s.api.core.v1.EphemeralContainer": { + "description": "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Container image name. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present", + "type": "string", + "enum": [ + "Always", + "IfNotPresent", + "Never" + ] + }, + "lifecycle": { + "description": "Lifecycle is not allowed for ephemeral containers.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Probes are not allowed for ephemeral containers.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.", + "type": "string" + }, + "ports": { + "description": "Ports are not allowed for ephemeral containers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Probes are not allowed for ephemeral containers.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resizePolicy": { + "description": "Resources resize policy for the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerResizePolicy" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "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.", + "type": "string" + }, + "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.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "Probes are not allowed for ephemeral containers.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "targetContainerName": { + "description": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined.", + "type": "string" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.\n\nPossible enum values:\n - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits.", + "type": "string", + "enum": [ + "FallbackToLogsOnError", + "File" + ] + }, + "tty": { + "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-map-keys": [ + "devicePath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-map-keys": [ + "mountPath" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.EphemeralVolumeSource": { + "description": "Represents an ephemeral volume that is handled by a normal storage driver.", + "type": "object", + "properties": { + "volumeClaimTemplate": { + "description": "Will be used to create a stand-alone PVC to provision the volume. The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod. The name of the PVC will be `-` where `` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.\n\nRequired, must not be nil.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimTemplate" + } + } + }, + "io.k8s.api.core.v1.Event": { + "description": "Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", + "type": "object", + "required": [ + "metadata", + "involvedObject" + ], + "properties": { + "action": { + "description": "What action was taken/failed regarding to the Regarding object.", + "type": "string" + }, + "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" + }, + "count": { + "description": "The number of times this event has occurred.", + "type": "integer", + "format": "int32" + }, + "eventTime": { + "description": "Time when this Event was first observed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + }, + "firstTimestamp": { + "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "involvedObject": { + "description": "The object that this event is about.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "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" + }, + "lastTimestamp": { + "description": "The time at which the most recent occurrence of this event was recorded.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "reason": { + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "type": "string" + }, + "related": { + "description": "Optional secondary object for more complex actions.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "reportingComponent": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "description": "Data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/io.k8s.api.core.v1.EventSeries" + }, + "source": { + "description": "The component reporting this event. Should be a short machine understandable string.", + "$ref": "#/definitions/io.k8s.api.core.v1.EventSource" + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Event", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.EventList": { + "description": "EventList is a list of events.", + "type": "object", + "required": [ + "items" + ], + "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": "List of events", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "EventList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", + "type": "object", + "properties": { + "count": { + "description": "Number of occurrences in this series up to the last heartbeat time", + "type": "integer", + "format": "int32" + }, + "lastObservedTime": { + "description": "Time of the last occurrence observed", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + } + } + }, + "io.k8s.api.core.v1.EventSource": { + "description": "EventSource contains information for an event.", + "type": "object", + "properties": { + "component": { + "description": "Component from which the event is generated.", + "type": "string" + }, + "host": { + "description": "Node name on which the event is generated.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ExecAction": { + "description": "ExecAction describes a \"run in container\" action.", + "type": "object", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.FCVolumeSource": { + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "lun is Optional: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "targetWWNs is Optional: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "wwids": { + "description": "wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.FlexPersistentVolumeSource": { + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + } + } + }, + "io.k8s.api.core.v1.FlexVolumeSource": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "type": "object", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "options is Optional: this field holds extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + } + } + }, + "io.k8s.api.core.v1.FlockerVolumeSource": { + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "properties": { + "datasetName": { + "description": "datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource": { + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.GRPCAction": { + "description": "GRPCAction specifies an action involving a GRPC service.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "type": "integer", + "format": "int32" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.GitRepoVolumeSource": { + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "type": "object", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "directory is the target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "repository is the URL", + "type": "string" + }, + "revision": { + "description": "revision is the commit hash for the specified revision.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "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", + "type": "string" + }, + "endpointsNamespace": { + "description": "endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.GlusterfsVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "endpoints", + "path" + ], + "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", + "type": "string" + }, + "path": { + "description": "path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.HTTPGetAction": { + "description": "HTTPGetAction describes an action based on HTTP Get requests.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPHeader" + }, + "x-kubernetes-list-type": "atomic" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - `\"HTTP\"` means that the scheme used will be http://\n - `\"HTTPS\"` means that the scheme used will be https://", + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + } + } + }, + "io.k8s.api.core.v1.HTTPHeader": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.HostAlias": { + "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", + "type": "object", + "required": [ + "ip" + ], + "properties": { + "hostnames": { + "description": "Hostnames for the above IP address.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ip": { + "description": "IP address of the host file entry.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.HostIP": { + "description": "HostIP represents a single IP address allocated to the host.", + "type": "object", + "required": [ + "ip" + ], + "properties": { + "ip": { + "description": "IP is the IP address assigned to the host", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.HostPathVolumeSource": { + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "type": "string" + }, + "type": { + "description": "type for HostPath Volume Defaults to \"\" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath\n\nPossible enum values:\n - `\"\"` For backwards compatible, leave it empty if unset\n - `\"BlockDevice\"` A block device must exist at the given path\n - `\"CharDevice\"` A character device must exist at the given path\n - `\"Directory\"` A directory must exist at the given path\n - `\"DirectoryOrCreate\"` If nothing exists at the given path, an empty directory will be created there as needed with file mode 0755, having the same group and ownership with Kubelet.\n - `\"File\"` A file must exist at the given path\n - `\"FileOrCreate\"` If nothing exists at the given path, an empty file will be created there as needed with file mode 0644, having the same group and ownership with Kubelet.\n - `\"Socket\"` A UNIX socket must exist at the given path", + "type": "string", + "enum": [ + "", + "BlockDevice", + "CharDevice", + "Directory", + "DirectoryOrCreate", + "File", + "FileOrCreate", + "Socket" + ] + } + } + }, + "io.k8s.api.core.v1.ISCSIPersistentVolumeSource": { + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is Target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun is iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ISCSIVolumeSource": { + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "chapAuthDiscovery": { + "description": "chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "chapAuthSession defines whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "iqn is the target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "lun represents iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is the CHAP Secret for iSCSI target and initiator authentication", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "targetPortal": { + "description": "targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ImageVolumeSource": { + "description": "ImageVolumeSource represents a image volume resource.", + "type": "object", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.\n\nPossible enum values:\n - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present", + "type": "string", + "enum": [ + "Always", + "IfNotPresent", + "Never" + ] + }, + "reference": { + "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.KeyToPath": { + "description": "Maps a string key to a path within a volume.", + "type": "object", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "key is the key to project.", + "type": "string" + }, + "mode": { + "description": "mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Lifecycle": { + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", + "type": "object", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/io.k8s.api.core.v1.LifecycleHandler" + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/io.k8s.api.core.v1.LifecycleHandler" + } + } + }, + "io.k8s.api.core.v1.LifecycleHandler": { + "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" + }, + "sleep": { + "description": "Sleep represents a duration that the container should sleep.", + "$ref": "#/definitions/io.k8s.api.core.v1.SleepAction" + }, + "tcpSocket": { + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.", + "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" + } + } + }, + "io.k8s.api.core.v1.LimitRange": { + "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "LimitRange", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.LimitRangeItem": { + "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "default": { + "description": "Default resource requirement limit value by resource name if resource limit is omitted.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "defaultRequest": { + "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "max": { + "description": "Max usage constraints on this kind by resource name.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "maxLimitRequestRatio": { + "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "min": { + "description": "Min usage constraints on this kind by resource name.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "type": { + "description": "Type of resource that this limit applies to.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.LimitRangeList": { + "description": "LimitRangeList is a list of LimitRange items.", + "type": "object", + "required": [ + "items" + ], + "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 list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "LimitRangeList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.LimitRangeSpec": { + "description": "LimitRangeSpec defines a min/max usage limit for resources that match on kind.", + "type": "object", + "required": [ + "limits" + ], + "properties": { + "limits": { + "description": "Limits is the list of LimitRangeItem objects that are enforced.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRangeItem" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.LinuxContainerUser": { + "description": "LinuxContainerUser represents user identity information in Linux containers", + "type": "object", + "required": [ + "uid", + "gid" + ], + "properties": { + "gid": { + "description": "GID is the primary gid initially attached to the first process in the container", + "type": "integer", + "format": "int64" + }, + "supplementalGroups": { + "description": "SupplementalGroups are the supplemental groups initially attached to the first process in the container", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "uid": { + "description": "UID is the primary uid initially attached to the first process in the container", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.core.v1.LoadBalancerIngress": { + "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", + "type": "object", + "properties": { + "hostname": { + "description": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", + "type": "string" + }, + "ip": { + "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", + "type": "string" + }, + "ipMode": { + "description": "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.", + "type": "string" + }, + "ports": { + "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PortStatus" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.LoadBalancerStatus": { + "description": "LoadBalancerStatus represents the status of a load-balancer.", + "type": "object", + "properties": { + "ingress": { + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerIngress" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.LocalObjectReference": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.LocalVolumeSource": { + "description": "Local represents directly-attached storage with node affinity", + "type": "object", + "required": [ + "path" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified.", + "type": "string" + }, + "path": { + "description": "path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ModifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation", + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.\n\nPossible enum values:\n - `\"InProgress\"` InProgress indicates that the volume is being modified\n - `\"Infeasible\"` Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified\n - `\"Pending\"` Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing", + "type": "string", + "enum": [ + "InProgress", + "Infeasible", + "Pending" + ] + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.NFSVolumeSource": { + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "server", + "path" + ], + "properties": { + "path": { + "description": "path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Namespace": { + "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the behavior of the Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceSpec" + }, + "status": { + "description": "Status describes the current status of a Namespace. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Namespace", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.NamespaceCondition": { + "description": "NamespaceCondition contains details about state of namespace.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of namespace controller condition.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.NamespaceList": { + "description": "NamespaceList is a list of Namespaces.", + "type": "object", + "required": [ + "items" + ], + "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 Namespace objects in the list. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "NamespaceList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.NamespaceSpec": { + "description": "NamespaceSpec describes the attributes on a Namespace.", + "type": "object", + "properties": { + "finalizers": { + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.NamespaceStatus": { + "description": "NamespaceStatus is information about the current status of a Namespace.", + "type": "object", + "properties": { + "conditions": { + "description": "Represents the latest available observations of a namespace's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NamespaceCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "phase": { + "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/\n\nPossible enum values:\n - `\"Active\"` means the namespace is available for use in the system\n - `\"Terminating\"` means the namespace is undergoing graceful termination", + "type": "string", + "enum": [ + "Active", + "Terminating" + ] + } + } + }, + "io.k8s.api.core.v1.Node": { + "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSpec" + }, + "status": { + "description": "Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Node", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.NodeAddress": { + "description": "NodeAddress contains information for the node's address.", + "type": "object", + "required": [ + "type", + "address" + ], + "properties": { + "address": { + "description": "The node address.", + "type": "string" + }, + "type": { + "description": "Node address type, one of Hostname, ExternalIP or InternalIP.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.NodeAffinity": { + "description": "Node affinity is a group of node affinity scheduling rules.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PreferredSchedulingTerm" + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" + } + } + }, + "io.k8s.api.core.v1.NodeCondition": { + "description": "NodeCondition contains condition information for a node.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastHeartbeatTime": { + "description": "Last time we got an update on a given condition.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastTransitionTime": { + "description": "Last time the condition transit from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "(brief) reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of node condition.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.NodeConfigSource": { + "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22", + "type": "object", + "properties": { + "configMap": { + "description": "ConfigMap is a reference to a Node's ConfigMap", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapNodeConfigSource" + } + } + }, + "io.k8s.api.core.v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "type": "object", + "properties": { + "active": { + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" + }, + "assigned": { + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" + }, + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", + "type": "string" + }, + "lastKnownGood": { + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" + } + } + }, + "io.k8s.api.core.v1.NodeDaemonEndpoints": { + "description": "NodeDaemonEndpoints lists ports opened by daemons running on the Node.", + "type": "object", + "properties": { + "kubeletEndpoint": { + "description": "Endpoint on which Kubelet is listening.", + "$ref": "#/definitions/io.k8s.api.core.v1.DaemonEndpoint" + } + } + }, + "io.k8s.api.core.v1.NodeFeatures": { + "description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.", + "type": "object", + "properties": { + "supplementalGroupsPolicy": { + "description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.NodeList": { + "description": "NodeList is the whole list of all Nodes which have been registered with master.", + "type": "object", + "required": [ + "items" + ], + "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": "List of nodes", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "NodeList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.NodeRuntimeHandler": { + "description": "NodeRuntimeHandler is a set of runtime handler information.", + "type": "object", + "properties": { + "features": { + "description": "Supported features.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeRuntimeHandlerFeatures" + }, + "name": { + "description": "Runtime handler name. Empty for the default runtime handler.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.NodeRuntimeHandlerFeatures": { + "description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.", + "type": "object", + "properties": { + "recursiveReadOnlyMounts": { + "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.", + "type": "boolean" + }, + "userNamespaces": { + "description": "UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.NodeSelector": { + "description": "A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.", + "type": "object", + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "description": "Required. A list of node selector terms. The terms are ORed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeSelectorRequirement": { + "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.\n\nPossible enum values:\n - `\"DoesNotExist\"`\n - `\"Exists\"`\n - `\"Gt\"`\n - `\"In\"`\n - `\"Lt\"`\n - `\"NotIn\"`", + "type": "string", + "enum": [ + "DoesNotExist", + "Exists", + "Gt", + "In", + "Lt", + "NotIn" + ] + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.NodeSelectorTerm": { + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + }, + "x-kubernetes-list-type": "atomic" + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorRequirement" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.NodeSpec": { + "description": "NodeSpec describes the attributes that a node is created with.", + "type": "object", + "properties": { + "configSource": { + "description": "Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigSource" + }, + "externalID": { + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", + "type": "string" + }, + "podCIDR": { + "description": "PodCIDR represents the pod IP range assigned to the node.", + "type": "string" + }, + "podCIDRs": { + "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set", + "x-kubernetes-patch-strategy": "merge" + }, + "providerID": { + "description": "ID of the node assigned by the cloud provider in the format: ://", + "type": "string" + }, + "taints": { + "description": "If specified, the node's taints.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Taint" + }, + "x-kubernetes-list-type": "atomic" + }, + "unschedulable": { + "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.NodeStatus": { + "description": "NodeStatus is information about the current status of a node.", + "type": "object", + "properties": { + "addresses": { + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeAddress" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "allocatable": { + "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "capacity": { + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "conditions": { + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "config": { + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeConfigStatus" + }, + "daemonEndpoints": { + "description": "Endpoints of daemons running on the Node.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints" + }, + "features": { + "description": "Features describes the set of features implemented by the CRI implementation.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeFeatures" + }, + "images": { + "description": "List of container images on this node", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerImage" + }, + "x-kubernetes-list-type": "atomic" + }, + "nodeInfo": { + "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSystemInfo" + }, + "phase": { + "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.\n\nPossible enum values:\n - `\"Pending\"` means the node has been created/added by the system, but not configured.\n - `\"Running\"` means the node has been configured and has Kubernetes components running.\n - `\"Terminated\"` means the node has been removed from the cluster.", + "type": "string", + "enum": [ + "Pending", + "Running", + "Terminated" + ] + }, + "runtimeHandlers": { + "description": "The available runtime handlers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeRuntimeHandler" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumesAttached": { + "description": "List of volumes that are attached to the node.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.AttachedVolume" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumesInUse": { + "description": "List of attachable volumes in use (mounted) by the node.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.NodeSystemInfo": { + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", + "type": "object", + "required": [ + "machineID", + "systemUUID", + "bootID", + "kernelVersion", + "osImage", + "containerRuntimeVersion", + "kubeletVersion", + "kubeProxyVersion", + "operatingSystem", + "architecture" + ], + "properties": { + "architecture": { + "description": "The Architecture reported by the node", + "type": "string" + }, + "bootID": { + "description": "Boot ID reported by the node.", + "type": "string" + }, + "containerRuntimeVersion": { + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).", + "type": "string" + }, + "kernelVersion": { + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", + "type": "string" + }, + "kubeProxyVersion": { + "description": "Deprecated: KubeProxy Version reported by the node.", + "type": "string" + }, + "kubeletVersion": { + "description": "Kubelet Version reported by the node.", + "type": "string" + }, + "machineID": { + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", + "type": "string" + }, + "operatingSystem": { + "description": "The Operating System reported by the node", + "type": "string" + }, + "osImage": { + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", + "type": "string" + }, + "systemUUID": { + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ObjectFieldSelector": { + "description": "ObjectFieldSelector selects an APIVersioned field of an object.", + "type": "object", + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "description": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".", + "type": "string" + }, + "fieldPath": { + "description": "Path of the field to select in the specified API version.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.PersistentVolume": { + "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec" + }, + "status": { + "description": "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolume", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PersistentVolumeClaim": { + "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec" + }, + "status": { + "description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeClaim", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PersistentVolumeClaimCondition": { + "description": "PersistentVolumeClaimCondition contains details about state of pvc", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastProbeTime": { + "description": "lastProbeTime is the time we probed the condition.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastTransitionTime": { + "description": "lastTransitionTime is the time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message is the human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"Resizing\" that means the underlying persistent volume is being resized.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimList": { + "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", + "type": "object", + "required": [ + "items" + ], + "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 list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeClaimList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PersistentVolumeClaimSpec": { + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string", + "enum": [ + "ReadOnlyMany", + "ReadWriteMany", + "ReadWriteOnce", + "ReadWriteOncePod" + ] + }, + "x-kubernetes-list-type": "atomic" + }, + "dataSource": { + "description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.", + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference" + }, + "dataSourceRef": { + "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "$ref": "#/definitions/io.k8s.api.core.v1.TypedObjectReference" + }, + "resources": { + "description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeResourceRequirements" + }, + "selector": { + "description": "selector is a label query over volumes to consider for binding.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "storageClassName": { + "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "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).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.", + "type": "string", + "enum": [ + "Block", + "Filesystem" + ] + }, + "volumeName": { + "description": "volumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimStatus": { + "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string", + "enum": [ + "ReadOnlyMany", + "ReadWriteMany", + "ReadWriteOnce", + "ReadWriteOncePod" + ] + }, + "x-kubernetes-list-type": "atomic" + }, + "allocatedResourceStatuses": { + "description": "allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "type": "string", + "enum": [ + "ControllerResizeInProgress", + "ControllerResizeInfeasible", + "NodeResizeInProgress", + "NodeResizeInfeasible", + "NodeResizePending" + ] + }, + "x-kubernetes-map-type": "granular" + }, + "allocatedResources": { + "description": "allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "capacity": { + "description": "capacity represents the actual resources of the underlying volume.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "conditions": { + "description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "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).", + "type": "string" + }, + "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).", + "$ref": "#/definitions/io.k8s.api.core.v1.ModifyVolumeStatus" + }, + "phase": { + "description": "phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound", + "type": "string", + "enum": [ + "Bound", + "Lost", + "Pending" + ] + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimTemplate": { + "description": "PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "metadata": { + "description": "May contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "The specification for the PersistentVolumeClaim. The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource": { + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "type": "object", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeList": { + "description": "PersistentVolumeList is a list of PersistentVolume items.", + "type": "object", + "required": [ + "items" + ], + "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 list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PersistentVolumeList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PersistentVolumeSpec": { + "description": "PersistentVolumeSpec is the specification of a persistent volume.", + "type": "object", + "properties": { + "accessModes": { + "description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes", + "type": "array", + "items": { + "type": "string", + "enum": [ + "ReadOnlyMany", + "ReadWriteMany", + "ReadWriteOnce", + "ReadWriteOncePod" + ] + }, + "x-kubernetes-list-type": "atomic" + }, + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureFilePersistentVolumeSource" + }, + "capacity": { + "description": "capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.CephFSPersistentVolumeSource" + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource" + }, + "claimRef": { + "description": "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", + "x-kubernetes-map-type": "granular" + }, + "csi": { + "description": "csi represents storage that is handled by an external CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource" + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource" + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" + }, + "glusterfs": { + "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource" + }, + "hostPath": { + "description": "hostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource" + }, + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", + "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIPersistentVolumeSource" + }, + "local": { + "description": "local represents directly-attached storage with node affinity", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalVolumeSource" + }, + "mountOptions": { + "description": "mountOptions is the list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" + }, + "nodeAffinity": { + "description": "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.", + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeNodeAffinity" + }, + "persistentVolumeReclaimPolicy": { + "description": "persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.", + "type": "string", + "enum": [ + "Delete", + "Recycle", + "Retain" + ] + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" + }, + "rbd": { + "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", + "$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource" + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource" + }, + "storageClassName": { + "description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", + "type": "string" + }, + "storageos": { + "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", + "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource" + }, + "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).", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.", + "type": "string", + "enum": [ + "Block", + "Filesystem" + ] + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" + } + } + }, + "io.k8s.api.core.v1.PersistentVolumeStatus": { + "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "type": "object", + "properties": { + "lastPhaseTransitionTime": { + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message is a human-readable message indicating details about why the volume is in this state.", + "type": "string" + }, + "phase": { + "description": "phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase\n\nPossible enum values:\n - `\"Available\"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims\n - `\"Bound\"` used for PersistentVolumes that are bound\n - `\"Failed\"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim\n - `\"Pending\"` used for PersistentVolumes that are not available\n - `\"Released\"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource", + "type": "string", + "enum": [ + "Available", + "Bound", + "Failed", + "Pending", + "Released" + ] + }, + "reason": { + "description": "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource": { + "description": "Represents a Photon Controller persistent disk resource.", + "type": "object", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "pdID is the ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Pod": { + "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec" + }, + "status": { + "description": "Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.PodStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Pod", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PodAffinity": { + "description": "Pod affinity is a group of inter pod affinity scheduling rules.", + "type": "object", + "properties": { + "preferredDuringSchedulingIgnoredDuringExecution": { + "description": "The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.PodAffinityTerm": { + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", + "type": "object", + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "namespaceSelector": { + "description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaces": { + "description": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologyKey": { + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodAntiAffinity": { + "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", + "type": "object", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.WeightedPodAffinityTerm" + }, + "x-kubernetes-list-type": "atomic" + }, + "requiredDuringSchedulingIgnoredDuringExecution": { + "description": "If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.PodCondition": { + "description": "PodCondition contains details for the current condition of this pod.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastProbeTime": { + "description": "Last time we probed the condition.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "type": "object", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "options": { + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfigOption" + }, + "x-kubernetes-list-type": "atomic" + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.PodDNSConfigOption": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "type": "object", + "properties": { + "name": { + "description": "Name is this DNS resolver option's name. Required.", + "type": "string" + }, + "value": { + "description": "Value is this DNS resolver option's value.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodIP": { + "description": "PodIP represents a single IP address allocated to the pod.", + "type": "object", + "required": [ + "ip" + ], + "properties": { + "ip": { + "description": "IP is the IP address assigned to the pod", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodList": { + "description": "PodList is a list of Pods.", + "type": "object", + "required": [ + "items" + ], + "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": "List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PodOS": { + "description": "PodOS defines the OS parameters of a pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", + "type": "object", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodResourceClaim": { + "description": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.", + "type": "string" + }, + "resourceClaimName": { + "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" + }, + "resourceClaimTemplateName": { + "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodResourceClaimStatus": { + "description": "PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.", + "type": "string" + }, + "resourceClaimName": { + "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodSchedulingGate": { + "description": "PodSchedulingGate is associated to a Pod to guard its scheduling.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the scheduling gate. Each scheduling gate must have a unique name field.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PodSecurityContext": { + "description": "PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.", + "type": "object", + "properties": { + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.AppArmorProfile" + }, + "fsGroup": { + "description": "A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "fsGroupChangePolicy": { + "description": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Always\"` indicates that volume's ownership and permissions should always be changed whenever volume is mounted inside a Pod. This the default behavior.\n - `\"OnRootMismatch\"` indicates that volume's ownership and permissions will be changed only when permission and ownership of root directory does not match with expected permissions on the volume. This can help shorten the time it takes to change ownership and permissions of a volume.", + "type": "string", + "enum": [ + "Always", + "OnRootMismatch" + ] + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" + }, + "seccompProfile": { + "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SeccompProfile" + }, + "supplementalGroups": { + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "type": "integer", + "format": "int64" + }, + "x-kubernetes-list-type": "atomic" + }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Merge\"` means that the container's provided SupplementalGroups and FsGroup (specified in SecurityContext) will be merged with the primary user's groups as defined in the container image (in /etc/group).\n - `\"Strict\"` means that the container's provided SupplementalGroups and FsGroup (specified in SecurityContext) will be used instead of any groups defined in the container image.", + "type": "string", + "enum": [ + "Merge", + "Strict" + ] + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Sysctl" + }, + "x-kubernetes-list-type": "atomic" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.", + "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions" + } + } + }, + "io.k8s.api.core.v1.PodSpec": { + "description": "PodSpec is a description of a pod.", + "type": "object", + "required": [ + "containers" + ], + "properties": { + "activeDeadlineSeconds": { + "description": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", + "type": "integer", + "format": "int64" + }, + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.", + "type": "boolean" + }, + "containers": { + "description": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Container" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "dnsConfig": { + "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig" + }, + "dnsPolicy": { + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.\n\nPossible enum values:\n - `\"ClusterFirst\"` indicates that the pod should use cluster DNS first unless hostNetwork is true, if it is available, then fall back on the default (as determined by kubelet) DNS settings.\n - `\"ClusterFirstWithHostNet\"` indicates that the pod should use cluster DNS first, if it is available, then fall back on the default (as determined by kubelet) DNS settings.\n - `\"Default\"` indicates that the pod should use the default (as determined by kubelet) DNS settings.\n - `\"None\"` indicates that the pod should use empty DNS settings. DNS parameters such as nameservers and search paths should be defined via DNSConfig.", + "type": "string", + "enum": [ + "ClusterFirst", + "ClusterFirstWithHostNet", + "Default", + "None" + ] + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", + "type": "boolean" + }, + "ephemeralContainers": { + "description": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainer" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "hostAliases": { + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "hostIPC": { + "description": "Use the host's ipc namespace. Optional: Default to false.", + "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.", + "type": "boolean" + }, + "hostPID": { + "description": "Use the host's pid namespace. Optional: Default to false.", + "type": "boolean" + }, + "hostUsers": { + "description": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.", + "type": "boolean" + }, + "hostname": { + "description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", + "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", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "initContainers": { + "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Container" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "nodeName": { + "description": "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename", + "type": "string" + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "os": { + "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", + "$ref": "#/definitions/io.k8s.api.core.v1.PodOS" + }, + "overhead": { + "description": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.\n\nPossible enum values:\n - `\"Never\"` means that pod never preempts other pods with lower priority.\n - `\"PreemptLowerPriority\"` means that pod can preempt other pods with lower priority.", + "type": "string", + "enum": [ + "Never", + "PreemptLowerPriority" + ] + }, + "priority": { + "description": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.", + "type": "integer", + "format": "int32" + }, + "priorityClassName": { + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", + "type": "string" + }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodReadinessGate" + }, + "x-kubernetes-list-type": "atomic" + }, + "resourceClaims": { + "description": "ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodResourceClaim" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge,retainKeys" + }, + "resources": { + "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.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "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\n\nPossible enum values:\n - `\"Always\"`\n - `\"Never\"`\n - `\"OnFailure\"`", + "type": "string", + "enum": [ + "Always", + "Never", + "OnFailure" + ] + }, + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class", + "type": "string" + }, + "schedulerName": { + "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", + "type": "string" + }, + "schedulingGates": { + "description": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodSchedulingGate" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" + }, + "serviceAccount": { + "description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", + "type": "string" + }, + "serviceAccountName": { + "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "string" + }, + "setHostnameAsFQDN": { + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", + "type": "boolean" + }, + "shareProcessNamespace": { + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.", + "type": "boolean" + }, + "subdomain": { + "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", + "type": "string" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", + "type": "integer", + "format": "int64" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologySpreadConstraints": { + "description": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" + }, + "x-kubernetes-list-map-keys": [ + "topologyKey", + "whenUnsatisfiable" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "topologyKey", + "x-kubernetes-patch-strategy": "merge" + }, + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge,retainKeys" + } + } + }, + "io.k8s.api.core.v1.PodStatus": { + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", + "type": "object", + "properties": { + "conditions": { + "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "containerStatuses": { + "description": "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "ephemeralContainerStatuses": { + "description": "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "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" + }, + "hostIPs": { + "description": "hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must match the hostIP field. This list is 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 means that HostIPs will not be updated even if there is a node is assigned to this pod.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.HostIP" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "initContainerStatuses": { + "description": "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "message": { + "description": "A human readable message indicating details about why the pod is in this condition.", + "type": "string" + }, + "nominatedNodeName": { + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", + "type": "string" + }, + "phase": { + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase\n\nPossible enum values:\n - `\"Failed\"` means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system).\n - `\"Pending\"` means the pod has been accepted by the system, but one or more of the containers has not been started. This includes time before being bound to a node, as well as time spent pulling images onto the host.\n - `\"Running\"` means the pod has been bound to a node and all of the containers have been started. At least one container is still running or is in the process of being restarted.\n - `\"Succeeded\"` means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers.\n - `\"Unknown\"` means that for some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. Deprecated: It isn't being set since 2015 (74da3b14b0c0f658b3bb8d2def5094686d0e9095)", + "type": "string", + "enum": [ + "Failed", + "Pending", + "Running", + "Succeeded", + "Unknown" + ] + }, + "podIP": { + "description": "podIP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", + "type": "string" + }, + "podIPs": { + "description": "podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list is empty if no IPs have been allocated yet.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodIP" + }, + "x-kubernetes-list-map-keys": [ + "ip" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "ip", + "x-kubernetes-patch-strategy": "merge" + }, + "qosClass": { + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes\n\nPossible enum values:\n - `\"BestEffort\"` is the BestEffort qos class.\n - `\"Burstable\"` is the Burstable qos class.\n - `\"Guaranteed\"` is the Guaranteed qos class.", + "type": "string", + "enum": [ + "BestEffort", + "Burstable", + "Guaranteed" + ] + }, + "reason": { + "description": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted'", + "type": "string" + }, + "resize": { + "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"", + "type": "string" + }, + "resourceClaimStatuses": { + "description": "Status of resource claims.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodResourceClaimStatus" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge,retainKeys" + }, + "startTime": { + "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.api.core.v1.PodTemplate": { + "description": "PodTemplate describes a template for creating copies of a predefined pod.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "template": { + "description": "Template defines the pods that will be created from this pod template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodTemplate", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PodTemplateList": { + "description": "PodTemplateList is a list of PodTemplates.", + "type": "object", + "required": [ + "items" + ], + "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": "List of pod templates", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "PodTemplateList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.PodTemplateSpec": { + "description": "PodTemplateSpec describes the data a pod should have when created from a template", + "type": "object", + "properties": { + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSpec" + } + } + }, + "io.k8s.api.core.v1.PortStatus": { + "description": "PortStatus represents the error condition of a service port", + "type": "object", + "required": [ + "port", + "protocol" + ], + "properties": { + "error": { + "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", + "type": "string" + }, + "port": { + "description": "Port is the port number of the service port of which status is recorded here", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + } + }, + "io.k8s.api.core.v1.PortworxVolumeSource": { + "description": "PortworxVolumeSource represents a Portworx volume resource.", + "type": "object", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "volumeID": { + "description": "volumeID uniquely identifies a Portworx volume", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.PreferredSchedulingTerm": { + "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).", + "type": "object", + "required": [ + "weight", + "preference" + ], + "properties": { + "preference": { + "description": "A node selector term, associated with the corresponding weight.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm" + }, + "weight": { + "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.core.v1.Probe": { + "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", + "type": "object", + "properties": { + "exec": { + "description": "Exec specifies a command to execute in the container.", + "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "grpc": { + "description": "GRPC specifies a GRPC HealthCheckRequest.", + "$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction" + }, + "httpGet": { + "description": "HTTPGet specifies an HTTP GET request to perform.", + "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.", + "type": "integer", + "format": "int32" + }, + "tcpSocket": { + "description": "TCPSocket specifies a connection to a TCP port.", + "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" + }, + "terminationGracePeriodSeconds": { + "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", + "type": "integer", + "format": "int64" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.core.v1.ProjectedVolumeSource": { + "description": "Represents a projected volume source", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "sources": { + "description": "sources is the list of volume projections. Each entry in this list handles one source.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.QuobyteVolumeSource": { + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", + "type": "object", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "group to map volume access to Default is no group", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", + "type": "boolean" + }, + "registry": { + "description": "registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", + "type": "string" + }, + "tenant": { + "description": "tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin", + "type": "string" + }, + "user": { + "description": "user to map volume access to Defaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.RBDPersistentVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "monitors", + "image" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "user": { + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "type": "object", + "required": [ + "monitors", + "image" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "pool": { + "description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "user": { + "description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ReplicationController": { + "description": "ReplicationController represents the configuration of a replication controller.", + "type": "object", + "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": { + "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerSpec" + }, + "status": { + "description": "Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ReplicationController", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ReplicationControllerCondition": { + "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "The last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of replication controller condition.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ReplicationControllerList": { + "description": "ReplicationControllerList is a collection of replication controllers.", + "type": "object", + "required": [ + "items" + ], + "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": "List of replication controllers. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ReplicationControllerList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ReplicationControllerSpec": { + "description": "ReplicationControllerSpec is the specification of a replication controller.", + "type": "object", + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Selector is a label query over pods that should match the Replicas count. If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is \"Always\". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplateSpec" + } + } + }, + "io.k8s.api.core.v1.ReplicationControllerStatus": { + "description": "ReplicationControllerStatus represents the current status of a replication controller.", + "type": "object", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a replication controller's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationControllerCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replication controller.", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed replication controller.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "The number of ready replicas for this replication controller.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.core.v1.ResourceClaim": { + "description": "ResourceClaim references one entry in PodSpec.ResourceClaims.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", + "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ResourceFieldSelector": { + "description": "ResourceFieldSelector represents container resources (cpu, memory) and their output format", + "type": "object", + "required": [ + "resource" + ], + "properties": { + "containerName": { + "description": "Container name: required for volumes, optional for env vars", + "type": "string" + }, + "divisor": { + "description": "Specifies the output format of the exposed resources, defaults to \"1\"", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "resource": { + "description": "Required: resource to select", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ResourceHealth": { + "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.", + "type": "object", + "required": [ + "resourceID" + ], + "properties": { + "health": { + "description": "Health of the resource. can be one of:\n - Healthy: operates as normal\n - Unhealthy: reported unhealthy. We consider this a temporary health issue\n since we do not have a mechanism today to distinguish\n temporary and permanent issues.\n - Unknown: The status cannot be determined.\n For example, Device Plugin got unregistered and hasn't been re-registered since.\n\nIn future we may want to introduce the PermanentlyUnhealthy Status.", + "type": "string" + }, + "resourceID": { + "description": "ResourceID is the unique identifier of the resource. See the ResourceID type for more information.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ResourceQuota": { + "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaSpec" + }, + "status": { + "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuotaStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ResourceQuotaList": { + "description": "ResourceQuotaList is a list of ResourceQuota items.", + "type": "object", + "required": [ + "items" + ], + "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 list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuotaList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ResourceQuotaSpec": { + "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", + "type": "object", + "properties": { + "hard": { + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "scopeSelector": { + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScopeSelector" + }, + "scopes": { + "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "BestEffort", + "CrossNamespacePodAffinity", + "NotBestEffort", + "NotTerminating", + "PriorityClass", + "Terminating" + ] + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.ResourceQuotaStatus": { + "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", + "type": "object", + "properties": { + "hard": { + "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "used": { + "description": "Used is the current observed total usage of the resource in the namespace.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + } + }, + "io.k8s.api.core.v1.ResourceRequirements": { + "description": "ResourceRequirements describes the compute resource requirements.", + "type": "object", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceClaim" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + }, + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + } + }, + "io.k8s.api.core.v1.ResourceStatus": { + "description": "ResourceStatus represents the status of a single resource allocated to a Pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.", + "type": "string" + }, + "resources": { + "description": "List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceHealth" + }, + "x-kubernetes-list-map-keys": [ + "resourceID" + ], + "x-kubernetes-list-type": "map" + } + } + }, + "io.k8s.api.core.v1.SELinuxOptions": { + "description": "SELinuxOptions are the labels to be applied to the container", + "type": "object", + "properties": { + "level": { + "description": "Level is SELinux level label that applies to the container.", + "type": "string" + }, + "role": { + "description": "Role is a SELinux role label that applies to the container.", + "type": "string" + }, + "type": { + "description": "Type is a SELinux type label that applies to the container.", + "type": "string" + }, + "user": { + "description": "User is a SELinux user label that applies to the container.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource": { + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", + "type": "object", + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "sslEnabled": { + "description": "sslEnabled is the flag to enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ScaleIOVolumeSource": { + "description": "ScaleIOVolumeSource represents a persistent ScaleIO volume", + "type": "object", + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", + "type": "string" + }, + "gateway": { + "description": "gateway is the host address of the ScaleIO API Gateway.", + "type": "string" + }, + "protectionDomain": { + "description": "protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" + }, + "readOnly": { + "description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "sslEnabled": { + "description": "sslEnabled Flag enable/disable SSL communication with Gateway, default false", + "type": "boolean" + }, + "storageMode": { + "description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" + }, + "storagePool": { + "description": "storagePool is the ScaleIO Storage Pool associated with the protection domain.", + "type": "string" + }, + "system": { + "description": "system is the name of the storage system as configured in ScaleIO.", + "type": "string" + }, + "volumeName": { + "description": "volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ScopedResourceSelectorRequirement" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "type": "object", + "required": [ + "scopeName", + "operator" + ], + "properties": { + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.\n\nPossible enum values:\n - `\"DoesNotExist\"`\n - `\"Exists\"`\n - `\"In\"`\n - `\"NotIn\"`", + "type": "string", + "enum": [ + "DoesNotExist", + "Exists", + "In", + "NotIn" + ] + }, + "scopeName": { + "description": "The name of the scope that the selector applies to.\n\nPossible enum values:\n - `\"BestEffort\"` Match all pod objects that have best effort quality of service\n - `\"CrossNamespacePodAffinity\"` Match all pod objects that have cross-namespace pod (anti)affinity mentioned.\n - `\"NotBestEffort\"` Match all pod objects that do not have best effort quality of service\n - `\"NotTerminating\"` Match all pod objects where spec.activeDeadlineSeconds is nil\n - `\"PriorityClass\"` Match all pod objects that have priority class mentioned\n - `\"Terminating\"` Match all pod objects where spec.activeDeadlineSeconds >=0", + "type": "string", + "enum": [ + "BestEffort", + "CrossNamespacePodAffinity", + "NotBestEffort", + "NotTerminating", + "PriorityClass", + "Terminating" + ] + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.SeccompProfile": { + "description": "SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "localhostProfile": { + "description": "localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is \"Localhost\". Must NOT be set for any other type.", + "type": "string" + }, + "type": { + "description": "type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - `\"Localhost\"` indicates a profile defined in a file on the node should be used. The file's location relative to /seccomp.\n - `\"RuntimeDefault\"` represents the default container runtime seccomp profile.\n - `\"Unconfined\"` indicates no seccomp profile is applied (A.K.A. unconfined).", + "type": "string", + "enum": [ + "Localhost", + "RuntimeDefault", + "Unconfined" + ] + } + }, + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "localhostProfile": "LocalhostProfile" + } + } + ] + }, + "io.k8s.api.core.v1.Secret": { + "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", + "type": "object", + "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" + }, + "data": { + "description": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.", + "type": "boolean" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "stringData": { + "description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "type": { + "description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Secret", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.SecretEnvSource": { + "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.SecretKeySelector": { + "description": "SecretKeySelector selects a key of a Secret.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or its key must be defined", + "type": "boolean" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.SecretList": { + "description": "SecretList is a list of Secret.", + "type": "object", + "required": [ + "items" + ], + "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 list of secret objects. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "SecretList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.SecretProjection": { + "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.", + "type": "object", + "properties": { + "items": { + "description": "items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "optional field specify whether the Secret or its key must be defined", + "type": "boolean" + } + } + }, + "io.k8s.api.core.v1.SecretReference": { + "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace", + "type": "object", + "properties": { + "name": { + "description": "name is unique within a namespace to reference a secret resource.", + "type": "string" + }, + "namespace": { + "description": "namespace defines the space within which the secret name must be unique.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.SecretVolumeSource": { + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", + "type": "object", + "properties": { + "defaultMode": { + "description": "defaultMode is Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.KeyToPath" + }, + "x-kubernetes-list-type": "atomic" + }, + "optional": { + "description": "optional field specify whether the Secret or its keys must be defined", + "type": "boolean" + }, + "secretName": { + "description": "secretName is the name of the secret in the pod's namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.SecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "type": "object", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "appArmorProfile": { + "description": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.AppArmorProfile" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.Capabilities" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.\n\nPossible enum values:\n - `\"Default\"` uses the container runtime defaults for readonly and masked paths for /proc. Most container runtimes mask certain paths in /proc to avoid accidental security exposure of special devices or information.\n - `\"Unmasked\"` bypasses the default masking behavior of the container runtime and ensures the newly created /proc the container stays in tact with no modifications.", + "type": "string", + "enum": [ + "Default", + "Unmasked" + ] + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" + }, + "seccompProfile": { + "description": "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.", + "$ref": "#/definitions/io.k8s.api.core.v1.SeccompProfile" + }, + "windowsOptions": { + "description": "The Windows specific settings applied to all containers. If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.", + "$ref": "#/definitions/io.k8s.api.core.v1.WindowsSecurityContextOptions" + } + } + }, + "io.k8s.api.core.v1.Service": { + "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceSpec" + }, + "status": { + "description": "Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Service", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ServiceAccount": { + "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", + "type": "object", + "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" + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level.", + "type": "boolean" + }, + "imagePullSecrets": { + "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "secrets": { + "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ServiceAccount", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ServiceAccountList": { + "description": "ServiceAccountList is a list of ServiceAccount objects", + "type": "object", + "required": [ + "items" + ], + "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": "List of ServiceAccounts. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ServiceAccountList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "type": "object", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.ServiceList": { + "description": "ServiceList holds a list of services.", + "type": "object", + "required": [ + "items" + ], + "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": "List of services", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ServiceList", + "version": "v1" + } + ] + }, + "io.k8s.api.core.v1.ServicePort": { + "description": "ServicePort contains information on service's port.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.", + "type": "string" + }, + "nodePort": { + "description": "The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport", + "type": "integer", + "format": "int32" + }, + "port": { + "description": "The port that will be exposed by this service.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + }, + "targetPort": { + "description": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.k8s.api.core.v1.ServiceSpec": { + "description": "ServiceSpec describes the attributes that a user creates on a service.", + "type": "object", + "properties": { + "allocateLoadBalancerNodePorts": { + "description": "allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.", + "type": "boolean" + }, + "clusterIP": { + "description": "clusterIP is the IP address of the service and is usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "string" + }, + "clusterIPs": { + "description": "ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above). Valid values are \"None\", empty string (\"\"), or a valid IP address. Setting this to \"None\" makes a \"headless service\" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. If this field is not specified, it will be initialized from the clusterIP field. If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value.\n\nThis field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "externalIPs": { + "description": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "externalName": { + "description": "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\".", + "type": "string" + }, + "externalTrafficPolicy": { + "description": "externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node.\n\nPossible enum values:\n - `\"Cluster\"` routes traffic to all endpoints.\n - `\"Local\"` preserves the source IP of the traffic by routing only to endpoints on the same node as the traffic was received on (dropping the traffic if there are no local endpoints).", + "type": "string", + "enum": [ + "Cluster", + "Local" + ] + }, + "healthCheckNodePort": { + "description": "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set.", + "type": "integer", + "format": "int32" + }, + "internalTrafficPolicy": { + "description": "InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to \"Local\", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features).\n\nPossible enum values:\n - `\"Cluster\"` routes traffic to all endpoints.\n - `\"Local\"` routes traffic only to endpoints on the same node as the client pod (dropping the traffic if there are no local endpoints).", + "type": "string", + "enum": [ + "Cluster", + "Local" + ] + }, + "ipFamilies": { + "description": "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "", + "IPv4", + "IPv6" + ] + }, + "x-kubernetes-list-type": "atomic" + }, + "ipFamilyPolicy": { + "description": "IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. If there is no value provided, then this field will be set to SingleStack. Services can be \"SingleStack\" (a single IP family), \"PreferDualStack\" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or \"RequireDualStack\" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.\n\nPossible enum values:\n - `\"PreferDualStack\"` indicates that this service prefers dual-stack when the cluster is configured for dual-stack. If the cluster is not configured for dual-stack the service will be assigned a single IPFamily. If the IPFamily is not set in service.spec.ipFamilies then the service will be assigned the default IPFamily configured on the cluster\n - `\"RequireDualStack\"` indicates that this service requires dual-stack. Using IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If service.spec.ipFamilies was not provided then it will be assigned according to how they are configured on the cluster. If service.spec.ipFamilies has only one entry then the alternative IPFamily will be added by apiserver\n - `\"SingleStack\"` indicates that this service is required to have a single IPFamily. The IPFamily assigned is based on the default IPFamily used by the cluster or as identified by service.spec.ipFamilies field", + "type": "string", + "enum": [ + "PreferDualStack", + "RequireDualStack", + "SingleStack" + ] + }, + "loadBalancerClass": { + "description": "loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.", + "type": "string" + }, + "loadBalancerIP": { + "description": "Only applies to Service Type: LoadBalancer. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available.", + "type": "string" + }, + "loadBalancerSourceRanges": { + "description": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "description": "The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServicePort" + }, + "x-kubernetes-list-map-keys": [ + "port", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "port", + "x-kubernetes-patch-strategy": "merge" + }, + "publishNotReadyAddresses": { + "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.", + "type": "boolean" + }, + "selector": { + "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "sessionAffinity": { + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n\nPossible enum values:\n - `\"ClientIP\"` is the Client IP based.\n - `\"None\"` - no session affinity.", + "type": "string", + "enum": [ + "ClientIP", + "None" + ] + }, + "sessionAffinityConfig": { + "description": "sessionAffinityConfig contains the configurations of session affinity.", + "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig" + }, + "trafficDistribution": { + "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature.", + "type": "string" + }, + "type": { + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types\n\nPossible enum values:\n - `\"ClusterIP\"` means a service will only be accessible inside the cluster, via the cluster IP.\n - `\"ExternalName\"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.\n - `\"LoadBalancer\"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.\n - `\"NodePort\"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.", + "type": "string", + "enum": [ + "ClusterIP", + "ExternalName", + "LoadBalancer", + "NodePort" + ] + } + } + }, + "io.k8s.api.core.v1.ServiceStatus": { + "description": "ServiceStatus represents the current status of a service.", + "type": "object", + "properties": { + "conditions": { + "description": "Current service state", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "loadBalancer": { + "description": "LoadBalancer contains the current status of the load-balancer, if one is present.", + "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus" + } + } + }, + "io.k8s.api.core.v1.SessionAffinityConfig": { + "description": "SessionAffinityConfig represents the configurations of session affinity.", + "type": "object", + "properties": { + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "$ref": "#/definitions/io.k8s.api.core.v1.ClientIPConfig" + } + } + }, + "io.k8s.api.core.v1.SleepAction": { + "description": "SleepAction describes a \"sleep\" action.", + "type": "object", + "required": [ + "seconds" + ], + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.StorageOSVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", + "type": "object", + "properties": { + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name of a property to set", + "type": "string" + }, + "value": { + "description": "Value of a property to set", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", + "type": "object", + "required": [ + "port" + ], + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", + "type": "string" + }, + "port": { + "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + } + } + }, + "io.k8s.api.core.v1.Taint": { + "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", + "type": "object", + "required": [ + "key", + "effect" + ], + "properties": { + "effect": { + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", + "type": "string", + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ] + }, + "key": { + "description": "Required. The taint key to be applied to a node.", + "type": "string" + }, + "timeAdded": { + "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "value": { + "description": "The taint value corresponding to the taint key.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Toleration": { + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", + "type": "object", + "properties": { + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", + "type": "string", + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ] + }, + "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.", + "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 pod can tolerate all taints of a particular category.\n\nPossible enum values:\n - `\"Equal\"`\n - `\"Exists\"`", + "type": "string", + "enum": [ + "Equal", + "Exists" + ] + }, + "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.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", + "type": "object", + "required": [ + "key", + "values" + ], + "properties": { + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.core.v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "type": "object", + "properties": { + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.TopologySpreadConstraint": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "type": "object", + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "labelSelector": { + "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" + }, + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.", + "type": "integer", + "format": "int32" + }, + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.", + "type": "string", + "enum": [ + "Honor", + "Ignore" + ] + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.", + "type": "string", + "enum": [ + "Honor", + "Ignore" + ] + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.\n\nPossible enum values:\n - `\"DoNotSchedule\"` instructs the scheduler not to schedule the pod when constraints are not satisfied.\n - `\"ScheduleAnyway\"` instructs the scheduler to schedule the pod even if constraints are not satisfied.", + "type": "string", + "enum": [ + "DoNotSchedule", + "ScheduleAnyway" + ] + } + } + }, + "io.k8s.api.core.v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.core.v1.TypedObjectReference": { + "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.Volume": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource" + }, + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource" + }, + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" + }, + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" + }, + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" + }, + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource" + }, + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" + }, + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.", + "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralVolumeSource" + }, + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" + }, + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource" + }, + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" + }, + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" + }, + "glusterfs": { + "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", + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource" + }, + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource" + }, + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "$ref": "#/definitions/io.k8s.api.core.v1.ImageVolumeSource" + }, + "iscsi": { + "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", + "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource" + }, + "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", + "type": "string" + }, + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" + }, + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" + }, + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" + }, + "rbd": { + "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", + "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource" + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource" + }, + "secret": { + "description": "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource" + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" + } + } + }, + "io.k8s.api.core.v1.VolumeDevice": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "type": "object", + "required": [ + "name", + "devicePath" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.VolumeMount": { + "description": "VolumeMount describes a mounting of a Volume within a container.", + "type": "object", + "required": [ + "name", + "mountPath" + ], + "properties": { + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", + "type": "string" + }, + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).\n\nPossible enum values:\n - `\"Bidirectional\"` means that the volume in a container will receive new mounts from the host or other containers, and its own mounts will be propagated from the container to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rshared\" in Linux terminology).\n - `\"HostToContainer\"` means that the volume in a container will receive new mounts from the host or other containers, but filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rslave\" in Linux terminology).\n - `\"None\"` means that the volume in a container will not receive new mounts from the host or other containers, and filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode corresponds to \"private\" in Linux terminology.", + "type": "string", + "enum": [ + "Bidirectional", + "HostToContainer", + "None" + ] + }, + "name": { + "description": "This must match the Name of a Volume.", + "type": "string" + }, + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", + "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "type": "string" + }, + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.VolumeMountStatus": { + "description": "VolumeMountStatus shows status of volume mounts.", + "type": "object", + "required": [ + "name", + "mountPath" + ], + "properties": { + "mountPath": { + "description": "MountPath corresponds to the original VolumeMount.", + "type": "string" + }, + "name": { + "description": "Name corresponds to the name of the original VolumeMount.", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly corresponds to the original VolumeMount.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "type": "object", + "properties": { + "required": { + "description": "required specifies hard node constraints that must be met.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" + } + } + }, + "io.k8s.api.core.v1.VolumeProjection": { + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", + "type": "object", + "properties": { + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.", + "$ref": "#/definitions/io.k8s.api.core.v1.ClusterTrustBundleProjection" + }, + "configMap": { + "description": "configMap information about the configMap data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection" + }, + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection" + }, + "secret": { + "description": "secret information about the secret data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" + } + } + }, + "io.k8s.api.core.v1.VolumeResourceRequirements": { + "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", + "type": "object", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + } + }, + "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { + "description": "Represents a vSphere volume resource.", + "type": "object", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", + "type": "string" + } + } + }, + "io.k8s.api.core.v1.WeightedPodAffinityTerm": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "type": "object", + "required": [ + "weight", + "podAffinityTerm" + ], + "properties": { + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + }, + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.core.v1.WindowsSecurityContextOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "type": "object", + "properties": { + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" + }, + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" + }, + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" + }, + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" + } + } + }, + "io.k8s.api.discovery.v1.Endpoint": { + "description": "Endpoint represents a single logical \"backend\" implementing a service.", + "type": "object", + "required": [ + "addresses" + ], + "properties": { + "addresses": { + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "conditions": { + "description": "conditions contains information about the current status of the endpoint.", + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointConditions" + }, + "deprecatedTopology": { + "description": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "hints": { + "description": "hints contains information associated with how an endpoint should be consumed.", + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointHints" + }, + "hostname": { + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", + "type": "string" + }, + "nodeName": { + "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.", + "type": "string" + }, + "targetRef": { + "description": "targetRef is a reference to a Kubernetes object that represents this endpoint.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "zone": { + "description": "zone is the name of the Zone this endpoint exists in.", + "type": "string" + } + } + }, + "io.k8s.api.discovery.v1.EndpointConditions": { + "description": "EndpointConditions represents the current condition of an endpoint.", + "type": "object", + "properties": { + "ready": { + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.", + "type": "boolean" + }, + "serving": { + "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.", + "type": "boolean" + }, + "terminating": { + "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.", + "type": "boolean" + } + } + }, + "io.k8s.api.discovery.v1.EndpointHints": { + "description": "EndpointHints provides hints describing how an endpoint should be consumed.", + "type": "object", + "properties": { + "forZones": { + "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.ForZone" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.discovery.v1.EndpointPort": { + "description": "EndpointPort represents a Port used by an EndpointSlice", + "type": "object", + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "type": "string" + }, + "port": { + "description": "port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.discovery.v1.EndpointSlice": { + "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "type": "object", + "required": [ + "addressType", + "endpoints" + ], + "properties": { + "addressType": { + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.\n\nPossible enum values:\n - `\"FQDN\"` represents a FQDN.\n - `\"IPv4\"` represents an IPv4 Address.\n - `\"IPv6\"` represents an IPv6 Address.", + "type": "string", + "enum": [ + "FQDN", + "IPv4", + "IPv6" + ] + }, + "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" + }, + "endpoints": { + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.Endpoint" + }, + "x-kubernetes-list-type": "atomic" + }, + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "ports": { + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointPort" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1" + } + ] + }, + "io.k8s.api.discovery.v1.EndpointSliceList": { + "description": "EndpointSliceList represents a list of endpoint slices", + "type": "object", + "required": [ + "items" + ], + "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 endpoint slices", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, + "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": { + "description": "Standard list metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSliceList", + "version": "v1" + } + ] + }, + "io.k8s.api.discovery.v1.ForZone": { + "description": "ForZone provides information about which zones should consume this endpoint.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name represents the name of the zone.", + "type": "string" + } + } + }, + "io.k8s.api.events.v1.Event": { + "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", + "type": "object", + "required": [ + "eventTime" + ], + "properties": { + "action": { + "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.", + "type": "string" + }, + "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" + }, + "deprecatedCount": { + "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.", + "type": "integer", + "format": "int32" + }, + "deprecatedFirstTimestamp": { + "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "deprecatedLastTimestamp": { + "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "deprecatedSource": { + "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.", + "$ref": "#/definitions/io.k8s.api.core.v1.EventSource" + }, + "eventTime": { + "description": "eventTime is the time when this Event was first observed. It is required.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "note": { + "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", + "type": "string" + }, + "reason": { + "description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.", + "type": "string" + }, + "regarding": { + "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "related": { + "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "reportingController": { + "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.", + "type": "string" + }, + "reportingInstance": { + "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.", + "type": "string" + }, + "series": { + "description": "series is data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/io.k8s.api.events.v1.EventSeries" + }, + "type": { + "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + ] + }, + "io.k8s.api.events.v1.EventList": { + "description": "EventList is a list of Event objects.", + "type": "object", + "required": [ + "items" + ], + "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 list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "events.k8s.io", + "kind": "EventList", + "version": "v1" + } + ] + }, + "io.k8s.api.events.v1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.", + "type": "object", + "required": [ + "count", + "lastObservedTime" + ], + "properties": { + "count": { + "description": "count is the number of occurrences in this series up to the last heartbeat time.", + "type": "integer", + "format": "int32" + }, + "lastObservedTime": { + "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + } + } + }, + "io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration": { + "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", + "type": "object", + "properties": { + "lendablePercent": { + "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", + "type": "integer", + "format": "int32" + }, + "nominalConcurrencyShares": { + "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod": { + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", + "type": "string" + } + } + }, + "io.k8s.api.flowcontrol.v1.FlowSchema": { + "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", + "type": "object", + "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": { + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaSpec" + }, + "status": { + "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + ] + }, + "io.k8s.api.flowcontrol.v1.FlowSchemaCondition": { + "description": "FlowSchemaCondition describes conditions for a FlowSchema.", + "type": "object", + "properties": { + "lastTransitionTime": { + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + } + }, + "io.k8s.api.flowcontrol.v1.FlowSchemaList": { + "description": "FlowSchemaList is a list of FlowSchema objects.", + "type": "object", + "required": [ + "items" + ], + "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 list of FlowSchemas.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + } + }, + "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": { + "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchemaList", + "version": "v1" + } + ] + }, + "io.k8s.api.flowcontrol.v1.FlowSchemaSpec": { + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", + "type": "object", + "required": [ + "priorityLevelConfiguration" + ], + "properties": { + "distinguisherMethod": { + "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod" + }, + "matchingPrecedence": { + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", + "type": "integer", + "format": "int32" + }, + "priorityLevelConfiguration": { + "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference" + }, + "rules": { + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.flowcontrol.v1.FlowSchemaStatus": { + "description": "FlowSchemaStatus represents the current state of a FlowSchema.", + "type": "object", + "properties": { + "conditions": { + "description": "`conditions` is a list of the current states of FlowSchema.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.api.flowcontrol.v1.GroupSubject": { + "description": "GroupSubject holds detailed information for group-kind subject.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "type": "string" + } + } + }, + "io.k8s.api.flowcontrol.v1.LimitResponse": { + "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "queuing": { + "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.QueuingConfiguration" + }, + "type": { + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "type": "string" + } + }, + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "queuing": "Queuing" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration": { + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", + "type": "object", + "properties": { + "borrowingLimitPercent": { + "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.", + "type": "integer", + "format": "int32" + }, + "lendablePercent": { + "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", + "type": "integer", + "format": "int32" + }, + "limitResponse": { + "description": "`limitResponse` indicates what to do with requests that can not be executed right now", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitResponse" + }, + "nominalConcurrencyShares": { + "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.flowcontrol.v1.NonResourcePolicyRule": { + "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", + "type": "object", + "required": [ + "verbs", + "nonResourceURLs" + ], + "properties": { + "nonResourceURLs": { + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + } + } + }, + "io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects": { + "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "type": "object", + "required": [ + "subjects" + ], + "properties": { + "nonResourceRules": { + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.NonResourcePolicyRule" + }, + "x-kubernetes-list-type": "atomic" + }, + "resourceRules": { + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ResourcePolicyRule" + }, + "x-kubernetes-list-type": "atomic" + }, + "subjects": { + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.Subject" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration": { + "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "type": "object", + "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": { + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec" + }, + "status": { + "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + ] + }, + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition": { + "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", + "type": "object", + "properties": { + "lastTransitionTime": { + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + } + }, + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList": { + "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", + "type": "object", + "required": [ + "items" + ], + "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 list of request-priorities.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + } + }, + "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": { + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfigurationList", + "version": "v1" + } + ] + }, + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference": { + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the priority level configuration being referenced Required.", + "type": "string" + } + } + }, + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec": { + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "type": "object", + "required": [ + "type" + ], + "properties": { + "exempt": { + "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration" + }, + "limited": { + "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration" + }, + "type": { + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "type": "string" + } + }, + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "exempt": "Exempt", + "limited": "Limited" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus": { + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", + "type": "object", + "properties": { + "conditions": { + "description": "`conditions` is the current state of \"request-priority\".", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.api.flowcontrol.v1.QueuingConfiguration": { + "description": "QueuingConfiguration holds the configuration parameters for queuing", + "type": "object", + "properties": { + "handSize": { + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", + "type": "integer", + "format": "int32" + }, + "queueLengthLimit": { + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", + "type": "integer", + "format": "int32" + }, + "queues": { + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.flowcontrol.v1.ResourcePolicyRule": { + "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", + "type": "object", + "required": [ + "verbs", + "apiGroups", + "resources" + ], + "properties": { + "apiGroups": { + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "clusterScope": { + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", + "type": "boolean" + }, + "namespaces": { + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "resources": { + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + } + } + }, + "io.k8s.api.flowcontrol.v1.ServiceAccountSubject": { + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", + "type": "object", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", + "type": "string" + } + } + }, + "io.k8s.api.flowcontrol.v1.Subject": { + "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "type": "object", + "required": [ + "kind" + ], + "properties": { + "group": { + "description": "`group` matches based on user group name.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.GroupSubject" + }, + "kind": { + "description": "`kind` indicates which one of the other fields is non-empty. Required", + "type": "string" + }, + "serviceAccount": { + "description": "`serviceAccount` matches ServiceAccounts.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ServiceAccountSubject" + }, + "user": { + "description": "`user` matches based on username.", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.UserSubject" + } + }, + "x-kubernetes-unions": [ + { + "discriminator": "kind", + "fields-to-discriminateBy": { + "group": "Group", + "serviceAccount": "ServiceAccount", + "user": "User" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1.UserSubject": { + "description": "UserSubject holds detailed information for user-kind subject.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "type": "string" + } + } + }, + "io.k8s.api.networking.v1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", + "type": "object", + "required": [ + "pathType", + "backend" + ], + "properties": { + "backend": { + "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to.", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend" + }, + "path": { + "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".", + "type": "string" + }, + "pathType": { + "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.\n\nPossible enum values:\n - `\"Exact\"` matches the URL path exactly and with case sensitivity.\n - `\"ImplementationSpecific\"` matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types.\n - `\"Prefix\"` matches based on a URL path prefix split by '/'. Matching is case sensitive and done on a path element by element basis. A path element refers to the list of labels in the path split by the '/' separator. A request is a match for path p if every p is an element-wise prefix of p of the request path. Note that if the last element of the path is a substring of the last element in request path, it is not a match (e.g. /foo/bar matches /foo/bar/baz, but does not match /foo/barbaz). If multiple matching paths exist in an Ingress spec, the longest matching path is given priority. Examples: - /foo/bar does not match requests to /foo/barbaz - /foo/bar matches request to /foo/bar and /foo/bar/baz - /foo and /foo/ both match requests to /foo and /foo/. If both paths are present in an Ingress spec, the longest matching path (/foo/) is given priority.", + "type": "string", + "enum": [ + "Exact", + "ImplementationSpecific", + "Prefix" + ] + } + } + }, + "io.k8s.api.networking.v1.HTTPIngressRuleValue": { + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", + "type": "object", + "required": [ + "paths" + ], + "properties": { + "paths": { + "description": "paths is a collection of paths that map requests to backends.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressPath" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.IPBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "type": "object", + "required": [ + "cidr" + ], + "properties": { + "cidr": { + "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", + "type": "string" + }, + "except": { + "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.Ingress": { + "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressSpec" + }, + "status": { + "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + ] + }, + "io.k8s.api.networking.v1.IngressBackend": { + "description": "IngressBackend describes all endpoints for a given service and port.", + "type": "object", + "properties": { + "resource": { + "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\".", + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference" + }, + "service": { + "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\".", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressServiceBackend" + } + } + }, + "io.k8s.api.networking.v1.IngressClass": { + "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + ] + }, + "io.k8s.api.networking.v1.IngressClassList": { + "description": "IngressClassList is a collection of IngressClasses.", + "type": "object", + "required": [ + "items" + ], + "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 IngressClasses.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, + "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": { + "description": "Standard list metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressClassList", + "version": "v1" + } + ] + }, + "io.k8s.api.networking.v1.IngressClassParametersReference": { + "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "kind is the type of resource being referenced.", + "type": "string" + }, + "name": { + "description": "name is the name of resource being referenced.", + "type": "string" + }, + "namespace": { + "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", + "type": "string" + }, + "scope": { + "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".", + "type": "string" + } + } + }, + "io.k8s.api.networking.v1.IngressClassSpec": { + "description": "IngressClassSpec provides information about the class of an Ingress.", + "type": "object", + "properties": { + "controller": { + "description": "controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", + "type": "string" + }, + "parameters": { + "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassParametersReference" + } + } + }, + "io.k8s.api.networking.v1.IngressList": { + "description": "IngressList is a collection of Ingress.", + "type": "object", + "required": [ + "items" + ], + "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 Ingress.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressList", + "version": "v1" + } + ] + }, + "io.k8s.api.networking.v1.IngressLoadBalancerIngress": { + "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", + "type": "object", + "properties": { + "hostname": { + "description": "hostname is set for load-balancer ingress points that are DNS based.", + "type": "string" + }, + "ip": { + "description": "ip is set for load-balancer ingress points that are IP based.", + "type": "string" + }, + "ports": { + "description": "ports provides information about the ports exposed by this LoadBalancer.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressPortStatus" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.IngressLoadBalancerStatus": { + "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", + "type": "object", + "properties": { + "ingress": { + "description": "ingress is a list containing ingress points for the load-balancer.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressLoadBalancerIngress" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.IngressPortStatus": { + "description": "IngressPortStatus represents the error condition of a service port", + "type": "object", + "required": [ + "port", + "protocol" + ], + "properties": { + "error": { + "description": "error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", + "type": "string" + }, + "port": { + "description": "port is the port number of the ingress port.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + } + }, + "io.k8s.api.networking.v1.IngressRule": { + "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", + "type": "object", + "properties": { + "host": { + "description": "host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nhost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", + "type": "string" + }, + "http": { + "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressRuleValue" + } + } + }, + "io.k8s.api.networking.v1.IngressServiceBackend": { + "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object.", + "type": "string" + }, + "port": { + "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend.", + "$ref": "#/definitions/io.k8s.api.networking.v1.ServiceBackendPort" + } + } + }, + "io.k8s.api.networking.v1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", + "type": "object", + "properties": { + "defaultBackend": { + "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend" + }, + "ingressClassName": { + "description": "ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.", + "type": "string" + }, + "rules": { + "description": "rules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressRule" + }, + "x-kubernetes-list-type": "atomic" + }, + "tls": { + "description": "tls represents the TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressTLS" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", + "type": "object", + "properties": { + "loadBalancer": { + "description": "loadBalancer contains the current status of the load-balancer.", + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressLoadBalancerStatus" + } + } + }, + "io.k8s.api.networking.v1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an ingress.", + "type": "object", + "properties": { + "hosts": { + "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "secretName": { + "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", + "type": "string" + } + } + }, + "io.k8s.api.networking.v1.NetworkPolicy": { + "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec represents the specification of the desired behavior for this NetworkPolicy.", + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + ] + }, + "io.k8s.api.networking.v1.NetworkPolicyEgressRule": { + "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", + "type": "object", + "properties": { + "ports": { + "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + }, + "x-kubernetes-list-type": "atomic" + }, + "to": { + "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.NetworkPolicyIngressRule": { + "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", + "type": "object", + "properties": { + "from": { + "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + }, + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.NetworkPolicyList": { + "description": "NetworkPolicyList is a list of NetworkPolicy objects.", + "type": "object", + "required": [ + "items" + ], + "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 list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "NetworkPolicyList", + "version": "v1" + } + ] + }, + "io.k8s.api.networking.v1.NetworkPolicyPeer": { + "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", + "type": "object", + "properties": { + "ipBlock": { + "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", + "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock" + }, + "namespaceSelector": { + "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "podSelector": { + "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + } + } + }, + "io.k8s.api.networking.v1.NetworkPolicyPort": { + "description": "NetworkPolicyPort describes a port to allow traffic on", + "type": "object", + "properties": { + "endPort": { + "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", + "type": "integer", + "format": "int32" + }, + "port": { + "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "protocol": { + "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + } + }, + "io.k8s.api.networking.v1.NetworkPolicySpec": { + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", + "type": "object", + "required": [ + "podSelector" + ], + "properties": { + "egress": { + "description": "egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" + }, + "x-kubernetes-list-type": "atomic" + }, + "ingress": { + "description": "ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" + }, + "x-kubernetes-list-type": "atomic" + }, + "podSelector": { + "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.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "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", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Egress", + "Ingress" + ] + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.networking.v1.ServiceBackendPort": { + "description": "ServiceBackendPort is the service port being referenced.", + "type": "object", + "properties": { + "name": { + "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".", + "type": "string" + }, + "number": { + "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.node.v1.Overhead": { + "description": "Overhead structure represents the resource overhead associated with running a pod.", + "type": "object", + "properties": { + "podFixed": { + "description": "podFixed represents the fixed resource overhead associated with running a pod.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + } + }, + "io.k8s.api.node.v1.RuntimeClass": { + "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", + "type": "object", + "required": [ + "handler" + ], + "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" + }, + "handler": { + "description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and 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": { + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "overhead": { + "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/", + "$ref": "#/definitions/io.k8s.api.node.v1.Overhead" + }, + "scheduling": { + "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.", + "$ref": "#/definitions/io.k8s.api.node.v1.Scheduling" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" + } + ] + }, + "io.k8s.api.node.v1.RuntimeClassList": { + "description": "RuntimeClassList is a list of RuntimeClass objects.", + "type": "object", + "required": [ + "items" + ], + "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 list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, + "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": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "node.k8s.io", + "kind": "RuntimeClassList", + "version": "v1" + } + ] + }, + "io.k8s.api.node.v1.Scheduling": { + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", + "type": "object", + "properties": { + "nodeSelector": { + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" + }, + "tolerations": { + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.policy.v1.Eviction": { + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "type": "object", + "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" + }, + "deleteOptions": { + "description": "DeleteOptions may be provided", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + }, + "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": { + "description": "ObjectMeta describes the pod that is being evicted.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "Eviction", + "version": "v1" + } + ] + }, + "io.k8s.api.policy.v1.PodDisruptionBudget": { + "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the PodDisruptionBudget.", + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec" + }, + "status": { + "description": "Most recently observed status of the PodDisruptionBudget.", + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + ] + }, + "io.k8s.api.policy.v1.PodDisruptionBudgetList": { + "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", + "type": "object", + "required": [ + "items" + ], + "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 list of PodDisruptionBudgets", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodDisruptionBudgetList", + "version": "v1" + } + ] + }, + "io.k8s.api.policy.v1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", + "type": "object", + "properties": { + "maxUnavailable": { + "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "minAvailable": { + "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" + }, + "selector": { + "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "x-kubernetes-patch-strategy": "replace" + }, + "unhealthyPodEvictionPolicy": { + "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).\n\nPossible enum values:\n - `\"AlwaysAllow\"` policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n - `\"IfHealthyBudget\"` policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.", + "type": "string", + "enum": [ + "AlwaysAllow", + "IfHealthyBudget" + ] + } + } + }, + "io.k8s.api.policy.v1.PodDisruptionBudgetStatus": { + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", + "type": "object", + "required": [ + "disruptionsAllowed", + "currentHealthy", + "desiredHealthy", + "expectedPods" + ], + "properties": { + "conditions": { + "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "currentHealthy": { + "description": "current number of healthy pods", + "type": "integer", + "format": "int32" + }, + "desiredHealthy": { + "description": "minimum desired number of healthy pods", + "type": "integer", + "format": "int32" + }, + "disruptedPods": { + "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "disruptionsAllowed": { + "description": "Number of pod disruptions that are currently allowed.", + "type": "integer", + "format": "int32" + }, + "expectedPods": { + "description": "total number of pods counted by this disruption budget", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.rbac.v1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "type": "object", + "properties": { + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.rbac.v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "type": "object", + "properties": { + "aggregationRule": { + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.", + "$ref": "#/definitions/io.k8s.api.rbac.v1.AggregationRule" + }, + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", + "type": "object", + "required": [ + "roleRef" + ], + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "roleRef": { + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.", + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef" + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "type": "object", + "required": [ + "items" + ], + "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 list of ClusterRoleBindings", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", + "type": "object", + "required": [ + "items" + ], + "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 list of ClusterRoles", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "type": "object", + "required": [ + "verbs" + ], + "properties": { + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { + "type": "string" + }, + "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.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. '*' represents all resources.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.rbac.v1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "type": "object", + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.RoleBinding": { + "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", + "type": "object", + "required": [ + "roleRef" + ], + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "roleRef": { + "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.", + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef" + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", + "type": "object", + "required": [ + "items" + ], + "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 list of RoleBindings", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.RoleList": { + "description": "RoleList is a collection of Roles", + "type": "object", + "required": [ + "items" + ], + "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 list of Roles", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, + "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": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1" + } + ] + }, + "io.k8s.api.rbac.v1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", + "type": "object", + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.rbac.v1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "type": "object", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", + "type": "string" + }, + "kind": { + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "type": "string" + }, + "name": { + "description": "Name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.scheduling.v1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "type": "object", + "required": [ + "value" + ], + "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" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "type": "boolean" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "preemptionPolicy": { + "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.\n\nPossible enum values:\n - `\"Never\"` means that pod never preempts other pods with lower priority.\n - `\"PreemptLowerPriority\"` means that pod can preempt other pods with lower priority.", + "type": "string", + "enum": [ + "Never", + "PreemptLowerPriority" + ] + }, + "value": { + "description": "value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + ] + }, + "io.k8s.api.scheduling.v1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", + "type": "object", + "required": [ + "items" + ], + "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 PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSIDriver": { + "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec represents the specification of the CSI Driver.", + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSIDriverList": { + "description": "CSIDriverList is a collection of CSIDriver objects.", + "type": "object", + "required": [ + "items" + ], + "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 CSIDriver", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSIDriverList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSIDriverSpec": { + "description": "CSIDriverSpec is the specification of a CSIDriver.", + "type": "object", + "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.", + "type": "boolean" + }, + "fsGroupPolicy": { + "description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.", + "type": "string" + }, + "podInfoOnMount": { + "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.", + "type": "boolean" + }, + "requiresRepublish": { + "description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.", + "type": "boolean" + }, + "seLinuxMount": { + "description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".", + "type": "boolean" + }, + "storageCapacity": { + "description": "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable.", + "type": "boolean" + }, + "tokenRequests": { + "description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.TokenRequest" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumeLifecycleModes": { + "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.\n\nFor more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is beta. This field is immutable.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set" + } + } + }, + "io.k8s.api.storage.v1.CSINode": { + "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata. metadata.name must be the Kubernetes node name.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec is the specification of CSINode", + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSINodeDriver": { + "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", + "type": "object", + "required": [ + "name", + "nodeID" + ], + "properties": { + "allocatable": { + "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeNodeResources" + }, + "name": { + "description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", + "type": "string" + }, + "nodeID": { + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", + "type": "string" + }, + "topologyKeys": { + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.api.storage.v1.CSINodeList": { + "description": "CSINodeList is a collection of CSINode objects.", + "type": "object", + "required": [ + "items" + ], + "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 CSINode", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINodeList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSINodeSpec": { + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", + "type": "object", + "required": [ + "drivers" + ], + "properties": { + "drivers": { + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeDriver" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.api.storage.v1.CSIStorageCapacity": { + "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.", + "type": "object", + "required": [ + "storageClassName" + ], + "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" + }, + "capacity": { + "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "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" + }, + "maximumVolumeSize": { + "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "metadata": { + "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "nodeTopology": { + "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "storageClassName": { + "description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSIStorageCapacityList": { + "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.", + "type": "object", + "required": [ + "items" + ], + "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 CSIStorageCapacity objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacityList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.StorageClass": { + "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", + "type": "object", + "required": [ + "provisioner" + ], + "properties": { + "allowVolumeExpansion": { + "description": "allowVolumeExpansion shows whether the storage class allow volume expand.", + "type": "boolean" + }, + "allowedTopologies": { + "description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm" + }, + "x-kubernetes-list-type": "atomic" + }, + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "mountOptions": { + "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "parameters": { + "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioner": { + "description": "provisioner indicates the type of the provisioner.", + "type": "string" + }, + "reclaimPolicy": { + "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.", + "type": "string", + "enum": [ + "Delete", + "Recycle", + "Retain" + ] + }, + "volumeBindingMode": { + "description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.\n\nPossible enum values:\n - `\"Immediate\"` indicates that PersistentVolumeClaims should be immediately provisioned and bound. This is the default mode.\n - `\"WaitForFirstConsumer\"` indicates that PersistentVolumeClaims should not be provisioned and bound until the first Pod is created that references the PeristentVolumeClaim. The volume provisioning and binding will occur during Pod scheduing.", + "type": "string", + "enum": [ + "Immediate", + "WaitForFirstConsumer" + ] + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", + "type": "object", + "required": [ + "items" + ], + "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 StorageClasses", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.TokenRequest": { + "description": "TokenRequest contains parameters of a service account token.", + "type": "object", + "required": [ + "audience" + ], + "properties": { + "audience": { + "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".", + "type": "integer", + "format": "int64" + } + } + }, + "io.k8s.api.storage.v1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSpec" + }, + "status": { + "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "type": "object", + "required": [ + "items" + ], + "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 VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.", + "type": "object", + "properties": { + "inlineVolumeSpec": { + "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec" + }, + "persistentVolumeName": { + "description": "persistentVolumeName represents the name of the persistent volume to attach.", + "type": "string" + } + } + }, + "io.k8s.api.storage.v1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "type": "object", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "nodeName represents the node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "source represents the volume that should be attached.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSource" + } + } + }, + "io.k8s.api.storage.v1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "type": "object", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError" + }, + "attached": { + "description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError" + } + } + }, + "io.k8s.api.storage.v1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", + "type": "object", + "properties": { + "message": { + "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "time represents the time the error was encountered.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.api.storage.v1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", + "type": "object", + "properties": { + "count": { + "description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", + "type": "object", + "required": [ + "name", + "type", + "jsonPath" + ], + "properties": { + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "type": "string" + }, + "jsonPath": { + "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion": { + "description": "CustomResourceConversion describes how to convert different versions of a CR.", + "type": "object", + "required": [ + "strategy" + ], + "properties": { + "strategy": { + "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.", + "type": "string" + }, + "webhook": { + "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition": { + "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", + "type": "object", + "required": [ + "spec" + ], + "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": { + "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec describes how the user wants the resources to appear", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec" + }, + "status": { + "description": "status indicates the actual state of the CustomResourceDefinition", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1" + } + ] + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition": { + "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList": { + "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", + "type": "object", + "required": [ + "items" + ], + "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 list individual CustomResourceDefinition objects", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition" + } + }, + "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": { + "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1" + } + ] + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames": { + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", + "type": "object", + "required": [ + "plural", + "kind" + ], + "properties": { + "categories": { + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "kind": { + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", + "type": "string" + }, + "listKind": { + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", + "type": "string" + }, + "plural": { + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", + "type": "string" + }, + "shortNames": { + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "singular": { + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", + "type": "object", + "required": [ + "group", + "names", + "scope", + "versions" + ], + "properties": { + "conversion": { + "description": "conversion defines conversion settings for the CRD.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion" + }, + "group": { + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", + "type": "string" + }, + "names": { + "description": "names specify the resource and kind names for the custom resource.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames" + }, + "preserveUnknownFields": { + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.", + "type": "boolean" + }, + "scope": { + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.", + "type": "string" + }, + "versions": { + "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus": { + "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", + "type": "object", + "properties": { + "acceptedNames": { + "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames" + }, + "conditions": { + "description": "conditions indicate state for particular aspects of a CustomResourceDefinition", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + }, + "storedVersions": { + "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", + "type": "object", + "required": [ + "name", + "served", + "storage" + ], + "properties": { + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition" + }, + "x-kubernetes-list-type": "atomic" + }, + "deprecated": { + "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.", + "type": "boolean" + }, + "deprecationWarning": { + "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.", + "type": "string" + }, + "name": { + "description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true.", + "type": "string" + }, + "schema": { + "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation" + }, + "selectableFields": { + "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField" + }, + "x-kubernetes-list-type": "atomic" + }, + "served": { + "description": "served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.", + "type": "boolean" + }, + "subresources": { + "description": "subresources specify what subresources this version of the defined custom resource have.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", + "type": "object", + "required": [ + "specReplicasPath", + "statusReplicasPath" + ], + "properties": { + "labelSelectorPath": { + "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.", + "type": "string" + }, + "specReplicasPath": { + "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.", + "type": "string" + }, + "statusReplicasPath": { + "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus": { + "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", + "type": "object" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources": { + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", + "type": "object", + "properties": { + "scale": { + "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale" + }, + "status": { + "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation": { + "description": "CustomResourceValidation is a list of validation methods for CustomResources.", + "type": "object", + "properties": { + "openAPIV3Schema": { + "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON": { + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps": { + "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", + "type": "object", + "properties": { + "$ref": { + "type": "string" + }, + "$schema": { + "type": "string" + }, + "additionalItems": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" + }, + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool" + }, + "allOf": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "x-kubernetes-list-type": "atomic" + }, + "anyOf": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "x-kubernetes-list-type": "atomic" + }, + "default": { + "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + }, + "definitions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + } + }, + "dependencies": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray" + } + }, + "description": { + "type": "string" + }, + "enum": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + }, + "x-kubernetes-list-type": "atomic" + }, + "example": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + }, + "exclusiveMaximum": { + "type": "boolean" + }, + "exclusiveMinimum": { + "type": "boolean" + }, + "externalDocs": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" + }, + "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", + "type": "string" + }, + "id": { + "type": "string" + }, + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" + }, + "maxItems": { + "type": "integer", + "format": "int64" + }, + "maxLength": { + "type": "integer", + "format": "int64" + }, + "maxProperties": { + "type": "integer", + "format": "int64" + }, + "maximum": { + "type": "number", + "format": "double" + }, + "minItems": { + "type": "integer", + "format": "int64" + }, + "minLength": { + "type": "integer", + "format": "int64" + }, + "minProperties": { + "type": "integer", + "format": "int64" + }, + "minimum": { + "type": "number", + "format": "double" + }, + "multipleOf": { + "type": "number", + "format": "double" + }, + "not": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "nullable": { + "type": "boolean" + }, + "oneOf": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + }, + "x-kubernetes-list-type": "atomic" + }, + "pattern": { + "type": "string" + }, + "patternProperties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps" + } + }, + "required": { + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "uniqueItems": { + "type": "boolean" + }, + "x-kubernetes-embedded-resource": { + "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).", + "type": "boolean" + }, + "x-kubernetes-int-or-string": { + "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more", + "type": "boolean" + }, + "x-kubernetes-list-map-keys": { + "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "x-kubernetes-list-type": { + "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", + "type": "string" + }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, + "x-kubernetes-preserve-unknown-fields": { + "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", + "type": "boolean" + }, + "x-kubernetes-validations": { + "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule" + }, + "x-kubernetes-list-map-keys": [ + "rule" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "rule", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray": { + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool": { + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray": { + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array." + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField": { + "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.", + "type": "object", + "required": [ + "jsonPath" + ], + "properties": { + "jsonPath": { + "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "type": "object", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "name is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "namespace is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "path is an optional URL path at which the webhook will be contacted.", + "type": "string" + }, + "port": { + "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule": { + "description": "ValidationRule describes a validation rule written in the CEL expression language.", + "type": "object", + "required": [ + "rule" + ], + "properties": { + "fieldPath": { + "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`", + "type": "string" + }, + "message": { + "description": "Message represents the message displayed when validation fails. The message is required if the Rule 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\"", + "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 rule, 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 rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"", + "type": "string" + }, + "optionalOldSelf": { + "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.", + "type": "boolean" + }, + "reason": { + "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.\n\nPossible enum values:\n - `\"FieldValueDuplicate\"` is used to report collisions of values that must be unique (e.g. unique IDs).\n - `\"FieldValueForbidden\"` is used to report valid (as per formatting rules) values which would be accepted under some conditions, but which are not permitted by the current conditions (such as security policy).\n - `\"FieldValueInvalid\"` is used to report malformed values (e.g. failed regex match, too long, out of bounds).\n - `\"FieldValueRequired\"` is used to report required values that are not provided (e.g. empty strings, null values, or empty arrays).", + "type": "string", + "enum": [ + "FieldValueDuplicate", + "FieldValueForbidden", + "FieldValueInvalid", + "FieldValueRequired" + ] + }, + "rule": { + "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\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 - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-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.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.", + "type": "object", + "properties": { + "caBundle": { + "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference" + }, + "url": { + "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion": { + "description": "WebhookConversion describes how to call a conversion webhook", + "type": "object", + "required": [ + "conversionReviewVersions" + ], + "properties": { + "clientConfig": { + "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig" + }, + "conversionReviewVersions": { + "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.apimachinery.pkg.api.resource.Quantity": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup": { + "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", + "type": "object", + "required": [ + "name", + "versions" + ], + "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" + }, + "name": { + "description": "name is the name of the group.", + "type": "string" + }, + "preferredVersion": { + "description": "preferredVersion is the version preferred by the API server, which probably is the storage version.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" + }, + "serverAddressByClientCIDRs": { + "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" + }, + "x-kubernetes-list-type": "atomic" + }, + "versions": { + "description": "versions are the versions supported in this group.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIGroup", + "version": "v1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList": { + "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", + "type": "object", + "required": [ + "groups" + ], + "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" + }, + "groups": { + "description": "groups is a list of APIGroup.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + }, + "x-kubernetes-list-type": "atomic" + }, + "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" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIGroupList", + "version": "v1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource": { + "description": "APIResource specifies the name of a resource and whether it is namespaced.", + "type": "object", + "required": [ + "name", + "singularName", + "namespaced", + "kind", + "verbs" + ], + "properties": { + "categories": { + "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "group": { + "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".", + "type": "string" + }, + "kind": { + "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", + "type": "string" + }, + "name": { + "description": "name is the plural name of the resource.", + "type": "string" + }, + "namespaced": { + "description": "namespaced indicates if a resource is namespaced or not.", + "type": "boolean" + }, + "shortNames": { + "description": "shortNames is a list of suggested short names of the resource.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "singularName": { + "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.", + "type": "string" + }, + "storageVersionHash": { + "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", + "type": "string" + }, + "verbs": { + "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList": { + "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", + "type": "object", + "required": [ + "groupVersion", + "resources" + ], + "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" + }, + "groupVersion": { + "description": "groupVersion is the group and version this APIResourceList is for.", + "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" + }, + "resources": { + "description": "resources contains the name of the resources and if they are namespaced.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIResourceList", + "version": "v1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions": { + "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", + "type": "object", + "required": [ + "versions", + "serverAddressByClientCIDRs" + ], + "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" + }, + "serverAddressByClientCIDRs": { + "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR" + }, + "x-kubernetes-list-type": "atomic" + }, + "versions": { + "description": "versions are the api versions that are available.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "APIVersions", + "version": "v1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Condition": { + "description": "Condition contains details for one aspect of the current state of this API Resource.", + "type": "object", + "required": [ + "type", + "status", + "lastTransitionTime", + "reason", + "message" + ], + "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "message is a human readable message indicating details about the transition. This may be an empty string.", + "type": "string" + }, + "observedGeneration": { + "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.", + "type": "integer", + "format": "int64" + }, + "reason": { + "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.", + "type": "string" + }, + "status": { + "description": "status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "type of condition in CamelCase or in foo.example.com/CamelCase.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions": { + "description": "DeleteOptions may be provided when deleting an API object.", + "type": "object", + "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" + }, + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "type": "integer", + "format": "int64" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "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", + "type": "boolean" + }, + "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" + }, + "orphanDependents": { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "type": "boolean" + }, + "preconditions": { + "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions" + }, + "propagationPolicy": { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta2" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta2" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha2" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "events.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "events.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta2" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta3" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "internal.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "policy", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "policy", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "resource.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "storagemigration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement": { + "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the field selector key that the requirement applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { + "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", + "type": "object" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery": { + "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", + "type": "object", + "required": [ + "groupVersion", + "version" + ], + "properties": { + "groupVersion": { + "description": "groupVersion specifies the API group and version in the form \"group/version\"", + "type": "string" + }, + "version": { + "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "type": "object", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" + }, + "x-kubernetes-list-type": "atomic" + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "type": "object", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta": { + "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", + "type": "object", + "properties": { + "continue": { + "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", + "type": "string" + }, + "remainingItemCount": { + "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.", + "type": "integer", + "format": "int64" + }, + "resourceVersion": { + "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "selfLink": { + "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": { + "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", + "type": "string" + }, + "fieldsType": { + "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", + "type": "string" + }, + "fieldsV1": { + "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" + }, + "manager": { + "description": "Manager is an identifier of the workflow managing these fields.", + "type": "string" + }, + "operation": { + "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", + "type": "string" + }, + "subresource": { + "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", + "type": "string" + }, + "time": { + "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": { + "description": "MicroTime is version of Time with microsecond level precision.", + "type": "string", + "format": "date-time" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": { + "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "creationTimestamp": { + "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "deletionGracePeriodSeconds": { + "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", + "type": "integer", + "format": "int64" + }, + "deletionTimestamp": { + "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "finalizers": { + "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "set", + "x-kubernetes-patch-strategy": "merge" + }, + "generateName": { + "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", + "type": "string" + }, + "generation": { + "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", + "type": "integer", + "format": "int64" + }, + "labels": { + "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "managedFields": { + "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + "type": "string" + }, + "namespace": { + "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces", + "type": "string" + }, + "ownerReferences": { + "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" + }, + "x-kubernetes-list-map-keys": [ + "uid" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" + }, + "resourceVersion": { + "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "selfLink": { + "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", + "type": "string" + }, + "uid": { + "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", + "type": "object", + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "description": "API version of the referent.", + "type": "string" + }, + "blockOwnerDeletion": { + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", + "type": "boolean" + }, + "controller": { + "description": "If true, this reference points to the managing controller.", + "type": "boolean" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", + "type": "string" + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Patch": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions": { + "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", + "type": "object", + "properties": { + "resourceVersion": { + "description": "Specifies the target ResourceVersion", + "type": "string" + }, + "uid": { + "description": "Specifies the target UID.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR": { + "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", + "type": "object", + "required": [ + "clientCIDR", + "serverAddress" + ], + "properties": { + "clientCIDR": { + "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", + "type": "string" + }, + "serverAddress": { + "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Status": { + "description": "Status is a return value for calls that don't return other objects.", + "type": "object", + "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" + }, + "code": { + "description": "Suggested HTTP return code for this status, 0 if not set.", + "type": "integer", + "format": "int32" + }, + "details": { + "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails", + "x-kubernetes-list-type": "atomic" + }, + "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" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + }, + "reason": { + "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.", + "type": "string" + }, + "status": { + "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Status", + "version": "v1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": { + "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", + "type": "object", + "properties": { + "field": { + "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", + "type": "string" + }, + "message": { + "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", + "type": "string" + }, + "reason": { + "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails": { + "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", + "type": "object", + "properties": { + "causes": { + "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause" + }, + "x-kubernetes-list-type": "atomic" + }, + "group": { + "description": "The group attribute of the resource associated with the status StatusReason.", + "type": "string" + }, + "kind": { + "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", + "type": "string" + }, + "retryAfterSeconds": { + "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.", + "type": "integer", + "format": "int32" + }, + "uid": { + "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids", + "type": "string" + } + } + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "type": "string", + "format": "date-time" + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent": { + "description": "Event represents a single event to a watched resource.", + "type": "object", + "required": [ + "type", + "object" + ], + "properties": { + "object": { + "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "type": { + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1beta2" + }, + { + "group": "authentication.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "authentication.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "authentication.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2" + }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta1" + }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta2" + }, + { + "group": "batch", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "batch", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "certificates.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "certificates.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "certificates.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha2" + }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "events.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "events.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1beta2" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1beta3" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "internal.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "networking.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "node.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "node.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "node.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "policy", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "policy", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "resource.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "storagemigration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + } + ] + }, + "io.k8s.apimachinery.pkg.runtime.RawExtension": { + "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.Object `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// External package:\n\n\ttype MyAPIObject struct {\n\t\truntime.TypeMeta `json:\",inline\"`\n\t\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n\t}\n\n\ttype PluginA struct {\n\t\tAOption string `json:\"aOption\"`\n\t}\n\n// On the wire, the JSON will look something like this:\n\n\t{\n\t\t\"kind\":\"MyAPIObject\",\n\t\t\"apiVersion\":\"v1\",\n\t\t\"myPlugin\": {\n\t\t\t\"kind\":\"PluginA\",\n\t\t\t\"aOption\":\"foo\",\n\t\t},\n\t}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "type": "object" + }, + "io.k8s.apimachinery.pkg.util.intstr.IntOrString": { + "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.", + "type": "string", + "format": "int-or-string" + }, + "io.k8s.apimachinery.pkg.version.Info": { + "description": "Info contains versioning information. how we'll want to distribute that information.", + "type": "object", + "required": [ + "major", + "minor", + "gitVersion", + "gitCommit", + "gitTreeState", + "buildDate", + "goVersion", + "compiler", + "platform" + ], + "properties": { + "buildDate": { + "type": "string" + }, + "compiler": { + "type": "string" + }, + "gitCommit": { + "type": "string" + }, + "gitTreeState": { + "type": "string" + }, + "gitVersion": { + "type": "string" + }, + "goVersion": { + "type": "string" + }, + "major": { + "type": "string" + }, + "minor": { + "type": "string" + }, + "platform": { + "type": "string" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService": { + "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", + "type": "object", + "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": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec contains information for locating and communicating with a server", + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec" + }, + "status": { + "description": "Status contains derived information about an API server", + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + ] + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { + "description": "APIServiceCondition describes the state of an APIService at a particular point", + "type": "object", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList": { + "description": "APIServiceList is a list of APIService objects.", + "type": "object", + "required": [ + "items" + ], + "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 APIService", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "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": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec": { + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", + "type": "object", + "required": [ + "groupPriorityMinimum", + "versionPriority" + ], + "properties": { + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte", + "x-kubernetes-list-type": "atomic" + }, + "group": { + "description": "Group is the API group name this server hosts", + "type": "string" + }, + "groupPriorityMinimum": { + "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "type": "integer", + "format": "int32" + }, + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", + "type": "boolean" + }, + "service": { + "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference" + }, + "version": { + "description": "Version is the API version this server hosts. For example, \"v1\"", + "type": "string" + }, + "versionPriority": { + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", + "type": "object", + "properties": { + "conditions": { + "description": "Current service state of apiService.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "type": "object", + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" + }, + "port": { + "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).", + "type": "integer", + "format": "int32" + } + } + } + }, + "parameters": { + "allowWatchBookmarks-HC2hJt-J": { + "uniqueItems": true, + "type": "boolean", + "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.", + "name": "allowWatchBookmarks", + "in": "query" + }, + "body-2Y1dVQaQ": { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + "body-78PwaGsr": { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + "command-Py3eQybp": { + "uniqueItems": true, + "type": "string", + "description": "Command is the remote command to execute. argv array. Not executed within a shell.", + "name": "command", + "in": "query" + }, + "container-1GeXxFDC": { + "uniqueItems": true, + "type": "string", + "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.", + "name": "container", + "in": "query" + }, + "container-_Q-EJ3nR": { + "uniqueItems": true, + "type": "string", + "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.", + "name": "container", + "in": "query" + }, + "container-i5dOmRiM": { + "uniqueItems": true, + "type": "string", + "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.", + "name": "container", + "in": "query" + }, + "continue-QfD61s0i": { + "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" + }, + "fieldManager-7c6nTn1T": { + "uniqueItems": true, + "type": "string", + "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).", + "name": "fieldManager", + "in": "query" + }, + "fieldManager-Qy4HdaTW": { + "uniqueItems": true, + "type": "string", + "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.", + "name": "fieldManager", + "in": "query" + }, + "fieldSelector-xIcQKXFG": { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + "follow-9OIXh_2R": { + "uniqueItems": true, + "type": "boolean", + "description": "Follow the log stream of the pod. Defaults to false.", + "name": "follow", + "in": "query" + }, + "force-tOGGb0Yi": { + "uniqueItems": true, + "type": "boolean", + "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.", + "name": "force", + "in": "query" + }, + "gracePeriodSeconds--K5HaBOS": { + "uniqueItems": true, + "type": "integer", + "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.", + "name": "gracePeriodSeconds", + "in": "query" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj": { + "uniqueItems": true, + "type": "boolean", + "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", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query" + }, + "insecureSkipTLSVerifyBackend-gM00jVbe": { + "uniqueItems": true, + "type": "boolean", + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", + "name": "insecureSkipTLSVerifyBackend", + "in": "query" + }, + "labelSelector-5Zw57w4C": { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + "limit-1NfNmdNH": { + "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" + }, + "limitBytes-zwd1RXuc": { + "uniqueItems": true, + "type": "integer", + "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.", + "name": "limitBytes", + "in": "query" + }, + "namespace-vgWSWtn3": { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + "orphanDependents-uRB25kX5": { + "uniqueItems": true, + "type": "boolean", + "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.", + "name": "orphanDependents", + "in": "query" + }, + "path-QCf0eosM": { + "uniqueItems": true, + "type": "string", + "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.", + "name": "path", + "in": "query" + }, + "path-oPbzgLUj": { + "uniqueItems": true, + "type": "string", + "description": "Path is the URL path to use for the current proxy request to pod.", + "name": "path", + "in": "query" + }, + "path-rFDtV0x9": { + "uniqueItems": true, + "type": "string", + "description": "Path is the URL path to use for the current proxy request to node.", + "name": "path", + "in": "query" + }, + "path-z6Ciiujn": { + "uniqueItems": true, + "type": "string", + "description": "path to the resource", + "name": "path", + "in": "path", + "required": true + }, + "ports-91KROJmm": { + "uniqueItems": true, + "type": "integer", + "description": "List of ports to forward Required when using WebSockets", + "name": "ports", + "in": "query" + }, + "pretty-tJGM1-ng": { + "uniqueItems": true, + "type": "string", + "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).", + "name": "pretty", + "in": "query" + }, + "previous-1jxDPu3y": { + "uniqueItems": true, + "type": "boolean", + "description": "Return previous terminated container logs. Defaults to false.", + "name": "previous", + "in": "query" + }, + "propagationPolicy-6jk3prlO": { + "uniqueItems": true, + "type": "string", + "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.", + "name": "propagationPolicy", + "in": "query" + }, + "resourceVersion-5WAnf1kx": { + "uniqueItems": true, + "type": "string", + "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", + "name": "resourceVersion", + "in": "query" + }, + "resourceVersionMatch-t8XhRHeC": { + "uniqueItems": true, + "type": "string", + "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", + "name": "resourceVersionMatch", + "in": "query" + }, + "sendInitialEvents-rLXlEK_k": { + "uniqueItems": true, + "type": "boolean", + "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.", + "name": "sendInitialEvents", + "in": "query" + }, + "sinceSeconds-vE2NLdnP": { + "uniqueItems": true, + "type": "integer", + "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", + "name": "sinceSeconds", + "in": "query" + }, + "stderr-26jJhFUR": { + "uniqueItems": true, + "type": "boolean", + "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.", + "name": "stderr", + "in": "query" + }, + "stderr-W_1TNlWc": { + "uniqueItems": true, + "type": "boolean", + "description": "Redirect the standard error stream of the pod for this call.", + "name": "stderr", + "in": "query" + }, + "stdin-PSzNhyUC": { + "uniqueItems": true, + "type": "boolean", + "description": "Redirect the standard input stream of the pod for this call. Defaults to false.", + "name": "stdin", + "in": "query" + }, + "stdin-sEFnN3IS": { + "uniqueItems": true, + "type": "boolean", + "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.", + "name": "stdin", + "in": "query" + }, + "stdout--EZLRwV1": { + "uniqueItems": true, + "type": "boolean", + "description": "Redirect the standard output stream of the pod for this call.", + "name": "stdout", + "in": "query" + }, + "stdout-005YMKE6": { + "uniqueItems": true, + "type": "boolean", + "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.", + "name": "stdout", + "in": "query" + }, + "stream-l-48cgXv": { + "uniqueItems": true, + "type": "string", + "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", + "name": "stream", + "in": "query" + }, + "tailLines-9xQLWHMV": { + "uniqueItems": true, + "type": "integer", + "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", + "name": "tailLines", + "in": "query" + }, + "timeoutSeconds-yvYezaOC": { + "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" + }, + "timestamps-c17fW1w_": { + "uniqueItems": true, + "type": "boolean", + "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.", + "name": "timestamps", + "in": "query" + }, + "tty-g7MlET_l": { + "uniqueItems": true, + "type": "boolean", + "description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.", + "name": "tty", + "in": "query" + }, + "tty-s0flW37O": { + "uniqueItems": true, + "type": "boolean", + "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.", + "name": "tty", + "in": "query" + }, + "watch-XNNPZGbK": { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + }, + "securityDefinitions": { + "BearerToken": { + "description": "Bearer Token authentication", + "type": "apiKey", + "name": "authorization", + "in": "header" + } + }, + "security": [ + { + "BearerToken": [] + } + ] +} \ No newline at end of file diff --git a/__fixtures__/output/swagger-extended-client.merged.ts b/__fixtures__/output/swagger-extended-client.merged.ts new file mode 100644 index 0000000..3ce5d3c --- /dev/null +++ b/__fixtures__/output/swagger-extended-client.merged.ts @@ -0,0 +1,37850 @@ +import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; +export interface Alertmanager { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalPeers?: string[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertmanagerConfigMatcherStrategy?: { + type?: "OnNamespace" | "OnNamespaceExceptForAlertmanagerNamespace" | "None"; + }; + alertmanagerConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfiguration?: { + global?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + jira?: { + apiURL?: string; + }; + opsGenieApiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + opsGenieApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + pagerdutyUrl?: string; + resolveTimeout?: string; + rocketChat?: { + apiURL?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + slackApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + smtp?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + hello?: string; + requireTLS?: boolean; + smartHost?: { + host: string; + port: string; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + telegram?: { + apiURL?: string; + }; + victorops?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + webex?: { + apiURL?: string; + }; + wechat?: { + apiCorpID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + }; + name?: string; + templates?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + clusterAdvertiseAddress?: string; + clusterGossipInterval?: string; + clusterLabel?: string; + clusterPeerTimeout?: string; + clusterPushpullInterval?: string; + clusterTLS?: { + client: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + server: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + configMaps?: string[]; + configSecret?: string; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + externalUrl?: string; + forceEnableClusterMode?: boolean; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + limits?: { + maxPerSilenceBytes?: string; + maxSilences?: number; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + sha?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + getConcurrency?: number; + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + timeout?: number; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface AlertmanagerList { + apiVersion?: string; + items: Alertmanager[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podMetricsEndpoints?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + portNumber?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLimit?: number; + }; +} +export interface PodMonitorList { + apiVersion?: string; + items: PodMonitor[]; + kind?: string; + metadata?: ListMeta; +} +export interface Probe { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + interval?: string; + jobName?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + module?: string; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + name: string; + values?: string[]; + }[]; + prober?: { + noProxy?: string; + path?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scheme?: "http" | "https"; + url: string; + }; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + targetLimit?: number; + targets?: { + ingress?: { + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + staticConfig?: { + labels?: { + [key: string]: unknown; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + static?: string[]; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; +} +export interface ProbeList { + apiVersion?: string; + items: Probe[]; + kind?: string; + metadata?: ListMeta; +} +export interface Prometheus { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalAlertManagerConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalAlertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alerting?: { + alertmanagers: { + alertRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + apiVersion?: "v1" | "V1" | "v2" | "V2"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + enableHttp2?: boolean; + name: string; + namespace?: string; + noProxy?: string; + pathPrefix?: string; + port: any; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: string; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + }; + allowOverlappingBlocks?: boolean; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + disableCompaction?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableAdminAPI?: boolean; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + exemplars?: { + maxSize?: number; + }; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + query?: { + lookbackDelta?: string; + maxConcurrency?: number; + maxSamples?: number; + timeout?: string; + }; + queryLogFile?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteRead?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + filterExternalLabels?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + readRecent?: boolean; + remoteTimeout?: string; + requiredMatchers?: { + [key: string]: unknown; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + retentionSize?: string; + routePrefix?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + rules?: { + alert?: { + forGracePeriod?: string; + forOutageTolerance?: string; + resendDelay?: string; + }; + }; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + sha?: string; + shardRetentionPolicy?: { + retain?: { + retentionPeriod: string; + }; + whenScaled?: "Retain" | "Delete"; + }; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + thanos?: { + additionalArgs?: { + name: string; + value?: string; + }[]; + baseImage?: string; + blockSize?: string; + getConfigInterval?: string; + getConfigTimeout?: string; + grpcListenLocal?: boolean; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + httpListenLocal?: boolean; + image?: string; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minTime?: string; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + readyTimeout?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + sha?: string; + tag?: string; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + }; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface PrometheusList { + apiVersion?: string; + items: Prometheus[]; + kind?: string; + metadata?: ListMeta; +} +export interface PrometheusRule { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + groups?: { + interval?: string; + labels?: { + [key: string]: unknown; + }; + limit?: number; + name: string; + partial_response_strategy?: string; + query_offset?: string; + rules?: { + alert?: string; + annotations?: { + [key: string]: unknown; + }; + expr: any; + for?: string; + keep_firing_for?: string; + labels?: { + [key: string]: unknown; + }; + record?: string; + }[]; + }[]; + }; +} +export interface PrometheusRuleList { + apiVersion?: string; + items: PrometheusRule[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServiceMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + endpoints: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLabels?: string[]; + targetLimit?: number; + }; + status?: { + bindings?: { + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: "Accepted"; + }[]; + group: "monitoring.coreos.com"; + name: string; + namespace: string; + resource: "prometheuses" | "prometheusagents"; + }[]; + }; +} +export interface ServiceMonitorList { + apiVersion?: string; + items: ServiceMonitor[]; + kind?: string; + metadata?: ListMeta; +} +export interface ThanosRuler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertDropLabels?: string[]; + alertQueryUrl?: string; + alertRelabelConfigFile?: string; + alertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersUrl?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + enforcedNamespaceLabel?: string; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalPrefix?: string; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + labels?: { + [key: string]: unknown; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + paused?: boolean; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + queryConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + queryEndpoints?: string[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + replicas?: number; + resendDelay?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + ruleConcurrentEval?: number; + ruleGracePeriod?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleOutageTolerance?: string; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface ThanosRulerList { + apiVersion?: string; + items: ThanosRuler[]; + kind?: string; + metadata?: ListMeta; +} +export interface AlertmanagerConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + inhibitRules?: { + equal?: string[]; + sourceMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + targetMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + }[]; + muteTimeIntervals?: { + name: string; + timeIntervals?: { + daysOfMonth?: { + end?: number; + start?: number; + }[]; + months?: string[]; + times?: { + endTime?: string; + startTime?: string; + }[]; + weekdays?: string[]; + years?: string[]; + }[]; + }[]; + receivers?: { + discordConfigs?: { + apiURL: { + key: string; + name?: string; + optional?: boolean; + }; + avatarURL?: string; + content?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + sendResolved?: boolean; + title?: string; + username?: string; + }[]; + emailConfigs?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + headers?: { + key: string; + value: string; + }[]; + hello?: string; + html?: string; + requireTLS?: boolean; + sendResolved?: boolean; + smarthost?: string; + text?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + to?: string; + }[]; + msteamsConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + summary?: string; + text?: string; + title?: string; + webhookUrl: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + msteamsv2Configs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + text?: string; + title?: string; + webhookURL?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + name: string; + opsgenieConfigs?: { + actions?: string; + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + entity?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + note?: string; + priority?: string; + responders?: { + id?: string; + name?: string; + type: string; + username?: string; + }[]; + sendResolved?: boolean; + source?: string; + tags?: string; + updateAlerts?: boolean; + }[]; + pagerdutyConfigs?: { + class?: string; + client?: string; + clientURL?: string; + component?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + group?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + pagerDutyImageConfigs?: { + alt?: string; + href?: string; + src?: string; + }[]; + pagerDutyLinkConfigs?: { + alt?: string; + href?: string; + }[]; + routingKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sendResolved?: boolean; + serviceKey?: { + key: string; + name?: string; + optional?: boolean; + }; + severity?: string; + source?: string; + url?: string; + }[]; + pushoverConfigs?: { + device?: string; + expire?: string; + html?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + priority?: string; + retry?: string; + sendResolved?: boolean; + sound?: string; + title?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenFile?: string; + ttl?: string; + url?: string; + urlTitle?: string; + userKey?: { + key: string; + name?: string; + optional?: boolean; + }; + userKeyFile?: string; + }[]; + rocketchatConfigs?: { + actions?: { + msg?: string; + text?: string; + url?: string; + }[]; + apiURL?: string; + channel?: string; + color?: string; + emoji?: string; + fields?: { + short?: boolean; + title?: string; + value?: string; + }[]; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + token: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + slackConfigs?: { + actions?: { + confirm?: { + dismissText?: string; + okText?: string; + text: string; + title?: string; + }; + name?: string; + style?: string; + text: string; + type: string; + url?: string; + value?: string; + }[]; + apiURL?: { + key: string; + name?: string; + optional?: boolean; + }; + callbackId?: string; + channel?: string; + color?: string; + fallback?: string; + fields?: { + short?: boolean; + title: string; + value: string; + }[]; + footer?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconEmoji?: string; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + mrkdwnIn?: string[]; + pretext?: string; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + username?: string; + }[]; + snsConfigs?: { + apiURL?: string; + attributes?: { + [key: string]: unknown; + }; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + phoneNumber?: string; + sendResolved?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + subject?: string; + targetARN?: string; + topicARN?: string; + }[]; + telegramConfigs?: { + apiURL?: string; + botToken?: { + key: string; + name?: string; + optional?: boolean; + }; + botTokenFile?: string; + chatID: number; + disableNotifications?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageThreadID?: number; + parseMode?: "MarkdownV2" | "Markdown" | "HTML"; + sendResolved?: boolean; + }[]; + victoropsConfigs?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiUrl?: string; + customFields?: { + key: string; + value: string; + }[]; + entityDisplayName?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + messageType?: string; + monitoringTool?: string; + routingKey?: string; + sendResolved?: boolean; + stateMessage?: string; + }[]; + webexConfigs?: { + apiURL?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + roomID: string; + sendResolved?: boolean; + }[]; + webhookConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + maxAlerts?: number; + sendResolved?: boolean; + timeout?: string; + url?: string; + urlSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + wechatConfigs?: { + agentID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + corpID?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageType?: string; + sendResolved?: boolean; + toParty?: string; + toTag?: string; + toUser?: string; + }[]; + }[]; + route?: { + activeTimeIntervals?: string[]; + continue?: boolean; + groupBy?: string[]; + groupInterval?: string; + groupWait?: string; + matchers?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + muteTimeIntervals?: string[]; + receiver?: string; + repeatInterval?: string; + routes?: any[]; + }; + }; +} +export interface AlertmanagerConfigList { + apiVersion?: string; + items: AlertmanagerConfig[]; + kind?: string; + metadata?: ListMeta; +} +export interface PrometheusAgent { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + mode?: "StatefulSet" | "DaemonSet"; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + routePrefix?: string; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface PrometheusAgentList { + apiVersion?: string; + items: PrometheusAgent[]; + kind?: string; + metadata?: ListMeta; +} +export interface ScrapeConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + azureSDConfigs?: { + authenticationMethod?: "OAuth" | "ManagedIdentity" | "SDK"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + clientSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + environment?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + resourceGroup?: string; + subscriptionID: string; + tenantID?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + consulSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + datacenter?: string; + enableHTTP2?: boolean; + filter?: string; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + nodeMeta?: { + [key: string]: unknown; + }; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + partition?: string; + pathPrefix?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + scheme?: "HTTP" | "HTTPS"; + server: string; + services?: string[]; + tagSeparator?: string; + tags?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + convertClassicHistogramsToNHCB?: boolean; + digitalOceanSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dnsSDConfigs?: { + names: string[]; + port?: number; + refreshInterval?: string; + type?: "A" | "AAAA" | "MX" | "NS" | "SRV"; + }[]; + dockerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + hostNetworkingHost?: string; + matchFirstNetwork?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dockerSwarmSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Services" | "Tasks" | "Nodes"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + ec2SDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + noProxy?: string; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + enableCompression?: boolean; + enableHTTP2?: boolean; + eurekaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + fileSDConfigs?: { + files: string[]; + refreshInterval?: string; + }[]; + gceSDConfigs?: { + filter?: string; + port?: number; + project: string; + refreshInterval?: string; + tagSeparator?: string; + zone: string; + }[]; + hetznerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + labelSelector?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "hcloud" | "Hcloud" | "robot" | "Robot"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + honorLabels?: boolean; + honorTimestamps?: boolean; + httpSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + ionosSDConfigs?: { + authorization: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + datacenterID: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + jobName?: string; + keepDroppedTargets?: number; + kubernetesSDConfigs?: { + apiServer?: string; + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespaces?: { + names?: string[]; + ownNamespace?: boolean; + }; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + selectors?: { + field?: string; + label?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + kumaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + enableHTTP2?: boolean; + fetchTimeout?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + lightSailSDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + endpoint?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + linodeSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + metricsPath?: string; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + noProxy?: string; + nomadSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + server: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + openstackSDConfigs?: { + allTenants?: boolean; + applicationCredentialId?: string; + applicationCredentialName?: string; + applicationCredentialSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + availability?: "Public" | "public" | "Admin" | "admin" | "Internal" | "internal"; + domainID?: string; + domainName?: string; + identityEndpoint?: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + port?: number; + projectID?: string; + projectName?: string; + refreshInterval?: string; + region: string; + role: "Instance" | "Hypervisor" | "LoadBalancer"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + userid?: string; + username?: string; + }[]; + ovhcloudSDConfigs?: { + applicationKey: string; + applicationSecret: { + key: string; + name?: string; + optional?: boolean; + }; + consumerKey: { + key: string; + name?: string; + optional?: boolean; + }; + endpoint?: string; + refreshInterval?: string; + service: string; + }[]; + params?: { + [key: string]: unknown; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + puppetDBSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + includeParameters?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + query: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + sampleLimit?: number; + scalewaySDConfigs?: { + accessKey: string; + apiURL?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + nameFilter?: string; + noProxy?: string; + port?: number; + projectID: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Instance" | "Baremetal"; + secretKey: { + key: string; + name?: string; + optional?: boolean; + }; + tagsFilter?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + zone?: string; + }[]; + scheme?: "HTTP" | "HTTPS"; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + staticConfigs?: { + labels?: { + [key: string]: unknown; + }; + targets: string[]; + }[]; + targetLimit?: number; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }; +} +export interface ScrapeConfigList { + apiVersion?: string; + items: ScrapeConfig[]; + kind?: string; + metadata?: ListMeta; +} +export interface Metric { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + panicWindow: number; + scrapeTarget: string; + stableWindow: number; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +export interface MetricList { + apiVersion?: string; + items: Metric[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + containerConcurrency?: number; + protocolType: string; + reachability?: string; + scaleTargetRef: { + apiVersion?: string; + kind?: string; + name?: string; + }; + }; + status?: { + actualScale?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + desiredScale?: number; + metricsServiceName: string; + observedGeneration?: number; + serviceName: string; + }; +} +export interface PodAutoscalerList { + apiVersion?: string; + items: PodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +export interface Image { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + image: string; + imagePullSecrets?: { + name?: string; + }[]; + serviceAccountName?: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +export interface ImageList { + apiVersion?: string; + items: Image[]; + kind?: string; + metadata?: ListMeta; +} +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + dnsNames: string[]; + domain?: string; + secretName: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + http01Challenges?: { + serviceName?: string; + serviceNamespace?: string; + servicePort?: any; + url?: string; + }[]; + notAfter?: string; + observedGeneration?: number; + }; +} +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterDomainClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + namespace: string; + }; +} +export interface ClusterDomainClaimList { + apiVersion?: string; + items: ClusterDomainClaim[]; + kind?: string; + metadata?: ListMeta; +} +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + httpOption?: string; + rules?: { + hosts?: string[]; + http?: { + paths: { + appendHeaders?: { + [key: string]: unknown; + }; + headers?: { + [key: string]: unknown; + }; + path?: string; + rewriteHost?: string; + splits: { + appendHeaders?: { + [key: string]: unknown; + }; + percent?: number; + serviceName: string; + serviceNamespace: string; + servicePort: any; + }[]; + }[]; + }; + visibility?: string; + }[]; + tls?: { + hosts?: string[]; + secretName?: string; + secretNamespace?: string; + }[]; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + publicLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + }; +} +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServerlessService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + mode?: string; + numActivators?: number; + objectRef: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + protocolType: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateServiceName?: string; + serviceName?: string; + }; +} +export interface ServerlessServiceList { + apiVersion?: string; + items: ServerlessService[]; + kind?: string; + metadata?: ListMeta; +} +export interface Configuration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + }; +} +export interface ConfigurationList { + apiVersion?: string; + items: Configuration[]; + kind?: string; + metadata?: ListMeta; +} +export interface Revision { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + status?: { + actualReplicas?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + containerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + desiredReplicas?: number; + initContainerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + logUrl?: string; + observedGeneration?: number; + }; +} +export interface RevisionList { + apiVersion?: string; + items: Revision[]; + kind?: string; + metadata?: ListMeta; +} +export interface Route { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +export interface RouteList { + apiVersion?: string; + items: Route[]; + kind?: string; + metadata?: ListMeta; +} +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +export interface DomainMapping { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + ref: { + address?: string; + apiVersion?: string; + group?: string; + kind: string; + name: string; + namespace?: string; + }; + tls?: { + secretName: string; + }; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + url?: string; + }; +} +export interface DomainMappingList { + apiVersion?: string; + items: DomainMapping[]; + kind?: string; + metadata?: ListMeta; +} +export interface Challenge { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + authorizationURL: string; + dnsName: string; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + key: string; + solver: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + token: string; + type: "HTTP-01" | "DNS-01"; + url: string; + wildcard?: boolean; + }; + status?: { + presented?: boolean; + processing?: boolean; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + }; +} +export interface ChallengeList { + apiVersion?: string; + items: Challenge[]; + kind?: string; + metadata?: ListMeta; +} +export interface Order { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + commonName?: string; + dnsNames?: string[]; + duration?: string; + ipAddresses?: string[]; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + }; + status?: { + authorizations?: { + challenges?: { + token: string; + type: string; + url: string; + }[]; + identifier?: string; + initialState?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url: string; + wildcard?: boolean; + }[]; + certificate?: string; + failureTime?: string; + finalizeURL?: string; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url?: string; + }; +} +export interface OrderList { + apiVersion?: string; + items: Order[]; + kind?: string; + metadata?: ListMeta; +} +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + additionalOutputFormats?: { + type: "DER" | "CombinedPEM"; + }[]; + commonName?: string; + dnsNames?: string[]; + duration?: string; + emailAddresses?: string[]; + encodeUsagesInRequest?: boolean; + ipAddresses?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + keystores?: { + jks?: { + alias?: string; + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + }; + pkcs12?: { + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + profile?: "LegacyRC2" | "LegacyDES" | "Modern2023"; + }; + }; + literalSubject?: string; + nameConstraints?: { + critical?: boolean; + excluded?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + permitted?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + }; + otherNames?: { + oid?: string; + utf8Value?: string; + }[]; + privateKey?: { + algorithm?: "RSA" | "ECDSA" | "Ed25519"; + encoding?: "PKCS1" | "PKCS8"; + rotationPolicy?: "Never" | "Always"; + size?: number; + }; + renewBefore?: string; + renewBeforePercentage?: number; + revisionHistoryLimit?: number; + secretName: string; + secretTemplate?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + subject?: { + countries?: string[]; + localities?: string[]; + organizationalUnits?: string[]; + organizations?: string[]; + postalCodes?: string[]; + provinces?: string[]; + serialNumber?: string; + streetAddresses?: string[]; + }; + uris?: string[]; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + }; + status?: { + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failedIssuanceAttempts?: number; + lastFailureTime?: string; + nextPrivateKeySecretName?: string; + notAfter?: string; + notBefore?: string; + renewalTime?: string; + revision?: number; + }; +} +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +export interface CertificateRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + duration?: string; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + uid?: string; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + username?: string; + }; + status?: { + ca?: string; + certificate?: string; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failureTime?: string; + }; +} +export interface CertificateRequestList { + apiVersion?: string; + items: CertificateRequest[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterIssuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +export interface ClusterIssuerList { + apiVersion?: string; + items: ClusterIssuer[]; + kind?: string; + metadata?: ListMeta; +} +export interface Issuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +export interface IssuerList { + apiVersion?: string; + items: Issuer[]; + kind?: string; + metadata?: ListMeta; +} +export interface Backup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + target?: "primary" | "prefer-standby"; + }; + status?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + backupId?: string; + backupLabelFile?: string; + backupName?: string; + beginLSN?: string; + beginWal?: string; + commandError?: string; + commandOutput?: string; + destinationPath?: string; + encryption?: string; + endLSN?: string; + endWal?: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + error?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + instanceID?: { + ContainerID?: string; + podName?: string; + }; + method?: string; + online?: boolean; + phase?: string; + pluginMetadata?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + snapshotBackupStatus?: { + elements?: { + name: string; + tablespaceName?: string; + type: string; + }[]; + }; + startedAt?: string; + stoppedAt?: string; + tablespaceMapFile?: string; + }; +} +export interface BackupList { + apiVersion?: string; + items: Backup[]; + kind?: string; + metadata?: ListMeta; +} +export interface Cluster { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + affinity?: { + additionalPodAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + additionalPodAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + enablePodAntiAffinity?: boolean; + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + nodeSelector?: { + [key: string]: unknown; + }; + podAntiAffinityType?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologyKey?: string; + }; + backup?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + retentionPolicy?: string; + target?: "primary" | "prefer-standby"; + volumeSnapshot?: { + annotations?: { + [key: string]: unknown; + }; + className?: string; + labels?: { + [key: string]: unknown; + }; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + snapshotOwnerReference?: "none" | "cluster" | "backup"; + tablespaceClassName?: { + [key: string]: unknown; + }; + walClassName?: string; + }; + }; + bootstrap?: { + initdb?: { + builtinLocale?: string; + dataChecksums?: boolean; + database?: string; + encoding?: string; + icuLocale?: string; + icuRules?: string; + import?: { + databases: string[]; + pgDumpExtraOptions?: string[]; + pgRestoreExtraOptions?: string[]; + postImportApplicationSQL?: string[]; + roles?: string[]; + schemaOnly?: boolean; + source: { + externalCluster: string; + }; + type: "microservice" | "monolith"; + }; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + options?: string[]; + owner?: string; + postInitApplicationSQL?: string[]; + postInitApplicationSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitSQL?: string[]; + postInitSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitTemplateSQL?: string[]; + postInitTemplateSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + secret?: { + name: string; + }; + walSegmentSize?: number; + }; + pg_basebackup?: { + database?: string; + owner?: string; + secret?: { + name: string; + }; + source: string; + }; + recovery?: { + backup?: { + endpointCA?: { + key: string; + name: string; + }; + name: string; + }; + database?: string; + owner?: string; + recoveryTarget?: { + backupID?: string; + exclusive?: boolean; + targetImmediate?: boolean; + targetLSN?: string; + targetName?: string; + targetTLI?: string; + targetTime?: string; + targetXID?: string; + }; + secret?: { + name: string; + }; + source?: string; + volumeSnapshots?: { + storage: { + apiGroup?: string; + kind: string; + name: string; + }; + tablespaceStorage?: { + [key: string]: unknown; + }; + walStorage?: { + apiGroup?: string; + kind: string; + name: string; + }; + }; + }; + }; + certificates?: { + clientCASecret?: string; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + description?: string; + enablePDB?: boolean; + enableSuperuserAccess?: boolean; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + ephemeralVolumeSource?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + ephemeralVolumesSizeLimit?: { + shm?: any; + temporaryData?: any; + }; + externalClusters?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + connectionParameters?: { + [key: string]: unknown; + }; + name: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + plugin?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + sslCert?: { + key: string; + name?: string; + optional?: boolean; + }; + sslKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sslRootCert?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + failoverDelay?: number; + imageCatalogRef?: { + apiGroup?: string; + kind: string; + major: number; + name: string; + }; + imageName?: string; + imagePullPolicy?: string; + imagePullSecrets?: { + name: string; + }[]; + inheritedMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + instances: number; + livenessProbeTimeout?: number; + logLevel?: "error" | "warning" | "info" | "debug" | "trace"; + managed?: { + roles?: { + bypassrls?: boolean; + comment?: string; + connectionLimit?: number; + createdb?: boolean; + createrole?: boolean; + disablePassword?: boolean; + ensure?: "present" | "absent"; + inRoles?: string[]; + inherit?: boolean; + login?: boolean; + name: string; + passwordSecret?: { + name: string; + }; + replication?: boolean; + superuser?: boolean; + validUntil?: string; + }[]; + services?: { + additional?: { + selectorType: "rw" | "r" | "ro"; + serviceTemplate: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + updateStrategy?: "patch" | "replace"; + }[]; + disabledDefaultServices?: ("rw" | "r" | "ro")[]; + }; + }; + maxSyncReplicas?: number; + minSyncReplicas?: number; + monitoring?: { + customQueriesConfigMap?: { + key: string; + name: string; + }[]; + customQueriesSecret?: { + key: string; + name: string; + }[]; + disableDefaultQueries?: boolean; + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tls?: { + enabled?: boolean; + }; + }; + nodeMaintenanceWindow?: { + inProgress?: boolean; + reusePVC?: boolean; + }; + plugins?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }[]; + postgresGID?: number; + postgresUID?: number; + postgresql?: { + enableAlterSystem?: boolean; + ldap?: { + bindAsAuth?: { + prefix?: string; + suffix?: string; + }; + bindSearchAuth?: { + baseDN?: string; + bindDN?: string; + bindPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + searchAttribute?: string; + searchFilter?: string; + }; + port?: number; + scheme?: "ldap" | "ldaps"; + server?: string; + tls?: boolean; + }; + parameters?: { + [key: string]: unknown; + }; + pg_hba?: string[]; + pg_ident?: string[]; + promotionTimeout?: number; + shared_preload_libraries?: string[]; + syncReplicaElectionConstraint?: { + enabled: boolean; + nodeLabelsAntiAffinity?: string[]; + }; + synchronous?: { + dataDurability?: "required" | "preferred"; + maxStandbyNamesFromCluster?: number; + method: "any" | "first"; + number: number; + standbyNamesPost?: string[]; + standbyNamesPre?: string[]; + }; + }; + primaryUpdateMethod?: "switchover" | "restart"; + primaryUpdateStrategy?: "unsupervised" | "supervised"; + priorityClassName?: string; + probes?: { + liveness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + readiness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + startup?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + }; + projectedVolumeTemplate?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + replica?: { + enabled?: boolean; + minApplyDelay?: string; + primary?: string; + promotionToken?: string; + self?: string; + source: string; + }; + replicationSlots?: { + highAvailability?: { + enabled?: boolean; + slotPrefix?: string; + }; + synchronizeReplicas?: { + enabled: boolean; + excludePatterns?: string[]; + }; + updateInterval?: number; + }; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + schedulerName?: string; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + serviceAccountTemplate?: { + metadata: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + }; + smartShutdownTimeout?: number; + startDelay?: number; + stopDelay?: number; + storage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + superuserSecret?: { + name: string; + }; + switchoverDelay?: number; + tablespaces?: { + name: string; + owner?: { + name?: string; + }; + storage: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + temporary?: boolean; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + walStorage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + }; + status?: { + availableArchitectures?: { + goArch: string; + hash: string; + }[]; + azurePVCUpdateEnabled?: boolean; + certificates?: { + clientCASecret?: string; + expirations?: { + [key: string]: unknown; + }; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + cloudNativePGCommitHash?: string; + cloudNativePGOperatorHash?: string; + conditions?: { + lastTransitionTime: string; + message: string; + observedGeneration?: number; + reason: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + configMapResourceVersion?: { + metrics?: { + [key: string]: unknown; + }; + }; + currentPrimary?: string; + currentPrimaryFailingSinceTimestamp?: string; + currentPrimaryTimestamp?: string; + danglingPVC?: string[]; + demotionToken?: string; + firstRecoverabilityPoint?: string; + firstRecoverabilityPointByMethod?: { + [key: string]: unknown; + }; + healthyPVC?: string[]; + image?: string; + initializingPVC?: string[]; + instanceNames?: string[]; + instances?: number; + instancesReportedState?: { + [key: string]: unknown; + }; + instancesStatus?: { + [key: string]: unknown; + }; + jobCount?: number; + lastFailedBackup?: string; + lastPromotionToken?: string; + lastSuccessfulBackup?: string; + lastSuccessfulBackupByMethod?: { + [key: string]: unknown; + }; + latestGeneratedNode?: number; + managedRolesStatus?: { + byStatus?: { + [key: string]: unknown; + }; + cannotReconcile?: { + [key: string]: unknown; + }; + passwordStatus?: { + [key: string]: unknown; + }; + }; + onlineUpdateEnabled?: boolean; + phase?: string; + phaseReason?: string; + pluginStatus?: { + backupCapabilities?: string[]; + capabilities?: string[]; + name: string; + operatorCapabilities?: string[]; + restoreJobHookCapabilities?: string[]; + status?: string; + version: string; + walCapabilities?: string[]; + }[]; + poolerIntegrations?: { + pgBouncerIntegration?: { + secrets?: string[]; + }; + }; + pvcCount?: number; + readService?: string; + readyInstances?: number; + resizingPVC?: string[]; + secretsResourceVersion?: { + applicationSecretVersion?: string; + barmanEndpointCA?: string; + caSecretVersion?: string; + clientCaSecretVersion?: string; + externalClusterSecretVersion?: { + [key: string]: unknown; + }; + managedRoleSecretVersion?: { + [key: string]: unknown; + }; + metrics?: { + [key: string]: unknown; + }; + replicationSecretVersion?: string; + serverCaSecretVersion?: string; + serverSecretVersion?: string; + superuserSecretVersion?: string; + }; + switchReplicaClusterStatus?: { + inProgress?: boolean; + }; + tablespacesStatus?: { + error?: string; + name: string; + owner?: string; + state: string; + }[]; + targetPrimary?: string; + targetPrimaryTimestamp?: string; + timelineID?: number; + topology?: { + instances?: { + [key: string]: unknown; + }; + nodesUsed?: number; + successfullyExtracted?: boolean; + }; + unusablePVC?: string[]; + writeService?: string; + }; +} +export interface ClusterImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +export interface ClusterImageCatalogList { + apiVersion?: string; + items: ClusterImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterList { + apiVersion?: string; + items: Cluster[]; + kind?: string; + metadata?: ListMeta; +} +export interface Database { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + allowConnections?: boolean; + builtinLocale?: string; + cluster: { + name?: string; + }; + collationVersion?: string; + connectionLimit?: number; + databaseReclaimPolicy?: "delete" | "retain"; + encoding?: string; + ensure?: "present" | "absent"; + icuLocale?: string; + icuRules?: string; + isTemplate?: boolean; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + name: string; + owner: string; + tablespace?: string; + template?: string; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +export interface DatabaseList { + apiVersion?: string; + items: Database[]; + kind?: string; + metadata?: ListMeta; +} +export interface ImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +export interface ImageCatalogList { + apiVersion?: string; + items: ImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +export interface Pooler { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + deploymentStrategy?: { + rollingUpdate?: { + maxSurge?: any; + maxUnavailable?: any; + }; + type?: string; + }; + instances?: number; + monitoring?: { + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }; + pgbouncer: { + authQuery?: string; + authQuerySecret?: { + name: string; + }; + parameters?: { + [key: string]: unknown; + }; + paused?: boolean; + pg_hba?: string[]; + poolMode?: "session" | "transaction"; + }; + serviceTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + template?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + activeDeadlineSeconds?: number; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + automountServiceAccountToken?: boolean; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name?: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: string; + enableServiceLinks?: boolean; + ephemeralContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + hostAliases?: { + hostnames?: string[]; + ip: string; + }[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: { + name: string; + }; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: string; + priority?: number; + priorityClassName?: string; + readinessGates?: { + conditionType: string; + }[]; + resourceClaims?: { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: { + name: string; + }[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + }; + }; + type?: "rw" | "ro" | "r"; + }; + status?: { + instances?: number; + secrets?: { + clientCA?: { + name?: string; + version?: string; + }; + pgBouncerSecrets?: { + authQuery?: { + name?: string; + version?: string; + }; + }; + serverCA?: { + name?: string; + version?: string; + }; + serverTLS?: { + name?: string; + version?: string; + }; + }; + }; +} +export interface PoolerList { + apiVersion?: string; + items: Pooler[]; + kind?: string; + metadata?: ListMeta; +} +export interface Publication { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationReclaimPolicy?: "delete" | "retain"; + target: { + allTables?: boolean; + objects?: { + table?: { + columns?: string[]; + name: string; + only?: boolean; + schema?: string; + }; + tablesInSchema?: string; + }[]; + }; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +export interface PublicationList { + apiVersion?: string; + items: Publication[]; + kind?: string; + metadata?: ListMeta; +} +export interface ScheduledBackup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + backupOwnerReference?: "none" | "self" | "cluster"; + cluster: { + name: string; + }; + immediate?: boolean; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + schedule: string; + suspend?: boolean; + target?: "primary" | "prefer-standby"; + }; + status?: { + lastCheckTime?: string; + lastScheduleTime?: string; + nextScheduleTime?: string; + }; +} +export interface ScheduledBackupList { + apiVersion?: string; + items: ScheduledBackup[]; + kind?: string; + metadata?: ListMeta; +} +export interface Subscription { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + externalClusterName: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationDBName?: string; + publicationName: string; + subscriptionReclaimPolicy?: "delete" | "retain"; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +export interface SubscriptionList { + apiVersion?: string; + items: Subscription[]; + kind?: string; + metadata?: ListMeta; +} +export interface AuditAnnotation { + key: string; + valueExpression: string; +} +export interface ExpressionWarning { + fieldRef: string; + warning: string; +} +export interface MatchCondition { + expression: string; + name: string; +} +export interface MatchResources { + excludeResourceRules?: NamedRuleWithOperations[]; + matchPolicy?: "Equivalent" | "Exact"; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + resourceRules?: NamedRuleWithOperations[]; +} +export interface MutatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + reinvocationPolicy?: "IfNeeded" | "Never"; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +export interface MutatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: MutatingWebhook[]; +} +export interface MutatingWebhookConfigurationList { + apiVersion?: string; + items: MutatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +export interface NamedRuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resourceNames?: string[]; + resources?: string[]; + scope?: string; +} +export interface ParamKind { + apiVersion?: string; + kind?: string; +} +export interface ParamRef { + name?: string; + namespace?: string; + parameterNotFoundAction?: string; + selector?: LabelSelector; +} +export interface RuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resources?: string[]; + scope?: string; +} +export interface ServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +export interface TypeChecking { + expressionWarnings?: ExpressionWarning[]; +} +export interface ValidatingAdmissionPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicySpec; + status?: ValidatingAdmissionPolicyStatus; +} +export interface ValidatingAdmissionPolicyBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicyBindingSpec; +} +export interface ValidatingAdmissionPolicyBindingList { + apiVersion?: string; + items: ValidatingAdmissionPolicyBinding[]; + kind?: string; + metadata?: ListMeta; +} +export interface ValidatingAdmissionPolicyBindingSpec { + matchResources?: MatchResources; + paramRef?: ParamRef; + policyName?: string; + validationActions?: ("Audit" | "Deny" | "Warn")[]; +} +export interface ValidatingAdmissionPolicyList { + apiVersion?: string; + items: ValidatingAdmissionPolicy[]; + kind?: string; + metadata?: ListMeta; +} +export interface ValidatingAdmissionPolicySpec { + auditAnnotations?: AuditAnnotation[]; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchConstraints?: MatchResources; + paramKind?: ParamKind; + validations?: Validation[]; + variables?: Variable[]; +} +export interface ValidatingAdmissionPolicyStatus { + conditions?: Condition[]; + observedGeneration?: number; + typeChecking?: TypeChecking; +} +export interface ValidatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +export interface ValidatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: ValidatingWebhook[]; +} +export interface ValidatingWebhookConfigurationList { + apiVersion?: string; + items: ValidatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +export interface Validation { + expression: string; + message?: string; + messageExpression?: string; + reason?: string; +} +export interface Variable { + expression: string; + name: string; +} +export interface WebhookClientConfig { + caBundle?: string; + service?: ServiceReference; + url?: string; +} +export interface ControllerRevision { + apiVersion?: string; + data?: RawExtension; + kind?: string; + metadata?: ObjectMeta; + revision: number; +} +export interface ControllerRevisionList { + apiVersion?: string; + items: ControllerRevision[]; + kind?: string; + metadata?: ListMeta; +} +export interface DaemonSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DaemonSetSpec; + status?: DaemonSetStatus; +} +export interface DaemonSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface DaemonSetList { + apiVersion?: string; + items: DaemonSet[]; + kind?: string; + metadata?: ListMeta; +} +export interface DaemonSetSpec { + minReadySeconds?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + template: PodTemplateSpec; + updateStrategy?: DaemonSetUpdateStrategy; +} +export interface DaemonSetStatus { + collisionCount?: number; + conditions?: DaemonSetCondition[]; + currentNumberScheduled: number; + desiredNumberScheduled: number; + numberAvailable?: number; + numberMisscheduled: number; + numberReady: number; + numberUnavailable?: number; + observedGeneration?: number; + updatedNumberScheduled?: number; +} +export interface DaemonSetUpdateStrategy { + rollingUpdate?: RollingUpdateDaemonSet; + type?: "OnDelete" | "RollingUpdate"; +} +export interface Deployment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DeploymentSpec; + status?: DeploymentStatus; +} +export interface DeploymentCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface DeploymentList { + apiVersion?: string; + items: Deployment[]; + kind?: string; + metadata?: ListMeta; +} +export interface DeploymentSpec { + minReadySeconds?: number; + paused?: boolean; + progressDeadlineSeconds?: number; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + strategy?: DeploymentStrategy; + template: PodTemplateSpec; +} +export interface DeploymentStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: DeploymentCondition[]; + observedGeneration?: number; + readyReplicas?: number; + replicas?: number; + unavailableReplicas?: number; + updatedReplicas?: number; +} +export interface DeploymentStrategy { + rollingUpdate?: RollingUpdateDeployment; + type?: "Recreate" | "RollingUpdate"; +} +export interface ReplicaSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicaSetSpec; + status?: ReplicaSetStatus; +} +export interface ReplicaSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface ReplicaSetList { + apiVersion?: string; + items: ReplicaSet[]; + kind?: string; + metadata?: ListMeta; +} +export interface ReplicaSetSpec { + minReadySeconds?: number; + replicas?: number; + selector: LabelSelector; + template?: PodTemplateSpec; +} +export interface ReplicaSetStatus { + availableReplicas?: number; + conditions?: ReplicaSetCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +export interface RollingUpdateDaemonSet { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +export interface RollingUpdateDeployment { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +export interface RollingUpdateStatefulSetStrategy { + maxUnavailable?: IntOrString; + partition?: number; +} +export interface StatefulSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: StatefulSetSpec; + status?: StatefulSetStatus; +} +export interface StatefulSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface StatefulSetList { + apiVersion?: string; + items: StatefulSet[]; + kind?: string; + metadata?: ListMeta; +} +export interface StatefulSetOrdinals { + start?: number; +} +export interface StatefulSetPersistentVolumeClaimRetentionPolicy { + whenDeleted?: string; + whenScaled?: string; +} +export interface StatefulSetSpec { + minReadySeconds?: number; + ordinals?: StatefulSetOrdinals; + persistentVolumeClaimRetentionPolicy?: StatefulSetPersistentVolumeClaimRetentionPolicy; + podManagementPolicy?: "OrderedReady" | "Parallel"; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + serviceName: string; + template: PodTemplateSpec; + updateStrategy?: StatefulSetUpdateStrategy; + volumeClaimTemplates?: PersistentVolumeClaim[]; +} +export interface StatefulSetStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: StatefulSetCondition[]; + currentReplicas?: number; + currentRevision?: string; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; + updateRevision?: string; + updatedReplicas?: number; +} +export interface StatefulSetUpdateStrategy { + rollingUpdate?: RollingUpdateStatefulSetStrategy; + type?: "OnDelete" | "RollingUpdate"; +} +export interface BoundObjectReference { + apiVersion?: string; + kind?: string; + name?: string; + uid?: string; +} +export interface SelfSubjectReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + status?: SelfSubjectReviewStatus; +} +export interface SelfSubjectReviewStatus { + userInfo?: UserInfo; +} +export interface TokenRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenRequestSpec; + status?: TokenRequestStatus; +} +export interface TokenRequestSpec { + audiences: string[]; + boundObjectRef?: BoundObjectReference; + expirationSeconds?: number; +} +export interface TokenRequestStatus { + expirationTimestamp: Time; + token: string; +} +export interface TokenReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenReviewSpec; + status?: TokenReviewStatus; +} +export interface TokenReviewSpec { + audiences?: string[]; + token?: string; +} +export interface TokenReviewStatus { + audiences?: string[]; + authenticated?: boolean; + error?: string; + user?: UserInfo; +} +export interface UserInfo { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + uid?: string; + username?: string; +} +export interface FieldSelectorAttributes { + rawSelector?: string; + requirements?: FieldSelectorRequirement[]; +} +export interface LabelSelectorAttributes { + rawSelector?: string; + requirements?: LabelSelectorRequirement[]; +} +export interface LocalSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +export interface NonResourceAttributes { + path?: string; + verb?: string; +} +export interface NonResourceRule { + nonResourceURLs?: string[]; + verbs: string[]; +} +export interface ResourceAttributes { + fieldSelector?: FieldSelectorAttributes; + group?: string; + labelSelector?: LabelSelectorAttributes; + name?: string; + namespace?: string; + resource?: string; + subresource?: string; + verb?: string; + version?: string; +} +export interface ResourceRule { + apiGroups?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +export interface SelfSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +export interface SelfSubjectAccessReviewSpec { + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; +} +export interface SelfSubjectRulesReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectRulesReviewSpec; + status?: SubjectRulesReviewStatus; +} +export interface SelfSubjectRulesReviewSpec { + namespace?: string; +} +export interface SubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +export interface SubjectAccessReviewSpec { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; + uid?: string; + user?: string; +} +export interface SubjectAccessReviewStatus { + allowed: boolean; + denied?: boolean; + evaluationError?: string; + reason?: string; +} +export interface SubjectRulesReviewStatus { + evaluationError?: string; + incomplete: boolean; + nonResourceRules: NonResourceRule[]; + resourceRules: ResourceRule[]; +} +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +export interface HorizontalPodAutoscalerSpec { + maxReplicas: number; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; + targetCPUUtilizationPercentage?: number; +} +export interface HorizontalPodAutoscalerStatus { + currentCPUUtilizationPercentage?: number; + currentReplicas: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +export interface Scale { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ScaleSpec; + status?: ScaleStatus; +} +export interface ScaleSpec { + replicas?: number; +} +export interface ScaleStatus { + replicas: number; + selector?: string; +} +export interface ContainerResourceMetricSource { + container: string; + name: string; + target: MetricTarget; +} +export interface ContainerResourceMetricStatus { + container: string; + current: MetricValueStatus; + name: string; +} +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +export interface ExternalMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +export interface ExternalMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +export interface HPAScalingPolicy { + periodSeconds: number; + type: string; + value: number; +} +export interface HPAScalingRules { + policies?: HPAScalingPolicy[]; + selectPolicy?: string; + stabilizationWindowSeconds?: number; +} +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +export interface HorizontalPodAutoscalerBehavior { + scaleDown?: HPAScalingRules; + scaleUp?: HPAScalingRules; +} +export interface HorizontalPodAutoscalerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +export interface HorizontalPodAutoscalerSpec { + behavior?: HorizontalPodAutoscalerBehavior; + maxReplicas: number; + metrics?: MetricSpec[]; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; +} +export interface HorizontalPodAutoscalerStatus { + conditions?: HorizontalPodAutoscalerCondition[]; + currentMetrics?: MetricStatus[]; + currentReplicas?: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +export interface MetricIdentifier { + name: string; + selector?: LabelSelector; +} +export interface MetricSpec { + containerResource?: ContainerResourceMetricSource; + external?: ExternalMetricSource; + object?: ObjectMetricSource; + pods?: PodsMetricSource; + resource?: ResourceMetricSource; + type: string; +} +export interface MetricStatus { + containerResource?: ContainerResourceMetricStatus; + external?: ExternalMetricStatus; + object?: ObjectMetricStatus; + pods?: PodsMetricStatus; + resource?: ResourceMetricStatus; + type: string; +} +export interface MetricTarget { + averageUtilization?: number; + averageValue?: Quantity; + type: string; + value?: Quantity; +} +export interface MetricValueStatus { + averageUtilization?: number; + averageValue?: Quantity; + value?: Quantity; +} +export interface ObjectMetricSource { + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; + target: MetricTarget; +} +export interface ObjectMetricStatus { + current: MetricValueStatus; + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; +} +export interface PodsMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +export interface PodsMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +export interface ResourceMetricSource { + name: string; + target: MetricTarget; +} +export interface ResourceMetricStatus { + current: MetricValueStatus; + name: string; +} +export interface CronJob { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: CronJobSpec; + status?: CronJobStatus; +} +export interface CronJobList { + apiVersion?: string; + items: CronJob[]; + kind?: string; + metadata?: ListMeta; +} +export interface CronJobSpec { + concurrencyPolicy?: "Allow" | "Forbid" | "Replace"; + failedJobsHistoryLimit?: number; + jobTemplate: JobTemplateSpec; + schedule: string; + startingDeadlineSeconds?: number; + successfulJobsHistoryLimit?: number; + suspend?: boolean; + timeZone?: string; +} +export interface CronJobStatus { + active?: ObjectReference[]; + lastScheduleTime?: Time; + lastSuccessfulTime?: Time; +} +export interface Job { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: JobSpec; + status?: JobStatus; +} +export interface JobCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface JobList { + apiVersion?: string; + items: Job[]; + kind?: string; + metadata?: ListMeta; +} +export interface JobSpec { + activeDeadlineSeconds?: number; + backoffLimit?: number; + backoffLimitPerIndex?: number; + completionMode?: "Indexed" | "NonIndexed"; + completions?: number; + managedBy?: string; + manualSelector?: boolean; + maxFailedIndexes?: number; + parallelism?: number; + podFailurePolicy?: PodFailurePolicy; + podReplacementPolicy?: "Failed" | "TerminatingOrFailed"; + selector?: LabelSelector; + successPolicy?: SuccessPolicy; + suspend?: boolean; + template: PodTemplateSpec; + ttlSecondsAfterFinished?: number; +} +export interface JobStatus { + active?: number; + completedIndexes?: string; + completionTime?: Time; + conditions?: JobCondition[]; + failed?: number; + failedIndexes?: string; + ready?: number; + startTime?: Time; + succeeded?: number; + terminating?: number; + uncountedTerminatedPods?: UncountedTerminatedPods; +} +export interface JobTemplateSpec { + metadata?: ObjectMeta; + spec?: JobSpec; +} +export interface PodFailurePolicy { + rules: PodFailurePolicyRule[]; +} +export interface PodFailurePolicyOnExitCodesRequirement { + containerName?: string; + operator: "In" | "NotIn"; + values: number[]; +} +export interface PodFailurePolicyOnPodConditionsPattern { + status: string; + type: string; +} +export interface PodFailurePolicyRule { + action: "Count" | "FailIndex" | "FailJob" | "Ignore"; + onExitCodes?: PodFailurePolicyOnExitCodesRequirement; + onPodConditions?: PodFailurePolicyOnPodConditionsPattern[]; +} +export interface SuccessPolicy { + rules: SuccessPolicyRule[]; +} +export interface SuccessPolicyRule { + succeededCount?: number; + succeededIndexes?: string; +} +export interface UncountedTerminatedPods { + failed?: string[]; + succeeded?: string[]; +} +export interface CertificateSigningRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CertificateSigningRequestSpec; + status?: CertificateSigningRequestStatus; +} +export interface CertificateSigningRequestCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface CertificateSigningRequestList { + apiVersion?: string; + items: CertificateSigningRequest[]; + kind?: string; + metadata?: ListMeta; +} +export interface CertificateSigningRequestSpec { + expirationSeconds?: number; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + request: string; + signerName: string; + uid?: string; + usages?: ("any" | "cert sign" | "client auth" | "code signing" | "content commitment" | "crl sign" | "data encipherment" | "decipher only" | "digital signature" | "email protection" | "encipher only" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "key agreement" | "key encipherment" | "microsoft sgc" | "netscape sgc" | "ocsp signing" | "s/mime" | "server auth" | "signing" | "timestamping")[]; + username?: string; +} +export interface CertificateSigningRequestStatus { + certificate?: string; + conditions?: CertificateSigningRequestCondition[]; +} +export interface Lease { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LeaseSpec; +} +export interface LeaseList { + apiVersion?: string; + items: Lease[]; + kind?: string; + metadata?: ListMeta; +} +export interface LeaseSpec { + acquireTime?: MicroTime; + holderIdentity?: string; + leaseDurationSeconds?: number; + leaseTransitions?: number; + preferredHolder?: string; + renewTime?: MicroTime; + strategy?: string; +} +export interface AWSElasticBlockStoreVolumeSource { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; +} +export interface Affinity { + nodeAffinity?: NodeAffinity; + podAffinity?: PodAffinity; + podAntiAffinity?: PodAntiAffinity; +} +export interface AppArmorProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +export interface AttachedVolume { + devicePath: string; + name: string; +} +export interface AzureDiskVolumeSource { + cachingMode?: "None" | "ReadOnly" | "ReadWrite"; + diskName: string; + diskURI: string; + fsType?: string; + kind?: "Dedicated" | "Managed" | "Shared"; + readOnly?: boolean; +} +export interface AzureFilePersistentVolumeSource { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; +} +export interface AzureFileVolumeSource { + readOnly?: boolean; + secretName: string; + shareName: string; +} +export interface Binding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + target: ObjectReference; +} +export interface CSIPersistentVolumeSource { + controllerExpandSecretRef?: SecretReference; + controllerPublishSecretRef?: SecretReference; + driver: string; + fsType?: string; + nodeExpandSecretRef?: SecretReference; + nodePublishSecretRef?: SecretReference; + nodeStageSecretRef?: SecretReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + volumeHandle: string; +} +export interface CSIVolumeSource { + driver: string; + fsType?: string; + nodePublishSecretRef?: LocalObjectReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; +} +export interface Capabilities { + add?: string[]; + drop?: string[]; +} +export interface CephFSPersistentVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: SecretReference; + user?: string; +} +export interface CephFSVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: LocalObjectReference; + user?: string; +} +export interface CinderPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: SecretReference; + volumeID: string; +} +export interface CinderVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeID: string; +} +export interface ClientIPConfig { + timeoutSeconds?: number; +} +export interface ClusterTrustBundleProjection { + labelSelector?: LabelSelector; + name?: string; + optional?: boolean; + path: string; + signerName?: string; +} +export interface ComponentCondition { + error?: string; + message?: string; + status: string; + type: string; +} +export interface ComponentStatus { + apiVersion?: string; + conditions?: ComponentCondition[]; + kind?: string; + metadata?: ObjectMeta; +} +export interface ComponentStatusList { + apiVersion?: string; + items: ComponentStatus[]; + kind?: string; + metadata?: ListMeta; +} +export interface ConfigMap { + apiVersion?: string; + binaryData?: { + [key: string]: unknown; + }; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; +} +export interface ConfigMapEnvSource { + name?: string; + optional?: boolean; +} +export interface ConfigMapKeySelector { + key: string; + name?: string; + optional?: boolean; +} +export interface ConfigMapList { + apiVersion?: string; + items: ConfigMap[]; + kind?: string; + metadata?: ListMeta; +} +export interface ConfigMapNodeConfigSource { + kubeletConfigKey: string; + name: string; + namespace: string; + resourceVersion?: string; + uid?: string; +} +export interface ConfigMapProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +export interface ConfigMapVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +export interface Container { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +export interface ContainerImage { + names?: string[]; + sizeBytes?: number; +} +export interface ContainerPort { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface ContainerResizePolicy { + resourceName: string; + restartPolicy: string; +} +export interface ContainerState { + running?: ContainerStateRunning; + terminated?: ContainerStateTerminated; + waiting?: ContainerStateWaiting; +} +export interface ContainerStateRunning { + startedAt?: Time; +} +export interface ContainerStateTerminated { + containerID?: string; + exitCode: number; + finishedAt?: Time; + message?: string; + reason?: string; + signal?: number; + startedAt?: Time; +} +export interface ContainerStateWaiting { + message?: string; + reason?: string; +} +export interface ContainerStatus { + allocatedResources?: { + [key: string]: unknown; + }; + allocatedResourcesStatus?: ResourceStatus[]; + containerID?: string; + image: string; + imageID: string; + lastState?: ContainerState; + name: string; + ready: boolean; + resources?: ResourceRequirements; + restartCount: number; + started?: boolean; + state?: ContainerState; + user?: ContainerUser; + volumeMounts?: VolumeMountStatus[]; +} +export interface ContainerUser { + linux?: LinuxContainerUser; +} +export interface DaemonEndpoint { + Port: number; +} +export interface DownwardAPIProjection { + items?: DownwardAPIVolumeFile[]; +} +export interface DownwardAPIVolumeFile { + fieldRef?: ObjectFieldSelector; + mode?: number; + path: string; + resourceFieldRef?: ResourceFieldSelector; +} +export interface DownwardAPIVolumeSource { + defaultMode?: number; + items?: DownwardAPIVolumeFile[]; +} +export interface EmptyDirVolumeSource { + medium?: string; + sizeLimit?: Quantity; +} +export interface EndpointAddress { + hostname?: string; + ip: string; + nodeName?: string; + targetRef?: ObjectReference; +} +export interface EndpointPort { + appProtocol?: string; + name?: string; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface EndpointSubset { + addresses?: EndpointAddress[]; + notReadyAddresses?: EndpointAddress[]; + ports?: EndpointPort[]; +} +export interface Endpoints { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + subsets?: EndpointSubset[]; +} +export interface EndpointsList { + apiVersion?: string; + items: Endpoints[]; + kind?: string; + metadata?: ListMeta; +} +export interface EnvFromSource { + configMapRef?: ConfigMapEnvSource; + prefix?: string; + secretRef?: SecretEnvSource; +} +export interface EnvVar { + name: string; + value?: string; + valueFrom?: EnvVarSource; +} +export interface EnvVarSource { + configMapKeyRef?: ConfigMapKeySelector; + fieldRef?: ObjectFieldSelector; + resourceFieldRef?: ResourceFieldSelector; + secretKeyRef?: SecretKeySelector; +} +export interface EphemeralContainer { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +export interface EphemeralVolumeSource { + volumeClaimTemplate?: PersistentVolumeClaimTemplate; +} +export interface Event { + action?: string; + apiVersion?: string; + count?: number; + eventTime?: MicroTime; + firstTimestamp?: Time; + involvedObject: ObjectReference; + kind?: string; + lastTimestamp?: Time; + message?: string; + metadata: ObjectMeta; + reason?: string; + related?: ObjectReference; + reportingComponent?: string; + reportingInstance?: string; + series?: EventSeries; + source?: EventSource; + type?: string; +} +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +export interface EventSeries { + count?: number; + lastObservedTime?: MicroTime; +} +export interface EventSource { + component?: string; + host?: string; +} +export interface ExecAction { + command?: string[]; +} +export interface FCVolumeSource { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; +} +export interface FlexPersistentVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: SecretReference; +} +export interface FlexVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: LocalObjectReference; +} +export interface FlockerVolumeSource { + datasetName?: string; + datasetUUID?: string; +} +export interface GCEPersistentDiskVolumeSource { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; +} +export interface GRPCAction { + port: number; + service?: string; +} +export interface GitRepoVolumeSource { + directory?: string; + repository: string; + revision?: string; +} +export interface GlusterfsPersistentVolumeSource { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; +} +export interface GlusterfsVolumeSource { + endpoints: string; + path: string; + readOnly?: boolean; +} +export interface HTTPGetAction { + host?: string; + httpHeaders?: HTTPHeader[]; + path?: string; + port: IntOrString; + scheme?: "HTTP" | "HTTPS"; +} +export interface HTTPHeader { + name: string; + value: string; +} +export interface HostAlias { + hostnames?: string[]; + ip: string; +} +export interface HostIP { + ip: string; +} +export interface HostPathVolumeSource { + path: string; + type?: "" | "BlockDevice" | "CharDevice" | "Directory" | "DirectoryOrCreate" | "File" | "FileOrCreate" | "Socket"; +} +export interface ISCSIPersistentVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: SecretReference; + targetPortal: string; +} +export interface ISCSIVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: LocalObjectReference; + targetPortal: string; +} +export interface ImageVolumeSource { + pullPolicy?: "Always" | "IfNotPresent" | "Never"; + reference?: string; +} +export interface KeyToPath { + key: string; + mode?: number; + path: string; +} +export interface Lifecycle { + postStart?: LifecycleHandler; + preStop?: LifecycleHandler; +} +export interface LifecycleHandler { + exec?: ExecAction; + httpGet?: HTTPGetAction; + sleep?: SleepAction; + tcpSocket?: TCPSocketAction; +} +export interface LimitRange { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LimitRangeSpec; +} +export interface LimitRangeItem { + default?: { + [key: string]: unknown; + }; + defaultRequest?: { + [key: string]: unknown; + }; + max?: { + [key: string]: unknown; + }; + maxLimitRequestRatio?: { + [key: string]: unknown; + }; + min?: { + [key: string]: unknown; + }; + type: string; +} +export interface LimitRangeList { + apiVersion?: string; + items: LimitRange[]; + kind?: string; + metadata?: ListMeta; +} +export interface LimitRangeSpec { + limits: LimitRangeItem[]; +} +export interface LinuxContainerUser { + gid: number; + supplementalGroups?: number[]; + uid: number; +} +export interface LoadBalancerIngress { + hostname?: string; + ip?: string; + ipMode?: string; + ports?: PortStatus[]; +} +export interface LoadBalancerStatus { + ingress?: LoadBalancerIngress[]; +} +export interface LocalObjectReference { + name?: string; +} +export interface LocalVolumeSource { + fsType?: string; + path: string; +} +export interface ModifyVolumeStatus { + status: "InProgress" | "Infeasible" | "Pending"; + targetVolumeAttributesClassName?: string; +} +export interface NFSVolumeSource { + path: string; + readOnly?: boolean; + server: string; +} +export interface Namespace { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NamespaceSpec; + status?: NamespaceStatus; +} +export interface NamespaceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface NamespaceList { + apiVersion?: string; + items: Namespace[]; + kind?: string; + metadata?: ListMeta; +} +export interface NamespaceSpec { + finalizers?: string[]; +} +export interface NamespaceStatus { + conditions?: NamespaceCondition[]; + phase?: "Active" | "Terminating"; +} +export interface Node { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NodeSpec; + status?: NodeStatus; +} +export interface NodeAddress { + address: string; + type: string; +} +export interface NodeAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: PreferredSchedulingTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: NodeSelector; +} +export interface NodeCondition { + lastHeartbeatTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface NodeConfigSource { + configMap?: ConfigMapNodeConfigSource; +} +export interface NodeConfigStatus { + active?: NodeConfigSource; + assigned?: NodeConfigSource; + error?: string; + lastKnownGood?: NodeConfigSource; +} +export interface NodeDaemonEndpoints { + kubeletEndpoint?: DaemonEndpoint; +} +export interface NodeFeatures { + supplementalGroupsPolicy?: boolean; +} +export interface NodeList { + apiVersion?: string; + items: Node[]; + kind?: string; + metadata?: ListMeta; +} +export interface NodeRuntimeHandler { + features?: NodeRuntimeHandlerFeatures; + name?: string; +} +export interface NodeRuntimeHandlerFeatures { + recursiveReadOnlyMounts?: boolean; + userNamespaces?: boolean; +} +export interface NodeSelector { + nodeSelectorTerms: NodeSelectorTerm[]; +} +export interface NodeSelectorRequirement { + key: string; + operator: "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn"; + values?: string[]; +} +export interface NodeSelectorTerm { + matchExpressions?: NodeSelectorRequirement[]; + matchFields?: NodeSelectorRequirement[]; +} +export interface NodeSpec { + configSource?: NodeConfigSource; + externalID?: string; + podCIDR?: string; + podCIDRs?: string[]; + providerID?: string; + taints?: Taint[]; + unschedulable?: boolean; +} +export interface NodeStatus { + addresses?: NodeAddress[]; + allocatable?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: NodeCondition[]; + config?: NodeConfigStatus; + daemonEndpoints?: NodeDaemonEndpoints; + features?: NodeFeatures; + images?: ContainerImage[]; + nodeInfo?: NodeSystemInfo; + phase?: "Pending" | "Running" | "Terminated"; + runtimeHandlers?: NodeRuntimeHandler[]; + volumesAttached?: AttachedVolume[]; + volumesInUse?: string[]; +} +export interface NodeSystemInfo { + architecture: string; + bootID: string; + containerRuntimeVersion: string; + kernelVersion: string; + kubeProxyVersion: string; + kubeletVersion: string; + machineID: string; + operatingSystem: string; + osImage: string; + systemUUID: string; +} +export interface ObjectFieldSelector { + apiVersion?: string; + fieldPath: string; +} +export interface ObjectReference { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; +} +export interface PersistentVolume { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeSpec; + status?: PersistentVolumeStatus; +} +export interface PersistentVolumeClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeClaimSpec; + status?: PersistentVolumeClaimStatus; +} +export interface PersistentVolumeClaimCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface PersistentVolumeClaimList { + apiVersion?: string; + items: PersistentVolumeClaim[]; + kind?: string; + metadata?: ListMeta; +} +export interface PersistentVolumeClaimSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + dataSource?: TypedLocalObjectReference; + dataSourceRef?: TypedObjectReference; + resources?: VolumeResourceRequirements; + selector?: LabelSelector; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + volumeName?: string; +} +export interface PersistentVolumeClaimStatus { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: PersistentVolumeClaimCondition[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: ModifyVolumeStatus; + phase?: "Bound" | "Lost" | "Pending"; +} +export interface PersistentVolumeClaimTemplate { + metadata?: ObjectMeta; + spec: PersistentVolumeClaimSpec; +} +export interface PersistentVolumeClaimVolumeSource { + claimName: string; + readOnly?: boolean; +} +export interface PersistentVolumeList { + apiVersion?: string; + items: PersistentVolume[]; + kind?: string; + metadata?: ListMeta; +} +export interface PersistentVolumeSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFilePersistentVolumeSource; + capacity?: { + [key: string]: unknown; + }; + cephfs?: CephFSPersistentVolumeSource; + cinder?: CinderPersistentVolumeSource; + claimRef?: ObjectReference; + csi?: CSIPersistentVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexPersistentVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + glusterfs?: GlusterfsPersistentVolumeSource; + hostPath?: HostPathVolumeSource; + iscsi?: ISCSIPersistentVolumeSource; + local?: LocalVolumeSource; + mountOptions?: string[]; + nfs?: NFSVolumeSource; + nodeAffinity?: VolumeNodeAffinity; + persistentVolumeReclaimPolicy?: "Delete" | "Recycle" | "Retain"; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDPersistentVolumeSource; + scaleIO?: ScaleIOPersistentVolumeSource; + storageClassName?: string; + storageos?: StorageOSPersistentVolumeSource; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +export interface PersistentVolumeStatus { + lastPhaseTransitionTime?: Time; + message?: string; + phase?: "Available" | "Bound" | "Failed" | "Pending" | "Released"; + reason?: string; +} +export interface PhotonPersistentDiskVolumeSource { + fsType?: string; + pdID: string; +} +export interface Pod { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodSpec; + status?: PodStatus; +} +export interface PodAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +export interface PodAffinityTerm { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: LabelSelector; + namespaces?: string[]; + topologyKey: string; +} +export interface PodAntiAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +export interface PodCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface PodDNSConfig { + nameservers?: string[]; + options?: PodDNSConfigOption[]; + searches?: string[]; +} +export interface PodDNSConfigOption { + name?: string; + value?: string; +} +export interface PodIP { + ip: string; +} +export interface PodList { + apiVersion?: string; + items: Pod[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodOS { + name: string; +} +export interface PodReadinessGate { + conditionType: string; +} +export interface PodResourceClaim { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; +} +export interface PodResourceClaimStatus { + name: string; + resourceClaimName?: string; +} +export interface PodSchedulingGate { + name: string; +} +export interface PodSecurityContext { + appArmorProfile?: AppArmorProfile; + fsGroup?: number; + fsGroupChangePolicy?: "Always" | "OnRootMismatch"; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: "Merge" | "Strict"; + sysctls?: Sysctl[]; + windowsOptions?: WindowsSecurityContextOptions; +} +export interface PodSpec { + activeDeadlineSeconds?: number; + affinity?: Affinity; + automountServiceAccountToken?: boolean; + containers: Container[]; + dnsConfig?: PodDNSConfig; + dnsPolicy?: "ClusterFirst" | "ClusterFirstWithHostNet" | "Default" | "None"; + enableServiceLinks?: boolean; + ephemeralContainers?: EphemeralContainer[]; + hostAliases?: HostAlias[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: LocalObjectReference[]; + initContainers?: Container[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: PodOS; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + priority?: number; + priorityClassName?: string; + readinessGates?: PodReadinessGate[]; + resourceClaims?: PodResourceClaim[]; + resources?: ResourceRequirements; + restartPolicy?: "Always" | "Never" | "OnFailure"; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: PodSchedulingGate[]; + securityContext?: PodSecurityContext; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: Toleration[]; + topologySpreadConstraints?: TopologySpreadConstraint[]; + volumes?: Volume[]; +} +export interface PodStatus { + conditions?: PodCondition[]; + containerStatuses?: ContainerStatus[]; + ephemeralContainerStatuses?: ContainerStatus[]; + hostIP?: string; + hostIPs?: HostIP[]; + initContainerStatuses?: ContainerStatus[]; + message?: string; + nominatedNodeName?: string; + phase?: "Failed" | "Pending" | "Running" | "Succeeded" | "Unknown"; + podIP?: string; + podIPs?: PodIP[]; + qosClass?: "BestEffort" | "Burstable" | "Guaranteed"; + reason?: string; + resize?: string; + resourceClaimStatuses?: PodResourceClaimStatus[]; + startTime?: Time; +} +export interface PodTemplate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + template?: PodTemplateSpec; +} +export interface PodTemplateList { + apiVersion?: string; + items: PodTemplate[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodTemplateSpec { + metadata?: ObjectMeta; + spec?: PodSpec; +} +export interface PortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +export interface PortworxVolumeSource { + fsType?: string; + readOnly?: boolean; + volumeID: string; +} +export interface PreferredSchedulingTerm { + preference: NodeSelectorTerm; + weight: number; +} +export interface Probe { + exec?: ExecAction; + failureThreshold?: number; + grpc?: GRPCAction; + httpGet?: HTTPGetAction; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: TCPSocketAction; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; +} +export interface ProjectedVolumeSource { + defaultMode?: number; + sources?: VolumeProjection[]; +} +export interface QuobyteVolumeSource { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; +} +export interface RBDPersistentVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: SecretReference; + user?: string; +} +export interface RBDVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + user?: string; +} +export interface ReplicationController { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicationControllerSpec; + status?: ReplicationControllerStatus; +} +export interface ReplicationControllerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface ReplicationControllerList { + apiVersion?: string; + items: ReplicationController[]; + kind?: string; + metadata?: ListMeta; +} +export interface ReplicationControllerSpec { + minReadySeconds?: number; + replicas?: number; + selector?: { + [key: string]: unknown; + }; + template?: PodTemplateSpec; +} +export interface ReplicationControllerStatus { + availableReplicas?: number; + conditions?: ReplicationControllerCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +export interface ResourceClaim { + name: string; + request?: string; +} +export interface ResourceFieldSelector { + containerName?: string; + divisor?: Quantity; + resource: string; +} +export interface ResourceHealth { + health?: string; + resourceID: string; +} +export interface ResourceQuota { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ResourceQuotaSpec; + status?: ResourceQuotaStatus; +} +export interface ResourceQuotaList { + apiVersion?: string; + items: ResourceQuota[]; + kind?: string; + metadata?: ListMeta; +} +export interface ResourceQuotaSpec { + hard?: { + [key: string]: unknown; + }; + scopeSelector?: ScopeSelector; + scopes?: ("BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating")[]; +} +export interface ResourceQuotaStatus { + hard?: { + [key: string]: unknown; + }; + used?: { + [key: string]: unknown; + }; +} +export interface ResourceRequirements { + claims?: ResourceClaim[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +export interface ResourceStatus { + name: string; + resources?: ResourceHealth[]; +} +export interface SELinuxOptions { + level?: string; + role?: string; + type?: string; + user?: string; +} +export interface ScaleIOPersistentVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: SecretReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +export interface ScaleIOVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: LocalObjectReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +export interface ScopeSelector { + matchExpressions?: ScopedResourceSelectorRequirement[]; +} +export interface ScopedResourceSelectorRequirement { + operator: "DoesNotExist" | "Exists" | "In" | "NotIn"; + scopeName: "BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating"; + values?: string[]; +} +export interface SeccompProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +export interface Secret { + apiVersion?: string; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; + stringData?: { + [key: string]: unknown; + }; + type?: string; +} +export interface SecretEnvSource { + name?: string; + optional?: boolean; +} +export interface SecretKeySelector { + key: string; + name?: string; + optional?: boolean; +} +export interface SecretList { + apiVersion?: string; + items: Secret[]; + kind?: string; + metadata?: ListMeta; +} +export interface SecretProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +export interface SecretReference { + name?: string; + namespace?: string; +} +export interface SecretVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + optional?: boolean; + secretName?: string; +} +export interface SecurityContext { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: AppArmorProfile; + capabilities?: Capabilities; + privileged?: boolean; + procMount?: "Default" | "Unmasked"; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + windowsOptions?: WindowsSecurityContextOptions; +} +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ServiceSpec; + status?: ServiceStatus; +} +export interface ServiceAccount { + apiVersion?: string; + automountServiceAccountToken?: boolean; + imagePullSecrets?: LocalObjectReference[]; + kind?: string; + metadata?: ObjectMeta; + secrets?: ObjectReference[]; +} +export interface ServiceAccountList { + apiVersion?: string; + items: ServiceAccount[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServiceAccountTokenProjection { + audience?: string; + expirationSeconds?: number; + path: string; +} +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServicePort { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; + targetPort?: IntOrString; +} +export interface ServiceSpec { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: "Cluster" | "Local"; + healthCheckNodePort?: number; + internalTrafficPolicy?: "Cluster" | "Local"; + ipFamilies?: ("" | "IPv4" | "IPv6")[]; + ipFamilyPolicy?: "PreferDualStack" | "RequireDualStack" | "SingleStack"; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: ServicePort[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: "ClientIP" | "None"; + sessionAffinityConfig?: SessionAffinityConfig; + trafficDistribution?: string; + type?: "ClusterIP" | "ExternalName" | "LoadBalancer" | "NodePort"; +} +export interface ServiceStatus { + conditions?: Condition[]; + loadBalancer?: LoadBalancerStatus; +} +export interface SessionAffinityConfig { + clientIP?: ClientIPConfig; +} +export interface SleepAction { + seconds: number; +} +export interface StorageOSPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: ObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +export interface StorageOSVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +export interface Sysctl { + name: string; + value: string; +} +export interface TCPSocketAction { + host?: string; + port: IntOrString; +} +export interface Taint { + effect: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key: string; + timeAdded?: Time; + value?: string; +} +export interface Toleration { + effect?: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key?: string; + operator?: "Equal" | "Exists"; + tolerationSeconds?: number; + value?: string; +} +export interface TopologySelectorLabelRequirement { + key: string; + values: string[]; +} +export interface TopologySelectorTerm { + matchLabelExpressions?: TopologySelectorLabelRequirement[]; +} +export interface TopologySpreadConstraint { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: "Honor" | "Ignore"; + nodeTaintsPolicy?: "Honor" | "Ignore"; + topologyKey: string; + whenUnsatisfiable: "DoNotSchedule" | "ScheduleAnyway"; +} +export interface TypedLocalObjectReference { + apiGroup?: string; + kind: string; + name: string; +} +export interface TypedObjectReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +export interface Volume { + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFileVolumeSource; + cephfs?: CephFSVolumeSource; + cinder?: CinderVolumeSource; + configMap?: ConfigMapVolumeSource; + csi?: CSIVolumeSource; + downwardAPI?: DownwardAPIVolumeSource; + emptyDir?: EmptyDirVolumeSource; + ephemeral?: EphemeralVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + gitRepo?: GitRepoVolumeSource; + glusterfs?: GlusterfsVolumeSource; + hostPath?: HostPathVolumeSource; + image?: ImageVolumeSource; + iscsi?: ISCSIVolumeSource; + name: string; + nfs?: NFSVolumeSource; + persistentVolumeClaim?: PersistentVolumeClaimVolumeSource; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + projected?: ProjectedVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDVolumeSource; + scaleIO?: ScaleIOVolumeSource; + secret?: SecretVolumeSource; + storageos?: StorageOSVolumeSource; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +export interface VolumeDevice { + devicePath: string; + name: string; +} +export interface VolumeMount { + mountPath: string; + mountPropagation?: "Bidirectional" | "HostToContainer" | "None"; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; +} +export interface VolumeMountStatus { + mountPath: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; +} +export interface VolumeNodeAffinity { + required?: NodeSelector; +} +export interface VolumeProjection { + clusterTrustBundle?: ClusterTrustBundleProjection; + configMap?: ConfigMapProjection; + downwardAPI?: DownwardAPIProjection; + secret?: SecretProjection; + serviceAccountToken?: ServiceAccountTokenProjection; +} +export interface VolumeResourceRequirements { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +export interface VsphereVirtualDiskVolumeSource { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; +} +export interface WeightedPodAffinityTerm { + podAffinityTerm: PodAffinityTerm; + weight: number; +} +export interface WindowsSecurityContextOptions { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; +} +export interface Endpoint { + addresses: string[]; + conditions?: EndpointConditions; + deprecatedTopology?: { + [key: string]: unknown; + }; + hints?: EndpointHints; + hostname?: string; + nodeName?: string; + targetRef?: ObjectReference; + zone?: string; +} +export interface EndpointConditions { + ready?: boolean; + serving?: boolean; + terminating?: boolean; +} +export interface EndpointHints { + forZones?: ForZone[]; +} +export interface EndpointPort { + appProtocol?: string; + name?: string; + port?: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface EndpointSlice { + addressType: "FQDN" | "IPv4" | "IPv6"; + apiVersion?: string; + endpoints: Endpoint[]; + kind?: string; + metadata?: ObjectMeta; + ports?: EndpointPort[]; +} +export interface EndpointSliceList { + apiVersion?: string; + items: EndpointSlice[]; + kind?: string; + metadata?: ListMeta; +} +export interface ForZone { + name: string; +} +export interface Event { + action?: string; + apiVersion?: string; + deprecatedCount?: number; + deprecatedFirstTimestamp?: Time; + deprecatedLastTimestamp?: Time; + deprecatedSource?: EventSource; + eventTime: MicroTime; + kind?: string; + metadata?: ObjectMeta; + note?: string; + reason?: string; + regarding?: ObjectReference; + related?: ObjectReference; + reportingController?: string; + reportingInstance?: string; + series?: EventSeries; + type?: string; +} +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +export interface EventSeries { + count: number; + lastObservedTime: MicroTime; +} +export interface ExemptPriorityLevelConfiguration { + lendablePercent?: number; + nominalConcurrencyShares?: number; +} +export interface FlowDistinguisherMethod { + type: string; +} +export interface FlowSchema { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: FlowSchemaSpec; + status?: FlowSchemaStatus; +} +export interface FlowSchemaCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status?: string; + type?: string; +} +export interface FlowSchemaList { + apiVersion?: string; + items: FlowSchema[]; + kind?: string; + metadata?: ListMeta; +} +export interface FlowSchemaSpec { + distinguisherMethod?: FlowDistinguisherMethod; + matchingPrecedence?: number; + priorityLevelConfiguration: PriorityLevelConfigurationReference; + rules?: PolicyRulesWithSubjects[]; +} +export interface FlowSchemaStatus { + conditions?: FlowSchemaCondition[]; +} +export interface GroupSubject { + name: string; +} +export interface LimitResponse { + queuing?: QueuingConfiguration; + type: string; +} +export interface LimitedPriorityLevelConfiguration { + borrowingLimitPercent?: number; + lendablePercent?: number; + limitResponse?: LimitResponse; + nominalConcurrencyShares?: number; +} +export interface NonResourcePolicyRule { + nonResourceURLs: string[]; + verbs: string[]; +} +export interface PolicyRulesWithSubjects { + nonResourceRules?: NonResourcePolicyRule[]; + resourceRules?: ResourcePolicyRule[]; + subjects: Subject[]; +} +export interface PriorityLevelConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PriorityLevelConfigurationSpec; + status?: PriorityLevelConfigurationStatus; +} +export interface PriorityLevelConfigurationCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status?: string; + type?: string; +} +export interface PriorityLevelConfigurationList { + apiVersion?: string; + items: PriorityLevelConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +export interface PriorityLevelConfigurationReference { + name: string; +} +export interface PriorityLevelConfigurationSpec { + exempt?: ExemptPriorityLevelConfiguration; + limited?: LimitedPriorityLevelConfiguration; + type: string; +} +export interface PriorityLevelConfigurationStatus { + conditions?: PriorityLevelConfigurationCondition[]; +} +export interface QueuingConfiguration { + handSize?: number; + queueLengthLimit?: number; + queues?: number; +} +export interface ResourcePolicyRule { + apiGroups: string[]; + clusterScope?: boolean; + namespaces?: string[]; + resources: string[]; + verbs: string[]; +} +export interface ServiceAccountSubject { + name: string; + namespace: string; +} +export interface Subject { + group?: GroupSubject; + kind: string; + serviceAccount?: ServiceAccountSubject; + user?: UserSubject; +} +export interface UserSubject { + name: string; +} +export interface HTTPIngressPath { + backend: IngressBackend; + path?: string; + pathType: "Exact" | "ImplementationSpecific" | "Prefix"; +} +export interface HTTPIngressRuleValue { + paths: HTTPIngressPath[]; +} +export interface IPBlock { + cidr: string; + except?: string[]; +} +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressSpec; + status?: IngressStatus; +} +export interface IngressBackend { + resource?: TypedLocalObjectReference; + service?: IngressServiceBackend; +} +export interface IngressClass { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressClassSpec; +} +export interface IngressClassList { + apiVersion?: string; + items: IngressClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface IngressClassParametersReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + scope?: string; +} +export interface IngressClassSpec { + controller?: string; + parameters?: IngressClassParametersReference; +} +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +export interface IngressLoadBalancerIngress { + hostname?: string; + ip?: string; + ports?: IngressPortStatus[]; +} +export interface IngressLoadBalancerStatus { + ingress?: IngressLoadBalancerIngress[]; +} +export interface IngressPortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +export interface IngressRule { + host?: string; + http?: HTTPIngressRuleValue; +} +export interface IngressServiceBackend { + name: string; + port?: ServiceBackendPort; +} +export interface IngressSpec { + defaultBackend?: IngressBackend; + ingressClassName?: string; + rules?: IngressRule[]; + tls?: IngressTLS[]; +} +export interface IngressStatus { + loadBalancer?: IngressLoadBalancerStatus; +} +export interface IngressTLS { + hosts?: string[]; + secretName?: string; +} +export interface NetworkPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NetworkPolicySpec; +} +export interface NetworkPolicyEgressRule { + ports?: NetworkPolicyPort[]; + to?: NetworkPolicyPeer[]; +} +export interface NetworkPolicyIngressRule { + from?: NetworkPolicyPeer[]; + ports?: NetworkPolicyPort[]; +} +export interface NetworkPolicyList { + apiVersion?: string; + items: NetworkPolicy[]; + kind?: string; + metadata?: ListMeta; +} +export interface NetworkPolicyPeer { + ipBlock?: IPBlock; + namespaceSelector?: LabelSelector; + podSelector?: LabelSelector; +} +export interface NetworkPolicyPort { + endPort?: number; + port?: IntOrString; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface NetworkPolicySpec { + egress?: NetworkPolicyEgressRule[]; + ingress?: NetworkPolicyIngressRule[]; + podSelector: LabelSelector; + policyTypes?: ("Egress" | "Ingress")[]; +} +export interface ServiceBackendPort { + name?: string; + number?: number; +} +export interface Overhead { + podFixed?: { + [key: string]: unknown; + }; +} +export interface RuntimeClass { + apiVersion?: string; + handler: string; + kind?: string; + metadata?: ObjectMeta; + overhead?: Overhead; + scheduling?: Scheduling; +} +export interface RuntimeClassList { + apiVersion?: string; + items: RuntimeClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface Scheduling { + nodeSelector?: { + [key: string]: unknown; + }; + tolerations?: Toleration[]; +} +export interface Eviction { + apiVersion?: string; + deleteOptions?: DeleteOptions; + kind?: string; + metadata?: ObjectMeta; +} +export interface PodDisruptionBudget { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodDisruptionBudgetSpec; + status?: PodDisruptionBudgetStatus; +} +export interface PodDisruptionBudgetList { + apiVersion?: string; + items: PodDisruptionBudget[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodDisruptionBudgetSpec { + maxUnavailable?: IntOrString; + minAvailable?: IntOrString; + selector?: LabelSelector; + unhealthyPodEvictionPolicy?: "AlwaysAllow" | "IfHealthyBudget"; +} +export interface PodDisruptionBudgetStatus { + conditions?: Condition[]; + currentHealthy: number; + desiredHealthy: number; + disruptedPods?: { + [key: string]: unknown; + }; + disruptionsAllowed: number; + expectedPods: number; + observedGeneration?: number; +} +export interface AggregationRule { + clusterRoleSelectors?: LabelSelector[]; +} +export interface ClusterRole { + aggregationRule?: AggregationRule; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +export interface ClusterRoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +export interface ClusterRoleBindingList { + apiVersion?: string; + items: ClusterRoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterRoleList { + apiVersion?: string; + items: ClusterRole[]; + kind?: string; + metadata?: ListMeta; +} +export interface PolicyRule { + apiGroups?: string[]; + nonResourceURLs?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +export interface Role { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +export interface RoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +export interface RoleBindingList { + apiVersion?: string; + items: RoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +export interface RoleList { + apiVersion?: string; + items: Role[]; + kind?: string; + metadata?: ListMeta; +} +export interface RoleRef { + apiGroup: string; + kind: string; + name: string; +} +export interface Subject { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +export interface PriorityClass { + apiVersion?: string; + description?: string; + globalDefault?: boolean; + kind?: string; + metadata?: ObjectMeta; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + value: number; +} +export interface PriorityClassList { + apiVersion?: string; + items: PriorityClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface CSIDriver { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSIDriverSpec; +} +export interface CSIDriverList { + apiVersion?: string; + items: CSIDriver[]; + kind?: string; + metadata?: ListMeta; +} +export interface CSIDriverSpec { + attachRequired?: boolean; + fsGroupPolicy?: string; + podInfoOnMount?: boolean; + requiresRepublish?: boolean; + seLinuxMount?: boolean; + storageCapacity?: boolean; + tokenRequests?: TokenRequest[]; + volumeLifecycleModes?: string[]; +} +export interface CSINode { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSINodeSpec; +} +export interface CSINodeDriver { + allocatable?: VolumeNodeResources; + name: string; + nodeID: string; + topologyKeys?: string[]; +} +export interface CSINodeList { + apiVersion?: string; + items: CSINode[]; + kind?: string; + metadata?: ListMeta; +} +export interface CSINodeSpec { + drivers: CSINodeDriver[]; +} +export interface CSIStorageCapacity { + apiVersion?: string; + capacity?: Quantity; + kind?: string; + maximumVolumeSize?: Quantity; + metadata?: ObjectMeta; + nodeTopology?: LabelSelector; + storageClassName: string; +} +export interface CSIStorageCapacityList { + apiVersion?: string; + items: CSIStorageCapacity[]; + kind?: string; + metadata?: ListMeta; +} +export interface StorageClass { + allowVolumeExpansion?: boolean; + allowedTopologies?: TopologySelectorTerm[]; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + mountOptions?: string[]; + parameters?: { + [key: string]: unknown; + }; + provisioner: string; + reclaimPolicy?: "Delete" | "Recycle" | "Retain"; + volumeBindingMode?: "Immediate" | "WaitForFirstConsumer"; +} +export interface StorageClassList { + apiVersion?: string; + items: StorageClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface TokenRequest { + audience: string; + expirationSeconds?: number; +} +export interface VolumeAttachment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: VolumeAttachmentSpec; + status?: VolumeAttachmentStatus; +} +export interface VolumeAttachmentList { + apiVersion?: string; + items: VolumeAttachment[]; + kind?: string; + metadata?: ListMeta; +} +export interface VolumeAttachmentSource { + inlineVolumeSpec?: PersistentVolumeSpec; + persistentVolumeName?: string; +} +export interface VolumeAttachmentSpec { + attacher: string; + nodeName: string; + source: VolumeAttachmentSource; +} +export interface VolumeAttachmentStatus { + attachError?: VolumeError; + attached: boolean; + attachmentMetadata?: { + [key: string]: unknown; + }; + detachError?: VolumeError; +} +export interface VolumeError { + message?: string; + time?: Time; +} +export interface VolumeNodeResources { + count?: number; +} +export interface CustomResourceColumnDefinition { + description?: string; + format?: string; + jsonPath: string; + name: string; + priority?: number; + type: string; +} +export interface CustomResourceConversion { + strategy: string; + webhook?: WebhookConversion; +} +export interface CustomResourceDefinition { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CustomResourceDefinitionSpec; + status?: CustomResourceDefinitionStatus; +} +export interface CustomResourceDefinitionCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface CustomResourceDefinitionList { + apiVersion?: string; + items: CustomResourceDefinition[]; + kind?: string; + metadata?: ListMeta; +} +export interface CustomResourceDefinitionNames { + categories?: string[]; + kind: string; + listKind?: string; + plural: string; + shortNames?: string[]; + singular?: string; +} +export interface CustomResourceDefinitionSpec { + conversion?: CustomResourceConversion; + group: string; + names: CustomResourceDefinitionNames; + preserveUnknownFields?: boolean; + scope: string; + versions: CustomResourceDefinitionVersion[]; +} +export interface CustomResourceDefinitionStatus { + acceptedNames?: CustomResourceDefinitionNames; + conditions?: CustomResourceDefinitionCondition[]; + storedVersions?: string[]; +} +export interface CustomResourceDefinitionVersion { + additionalPrinterColumns?: CustomResourceColumnDefinition[]; + deprecated?: boolean; + deprecationWarning?: string; + name: string; + schema?: CustomResourceValidation; + selectableFields?: SelectableField[]; + served: boolean; + storage: boolean; + subresources?: CustomResourceSubresources; +} +export interface CustomResourceSubresourceScale { + labelSelectorPath?: string; + specReplicasPath: string; + statusReplicasPath: string; +} +export type CustomResourceSubresourceStatus = { + [key: string]: unknown; +}; +export interface CustomResourceSubresources { + scale?: CustomResourceSubresourceScale; + status?: CustomResourceSubresourceStatus; +} +export interface CustomResourceValidation { + openAPIV3Schema?: JSONSchemaProps; +} +export interface ExternalDocumentation { + description?: string; + url?: string; +} +export type JSON = any; +export interface JSONSchemaProps { + $ref?: string; + $schema?: string; + additionalItems?: JSONSchemaPropsOrBool; + additionalProperties?: JSONSchemaPropsOrBool; + allOf?: JSONSchemaProps[]; + anyOf?: JSONSchemaProps[]; + default?: JSON; + definitions?: { + [key: string]: unknown; + }; + dependencies?: { + [key: string]: unknown; + }; + description?: string; + enum?: JSON[]; + example?: JSON; + exclusiveMaximum?: boolean; + exclusiveMinimum?: boolean; + externalDocs?: ExternalDocumentation; + format?: string; + id?: string; + items?: JSONSchemaPropsOrArray; + maxItems?: number; + maxLength?: number; + maxProperties?: number; + maximum?: number; + minItems?: number; + minLength?: number; + minProperties?: number; + minimum?: number; + multipleOf?: number; + not?: JSONSchemaProps; + nullable?: boolean; + oneOf?: JSONSchemaProps[]; + pattern?: string; + patternProperties?: { + [key: string]: unknown; + }; + properties?: { + [key: string]: unknown; + }; + required?: string[]; + title?: string; + type?: string; + uniqueItems?: boolean; + "x-kubernetes-embedded-resource"?: boolean; + "x-kubernetes-int-or-string"?: boolean; + "x-kubernetes-list-map-keys"?: string[]; + "x-kubernetes-list-type"?: string; + "x-kubernetes-map-type"?: string; + "x-kubernetes-preserve-unknown-fields"?: boolean; + "x-kubernetes-validations"?: ValidationRule[]; +} +export type JSONSchemaPropsOrArray = any; +export type JSONSchemaPropsOrBool = any; +export type JSONSchemaPropsOrStringArray = any; +export interface SelectableField { + jsonPath: string; +} +export interface ServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +export interface ValidationRule { + fieldPath?: string; + message?: string; + messageExpression?: string; + optionalOldSelf?: boolean; + reason?: "FieldValueDuplicate" | "FieldValueForbidden" | "FieldValueInvalid" | "FieldValueRequired"; + rule: string; +} +export interface WebhookClientConfig { + caBundle?: string; + service?: ServiceReference; + url?: string; +} +export interface WebhookConversion { + clientConfig?: WebhookClientConfig; + conversionReviewVersions: string[]; +} +export type Quantity = string; +export interface APIGroup { + apiVersion?: string; + kind?: string; + name: string; + preferredVersion?: GroupVersionForDiscovery; + serverAddressByClientCIDRs?: ServerAddressByClientCIDR[]; + versions: GroupVersionForDiscovery[]; +} +export interface APIGroupList { + apiVersion?: string; + groups: APIGroup[]; + kind?: string; +} +export interface APIResource { + categories?: string[]; + group?: string; + kind: string; + name: string; + namespaced: boolean; + shortNames?: string[]; + singularName: string; + storageVersionHash?: string; + verbs: string[]; + version?: string; +} +export interface APIResourceList { + apiVersion?: string; + groupVersion: string; + kind?: string; + resources: APIResource[]; +} +export interface APIVersions { + apiVersion?: string; + kind?: string; + serverAddressByClientCIDRs: ServerAddressByClientCIDR[]; + versions: string[]; +} +export interface Condition { + lastTransitionTime: Time; + message: string; + observedGeneration?: number; + reason: string; + status: string; + type: string; +} +export interface DeleteOptions { + apiVersion?: string; + dryRun?: string[]; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + kind?: string; + orphanDependents?: boolean; + preconditions?: Preconditions; + propagationPolicy?: string; +} +export interface FieldSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +export type FieldsV1 = { + [key: string]: unknown; +}; +export interface GroupVersionForDiscovery { + groupVersion: string; + version: string; +} +export interface LabelSelector { + matchExpressions?: LabelSelectorRequirement[]; + matchLabels?: { + [key: string]: unknown; + }; +} +export interface LabelSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +export interface ListMeta { + continue?: string; + remainingItemCount?: number; + resourceVersion?: string; + selfLink?: string; +} +export interface ManagedFieldsEntry { + apiVersion?: string; + fieldsType?: string; + fieldsV1?: FieldsV1; + manager?: string; + operation?: string; + subresource?: string; + time?: Time; +} +export type MicroTime = string; +export interface ObjectMeta { + annotations?: { + [key: string]: unknown; + }; + creationTimestamp?: Time; + deletionGracePeriodSeconds?: number; + deletionTimestamp?: Time; + finalizers?: string[]; + generateName?: string; + generation?: number; + labels?: { + [key: string]: unknown; + }; + managedFields?: ManagedFieldsEntry[]; + name?: string; + namespace?: string; + ownerReferences?: OwnerReference[]; + resourceVersion?: string; + selfLink?: string; + uid?: string; +} +export interface OwnerReference { + apiVersion: string; + blockOwnerDeletion?: boolean; + controller?: boolean; + kind: string; + name: string; + uid: string; +} +export type Patch = { + [key: string]: unknown; +}; +export interface Preconditions { + resourceVersion?: string; + uid?: string; +} +export interface ServerAddressByClientCIDR { + clientCIDR: string; + serverAddress: string; +} +export interface Status { + apiVersion?: string; + code?: number; + details?: StatusDetails; + kind?: string; + message?: string; + metadata?: ListMeta; + reason?: string; + status?: string; +} +export interface StatusCause { + field?: string; + message?: string; + reason?: string; +} +export interface StatusDetails { + causes?: StatusCause[]; + group?: string; + kind?: string; + name?: string; + retryAfterSeconds?: number; + uid?: string; +} +export type Time = string; +export interface WatchEvent { + object: RawExtension; + type: string; +} +export type RawExtension = { + [key: string]: unknown; +}; +export type IntOrString = string; +export interface Info { + buildDate: string; + compiler: string; + gitCommit: string; + gitTreeState: string; + gitVersion: string; + goVersion: string; + major: string; + minor: string; + platform: string; +} +export interface APIService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: APIServiceSpec; + status?: APIServiceStatus; +} +export interface APIServiceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface APIServiceList { + apiVersion?: string; + items: APIService[]; + kind?: string; + metadata?: ListMeta; +} +export interface APIServiceSpec { + caBundle?: string; + group?: string; + groupPriorityMinimum: number; + insecureSkipTLSVerify?: boolean; + service?: ServiceReference; + version?: string; + versionPriority: number; +} +export interface APIServiceStatus { + conditions?: APIServiceCondition[]; +} +export interface ServiceReference { + name?: string; + namespace?: string; + port?: number; +} +export interface GetServiceAccountIssuerOpenIDConfigurationRequest {} +export interface GetCoreAPIVersionsRequest {} +export interface GetCoreV1APIResourcesRequest {} +export interface ListCoreV1ComponentStatusRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadCoreV1ComponentStatusRequest { + pretty?: string; + name: string; +} +export interface ListCoreV1ConfigMapForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1EndpointsForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1EventForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1LimitRangeForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1NamespaceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: Namespace; +} +export interface CreateCoreV1NamespacedBindingRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + namespace: string; + body: Binding; +} +export interface ListCoreV1NamespacedConfigMapRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ConfigMap; +} +export interface DeleteCoreV1CollectionNamespacedConfigMapRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedConfigMapRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ConfigMap; +} +export interface DeleteCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedEndpointsRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Endpoints; +} +export interface DeleteCoreV1CollectionNamespacedEndpointsRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedEndpointsRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Endpoints; +} +export interface DeleteCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedEventRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Event; +} +export interface DeleteCoreV1CollectionNamespacedEventRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedEventRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Event; +} +export interface DeleteCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedLimitRangeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: LimitRange; +} +export interface DeleteCoreV1CollectionNamespacedLimitRangeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedLimitRangeRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: LimitRange; +} +export interface DeleteCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PersistentVolumeClaim; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedPodRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Pod; +} +export interface DeleteCoreV1CollectionNamespacedPodRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedPodRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pod; +} +export interface DeleteCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedPodAttachRequest { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodAttachRequest { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface CreateCoreV1NamespacedPodBindingRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + namespace: string; + body: Binding; +} +export interface ReadCoreV1NamespacedPodEphemeralcontainersRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodEphemeralcontainersRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pod; +} +export interface PatchCoreV1NamespacedPodEphemeralcontainersRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface CreateCoreV1NamespacedPodEvictionRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + namespace: string; + body: Eviction; +} +export interface ConnectCoreV1GetNamespacedPodExecRequest { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodExecRequest { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface ReadCoreV1NamespacedPodLogRequest { + container?: string; + follow?: boolean; + insecureSkipTLSVerifyBackend?: boolean; + limitBytes?: number; + pretty?: string; + previous?: boolean; + sinceSeconds?: number; + stream?: string; + tailLines?: number; + timestamps?: boolean; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedPodPortforwardRequest { + ports?: number; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodPortforwardRequest { + ports?: number; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PutNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1OptionsNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1HeadNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PatchNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PostNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PutNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1HeadNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PatchNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ReadCoreV1NamespacedPodStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pod; +} +export interface PatchCoreV1NamespacedPodStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedPodTemplateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodTemplate; +} +export interface DeleteCoreV1CollectionNamespacedPodTemplateRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedPodTemplateRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodTemplate; +} +export interface DeleteCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ReplicationController; +} +export interface DeleteCoreV1CollectionNamespacedReplicationControllerRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicationController; +} +export interface DeleteCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedReplicationControllerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchCoreV1NamespacedReplicationControllerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedReplicationControllerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicationController; +} +export interface PatchCoreV1NamespacedReplicationControllerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ResourceQuota; +} +export interface DeleteCoreV1CollectionNamespacedResourceQuotaRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ResourceQuota; +} +export interface DeleteCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedResourceQuotaStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedResourceQuotaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ResourceQuota; +} +export interface PatchCoreV1NamespacedResourceQuotaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedSecretRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Secret; +} +export interface DeleteCoreV1CollectionNamespacedSecretRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedSecretRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Secret; +} +export interface DeleteCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedServiceAccountRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ServiceAccount; +} +export interface DeleteCoreV1CollectionNamespacedServiceAccountRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedServiceAccountRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServiceAccount; +} +export interface DeleteCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface CreateCoreV1NamespacedServiceAccountTokenRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + namespace: string; + body: TokenRequest; +} +export interface ListCoreV1NamespacedServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Service; +} +export interface DeleteCoreV1CollectionNamespacedServiceRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedServiceRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface DeleteCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PutNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1OptionsNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1HeadNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PostNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PutNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ReadCoreV1NamespacedServiceStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface PatchCoreV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespaceRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Namespace; +} +export interface DeleteCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReplaceCoreV1NamespaceFinalizeRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + body: Namespace; +} +export interface ReadCoreV1NamespaceStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NamespaceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Namespace; +} +export interface PatchCoreV1NamespaceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCoreV1NodeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: Node; +} +export interface DeleteCoreV1CollectionNodeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadCoreV1NodeRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Node; +} +export interface DeleteCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ConnectCoreV1GetNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1PostNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1PutNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1DeleteNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1OptionsNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1HeadNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1PatchNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1GetNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1PostNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1PutNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1DeleteNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1OptionsNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1HeadNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1PatchNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ReadCoreV1NodeStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NodeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Node; +} +export interface PatchCoreV1NodeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCoreV1PersistentVolumeClaimForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1PersistentVolumeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: PersistentVolume; +} +export interface DeleteCoreV1CollectionPersistentVolumeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadCoreV1PersistentVolumeRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PersistentVolume; +} +export interface DeleteCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCoreV1PersistentVolumeStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1PersistentVolumeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PersistentVolume; +} +export interface PatchCoreV1PersistentVolumeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCoreV1PodForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1PodTemplateForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ReplicationControllerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ResourceQuotaForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1SecretForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ServiceAccountForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ServiceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ConfigMapListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1EndpointsListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1EventListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1LimitRangeListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1NamespaceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1NamespacedConfigMapListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedConfigMapRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedEndpointsListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedEndpointsRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedEventListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedEventRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedLimitRangeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedLimitRangeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedPodListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedPodRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedPodTemplateListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedPodTemplateRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedReplicationControllerListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedReplicationControllerRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedResourceQuotaListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedResourceQuotaRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedSecretListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedSecretRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceAccountListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceAccountRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespaceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchCoreV1NodeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1NodeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1PersistentVolumeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1PersistentVolumeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchCoreV1PodListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1PodTemplateListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ReplicationControllerListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ResourceQuotaListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1SecretListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ServiceAccountListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ServiceListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAPIVersionsRequest {} +export interface ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Challenge; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Order; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAcmeCertManagerIoV1OrderForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAdmissionregistrationAPIGroupRequest {} +export interface GetAdmissionregistrationV1APIResourcesRequest {} +export interface ListAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingAdmissionPolicy; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetApiextensionsAPIGroupRequest {} +export interface GetApiextensionsV1APIResourcesRequest {} +export interface ListApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadApiextensionsV1CustomResourceDefinitionStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CustomResourceDefinition; +} +export interface PatchApiextensionsV1CustomResourceDefinitionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchApiextensionsV1CustomResourceDefinitionListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchApiextensionsV1CustomResourceDefinitionRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetApiregistrationAPIGroupRequest {} +export interface GetApiregistrationV1APIResourcesRequest {} +export interface ListApiregistrationV1APIServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: APIService; +} +export interface DeleteApiregistrationV1CollectionAPIServiceRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadApiregistrationV1APIServiceRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: APIService; +} +export interface DeleteApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadApiregistrationV1APIServiceStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiregistrationV1APIServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: APIService; +} +export interface PatchApiregistrationV1APIServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchApiregistrationV1APIServiceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchApiregistrationV1APIServiceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetAppsAPIGroupRequest {} +export interface GetAppsV1APIResourcesRequest {} +export interface ListAppsV1ControllerRevisionForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1DaemonSetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1DeploymentForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ControllerRevision; +} +export interface DeleteAppsV1CollectionNamespacedControllerRevisionRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ControllerRevision; +} +export interface DeleteAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedDaemonSetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: DaemonSet; +} +export interface DeleteAppsV1CollectionNamespacedDaemonSetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedDaemonSetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DaemonSet; +} +export interface DeleteAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedDaemonSetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDaemonSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DaemonSet; +} +export interface PatchAppsV1NamespacedDaemonSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedDeploymentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Deployment; +} +export interface DeleteAppsV1CollectionNamespacedDeploymentRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedDeploymentRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Deployment; +} +export interface DeleteAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDeploymentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchAppsV1NamespacedDeploymentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDeploymentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Deployment; +} +export interface PatchAppsV1NamespacedDeploymentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedReplicaSetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ReplicaSet; +} +export interface DeleteAppsV1CollectionNamespacedReplicaSetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedReplicaSetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicaSet; +} +export interface DeleteAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedReplicaSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchAppsV1NamespacedReplicaSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedReplicaSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicaSet; +} +export interface PatchAppsV1NamespacedReplicaSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedStatefulSetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: StatefulSet; +} +export interface DeleteAppsV1CollectionNamespacedStatefulSetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedStatefulSetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: StatefulSet; +} +export interface DeleteAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedStatefulSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchAppsV1NamespacedStatefulSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedStatefulSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: StatefulSet; +} +export interface PatchAppsV1NamespacedStatefulSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1ReplicaSetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1StatefulSetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1ControllerRevisionListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1DaemonSetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1DeploymentListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1NamespacedControllerRevisionListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedControllerRevisionRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedDaemonSetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedDaemonSetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedDeploymentListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedDeploymentRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedReplicaSetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedReplicaSetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedStatefulSetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedStatefulSetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1ReplicaSetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1StatefulSetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAuthenticationAPIGroupRequest {} +export interface GetAuthenticationV1APIResourcesRequest {} +export interface CreateAuthenticationV1SelfSubjectReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SelfSubjectReview; +} +export interface CreateAuthenticationV1TokenReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: TokenReview; +} +export interface GetAuthorizationAPIGroupRequest {} +export interface GetAuthorizationV1APIResourcesRequest {} +export interface CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + namespace: string; + body: LocalSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectAccessReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SelfSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectRulesReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SelfSubjectRulesReview; +} +export interface CreateAuthorizationV1SubjectAccessReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SubjectAccessReview; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Metric; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodAutoscaler; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAutoscalingAPIGroupRequest {} +export interface GetAutoscalingV1APIResourcesRequest {} +export interface ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetAutoscalingV2APIResourcesRequest {} +export interface ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetBatchAPIGroupRequest {} +export interface GetBatchV1APIResourcesRequest {} +export interface ListBatchV1CronJobForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListBatchV1JobForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListBatchV1NamespacedCronJobRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: CronJob; +} +export interface DeleteBatchV1CollectionNamespacedCronJobRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadBatchV1NamespacedCronJobRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CronJob; +} +export interface DeleteBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadBatchV1NamespacedCronJobStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedCronJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CronJob; +} +export interface PatchBatchV1NamespacedCronJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListBatchV1NamespacedJobRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Job; +} +export interface DeleteBatchV1CollectionNamespacedJobRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadBatchV1NamespacedJobRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Job; +} +export interface DeleteBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadBatchV1NamespacedJobStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Job; +} +export interface PatchBatchV1NamespacedJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchBatchV1CronJobListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchBatchV1JobListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchBatchV1NamespacedCronJobListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchBatchV1NamespacedCronJobRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchBatchV1NamespacedJobListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchBatchV1NamespacedJobRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Image; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCertManagerIoV1CertificateRequestForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCertManagerIoV1CertificateForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1CollectionClusterIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCertManagerIoV1ClusterIssuerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceCertManagerIoV1ClusterIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterIssuer; +} +export interface PatchCertManagerIoV1ClusterIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCertManagerIoV1IssuerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CertificateRequest; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Certificate; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface PatchCertManagerIoV1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Issuer; +} +export interface DeleteCertManagerIoV1CollectionNamespacedIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Issuer; +} +export interface DeleteCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedIssuerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Issuer; +} +export interface PatchCertManagerIoV1NamespacedIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface GetCertificatesAPIGroupRequest {} +export interface GetCertificatesV1APIResourcesRequest {} +export interface ListCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CollectionCertificateSigningRequestRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + name: string; +} +export interface ReplaceCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestApprovalRequest { + pretty?: string; + name: string; +} +export interface ReplaceCertificatesV1CertificateSigningRequestApprovalRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestApprovalRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCertificatesV1CertificateSigningRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchCertificatesV1CertificateSigningRequestListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCertificatesV1CertificateSigningRequestRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetCoordinationAPIGroupRequest {} +export interface GetCoordinationV1APIResourcesRequest {} +export interface ListCoordinationV1LeaseForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoordinationV1NamespacedLeaseRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Lease; +} +export interface DeleteCoordinationV1CollectionNamespacedLeaseRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoordinationV1NamespacedLeaseRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Lease; +} +export interface DeleteCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchCoordinationV1LeaseListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoordinationV1NamespacedLeaseListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoordinationV1NamespacedLeaseRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetDiscoveryAPIGroupRequest {} +export interface GetDiscoveryV1APIResourcesRequest {} +export interface ListDiscoveryV1EndpointSliceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetEventsAPIGroupRequest {} +export interface GetEventsV1APIResourcesRequest {} +export interface ListEventsV1EventForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListEventsV1NamespacedEventRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Event; +} +export interface DeleteEventsV1CollectionNamespacedEventRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadEventsV1NamespacedEventRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Event; +} +export interface DeleteEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchEventsV1EventListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchEventsV1NamespacedEventListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchEventsV1NamespacedEventRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetFlowcontrolApiserverAPIGroupRequest {} +export interface GetFlowcontrolApiserverV1APIResourcesRequest {} +export interface ListFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: FlowSchema; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PriorityLevelConfiguration; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Alertmanager; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Prometheus; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServiceMonitor; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ThanosRuler; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1ProbeForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PrometheusAgent; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterDomainClaim; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServerlessService; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetNetworkingAPIGroupRequest {} +export interface GetNetworkingV1APIResourcesRequest {} +export interface ListNetworkingV1IngressClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: IngressClass; +} +export interface DeleteNetworkingV1CollectionIngressClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadNetworkingV1IngressClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: IngressClass; +} +export interface DeleteNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListNetworkingV1IngressForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingV1NamespacedIngressRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingV1CollectionNamespacedIngressRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadNetworkingV1NamespacedIngressRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingV1NamespacedIngressStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingV1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface PatchNetworkingV1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingV1NetworkPolicyForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNetworkingV1IngressClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNetworkingV1IngressClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchNetworkingV1IngressListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNetworkingV1NamespacedIngressListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchNetworkingV1NamespacedIngressRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetNodeAPIGroupRequest {} +export interface GetNodeV1APIResourcesRequest {} +export interface ListNodeV1RuntimeClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: RuntimeClass; +} +export interface DeleteNodeV1CollectionRuntimeClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadNodeV1RuntimeClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: RuntimeClass; +} +export interface DeleteNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchNodeV1RuntimeClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNodeV1RuntimeClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetPolicyAPIGroupRequest {} +export interface GetPolicyV1APIResourcesRequest {} +export interface ListPolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodDisruptionBudget; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Backup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Cluster; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Database; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pooler; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Publication; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ScheduledBackup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Subscription; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetRbacAuthorizationAPIGroupRequest {} +export interface GetRbacAuthorizationV1APIResourcesRequest {} +export interface ListRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + name: string; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + name: string; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Role; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Role; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListRbacAuthorizationV1RoleForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchRbacAuthorizationV1ClusterRoleListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1ClusterRoleRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1RoleListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetSchedulingAPIGroupRequest {} +export interface GetSchedulingV1APIResourcesRequest {} +export interface ListSchedulingV1PriorityClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: PriorityClass; +} +export interface DeleteSchedulingV1CollectionPriorityClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadSchedulingV1PriorityClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PriorityClass; +} +export interface DeleteSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchSchedulingV1PriorityClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchSchedulingV1PriorityClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface ListServingKnativeDevV1ConfigurationForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Configuration; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Configuration; +} +export interface DeleteServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Configuration; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Revision; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Revision; +} +export interface DeleteServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRevisionStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Revision; +} +export interface PatchServingKnativeDevV1NamespacedRevisionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Route; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRouteRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Route; +} +export interface DeleteServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRouteStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Route; +} +export interface PatchServingKnativeDevV1NamespacedRouteStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Service; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface DeleteServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedServiceStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface PatchServingKnativeDevV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1RevisionForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1RouteForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1ServiceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1beta1DomainMappingForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: DomainMapping; +} +export interface DeleteServingKnativeDevV1beta1CollectionNamespacedDomainMappingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DomainMapping; +} +export interface DeleteServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DomainMapping; +} +export interface PatchServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface GetStorageAPIGroupRequest {} +export interface GetStorageV1APIResourcesRequest {} +export interface ListStorageV1CSIDriverRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CSIDriver; +} +export interface DeleteStorageV1CollectionCSIDriverRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1CSIDriverRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CSIDriver; +} +export interface DeleteStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListStorageV1CSINodeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CSINode; +} +export interface DeleteStorageV1CollectionCSINodeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1CSINodeRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CSINode; +} +export interface DeleteStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListStorageV1CSIStorageCapacityForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListStorageV1StorageClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: StorageClass; +} +export interface DeleteStorageV1CollectionStorageClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1StorageClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: StorageClass; +} +export interface DeleteStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListStorageV1VolumeAttachmentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: VolumeAttachment; +} +export interface DeleteStorageV1CollectionVolumeAttachmentRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1VolumeAttachmentRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: VolumeAttachment; +} +export interface DeleteStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadStorageV1VolumeAttachmentStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1VolumeAttachmentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: VolumeAttachment; +} +export interface PatchStorageV1VolumeAttachmentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchStorageV1CSIDriverListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1CSIDriverRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchStorageV1CSINodeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1CSINodeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchStorageV1StorageClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1StorageClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchStorageV1VolumeAttachmentListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1VolumeAttachmentRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetServiceAccountIssuerOpenIDKeysetRequest {} +export interface GetCodeVersionRequest {} +export class KubernetesClient extends APIClient { + constructor(options) { + super(options); + } + async getSwaggerJSON() { + const path = "/openapi/v2"; + return this.get(path); + } + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/.well-known/openid-configuration/`; + return await this.get(path, null, null, opts); + } + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/`; + return await this.get(path, null, null, opts); + } + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/`; + return await this.get(path, null, null, opts); + } + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/componentstatuses`; + return await this.get(path, null, null, opts); + } + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/componentstatuses/${params.name}`; + return await this.get(path, null, null, opts); + } + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/configmaps`; + return await this.get(path, null, null, opts); + } + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/endpoints`; + return await this.get(path, null, null, opts); + } + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/events`; + return await this.get(path, null, null, opts); + } + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/limitranges`; + return await this.get(path, null, null, opts); + } + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces`; + return await this.get(path, null, null, opts); + } + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces`; + return await this.post(path, params.query, params.body, opts); + } + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/bindings`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/configmaps/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/endpoints/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/limitranges/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/attach`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/attach`; + return await this.post(path, null, null, opts); + } + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/binding`; + return await this.post(path, null, params.body, opts); + } + async readCoreV1NamespacedPodEphemeralcontainers(params: ReadCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/ephemeralcontainers`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodEphemeralcontainers(params: ReplaceCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/ephemeralcontainers`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodEphemeralcontainers(params: PatchCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/ephemeralcontainers`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/eviction`; + return await this.post(path, null, params.body, opts); + } + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/exec`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/exec`; + return await this.post(path, null, null, opts); + } + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/log`; + return await this.get(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/portforward`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/portforward`; + return await this.post(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedPodProxy(params: ConnectCoreV1OptionsNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedPodProxy(params: ConnectCoreV1HeadNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedPodProxyWithPath(params: ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedPodProxyWithPath(params: ConnectCoreV1HeadNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/proxy/${params.path}`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/pods/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/podtemplates/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/replicationcontrollers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/resourcequotas/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/secrets/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/serviceaccounts/${params.name}/token`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedService(params: DeleteCoreV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedServiceProxy(params: ConnectCoreV1OptionsNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedServiceProxy(params: ConnectCoreV1HeadNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedServiceProxyWithPath(params: ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedServiceProxyWithPath(params: ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/proxy/${params.path}`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.namespace}/services/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}/finalize`; + return await this.put(path, null, params.body, opts); + } + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes`; + return await this.get(path, null, null, opts); + } + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNodeProxy(params: ConnectCoreV1OptionsNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNodeProxy(params: ConnectCoreV1HeadNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNodeProxyWithPath(params: ConnectCoreV1OptionsNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNodeProxyWithPath(params: ConnectCoreV1HeadNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/proxy/${params.path}`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes`; + return await this.get(path, null, null, opts); + } + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/pods`; + return await this.get(path, null, null, opts); + } + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/podtemplates`; + return await this.get(path, null, null, opts); + } + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/resourcequotas`; + return await this.get(path, null, null, opts); + } + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/secrets`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/services`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/configmaps`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/endpoints`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/events`; + return await this.get(path, null, null, opts); + } + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/limitranges`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/configmaps`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/configmaps/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/endpoints`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/endpoints/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/events`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/events/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/limitranges`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/limitranges/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/persistentvolumeclaims/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/pods`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/pods/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/podtemplates`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/podtemplates/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/replicationcontrollers/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/resourcequotas`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/resourcequotas/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/secrets`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/secrets/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/serviceaccounts/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/services`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.namespace}/services/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/nodes`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/nodes/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/persistentvolumes`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/persistentvolumes/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/pods`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/podtemplates`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/resourcequotas`; + return await this.get(path, null, null, opts); + } + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/secrets`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/services`; + return await this.get(path, null, null, opts); + } + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1ChallengeForAllNamespaces(params: ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/challenges`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1NamespacedChallenge(params: ListAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedChallenge(params: CreateAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedChallenge(params: DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallenge(params: ReadAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallenge(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedChallenge(params: DeleteAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallenge(params: PatchAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallengeStatus(params: PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/challenges/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1NamespacedOrder(params: ListAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedOrder(params: CreateAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedOrder(params: DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrder(params: ReadAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrder(params: ReplaceAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedOrder(params: DeleteAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrder(params: PatchAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrderStatus(params: ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrderStatus(params: ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrderStatus(params: PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.namespace}/orders/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1OrderForAllNamespaces(params: ListAcmeCertManagerIoV1OrderForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/orders`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicy(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicy(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicy(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicy(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBindingList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; + return await this.get(path, null, null, opts); + } + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; + return await this.delete(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions`; + return await this.get(path, null, null, opts); + } + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/${params.name}`; + return await this.get(path, null, null, opts); + } + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices`; + return await this.get(path, null, null, opts); + } + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices`; + return await this.delete(path, params.query, null, opts); + } + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices`; + return await this.get(path, null, null, opts); + } + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices/${params.name}`; + return await this.get(path, null, null, opts); + } + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/`; + return await this.get(path, null, null, opts); + } + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/`; + return await this.get(path, null, null, opts); + } + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/daemonsets`; + return await this.get(path, null, null, opts); + } + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/deployments`; + return await this.get(path, null, null, opts); + } + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/controllerrevisions/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/daemonsets/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/deployments/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/replicasets/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.namespace}/statefulsets/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/replicasets`; + return await this.get(path, null, null, opts); + } + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/statefulsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/daemonsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/deployments`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/controllerrevisions/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/daemonsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/daemonsets/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/deployments`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/deployments/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/replicasets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/replicasets/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/statefulsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.namespace}/statefulsets/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/replicasets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/statefulsets`; + return await this.get(path, null, null, opts); + } + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async createAuthenticationV1SelfSubjectReview(params: CreateAuthenticationV1SelfSubjectReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/v1/selfsubjectreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/v1/tokenreviews`; + return await this.post(path, null, params.body, opts); + } + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/namespaces/${params.namespace}/localsubjectaccessreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/selfsubjectaccessreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/selfsubjectrulesreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/subjectaccessreviews`; + return await this.post(path, null, params.body, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/metrics`; + return await this.get(path, null, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/metrics/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/podautoscalers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/podautoscalers`; + return await this.get(path, null, null, opts); + } + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/watch/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/watch/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/watch/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV2APIResources(params: GetAutoscalingV2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/watch/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/watch/namespaces/${params.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/watch/namespaces/${params.namespace}/horizontalpodautoscalers/${params.name}`; + return await this.get(path, null, null, opts); + } + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/`; + return await this.get(path, null, null, opts); + } + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/`; + return await this.get(path, null, null, opts); + } + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/cronjobs`; + return await this.get(path, null, null, opts); + } + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/jobs`; + return await this.get(path, null, null, opts); + } + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/cronjobs/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.namespace}/jobs/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/cronjobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/jobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/cronjobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/cronjobs/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/jobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.namespace}/jobs/${params.name}`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1ImageForAllNamespaces(params: ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/images`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1NamespacedImage(params: ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images`; + return await this.get(path, null, null, opts); + } + async createCachingInternalKnativeDevV1alpha1NamespacedImage(params: CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images`; + return await this.delete(path, null, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1NamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImage(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/images/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1CertificateRequestForAllNamespaces(params: ListCertManagerIoV1CertificateRequestForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/certificaterequests`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1CertificateForAllNamespaces(params: ListCertManagerIoV1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/certificates`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1ClusterIssuer(params: ListCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1ClusterIssuer(params: CreateCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionClusterIssuer(params: DeleteCertManagerIoV1CollectionClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1ClusterIssuer(params: ReadCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuer(params: ReplaceCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1ClusterIssuer(params: DeleteCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1ClusterIssuer(params: PatchCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1ClusterIssuerStatus(params: ReadCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuerStatus(params: ReplaceCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1ClusterIssuerStatus(params: PatchCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1IssuerForAllNamespaces(params: ListCertManagerIoV1IssuerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/issuers`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1NamespacedCertificateRequest(params: ListCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificateRequest(params: CreateCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificateRequest(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequest(params: ReadCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequest(params: ReplaceCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificateRequest(params: DeleteCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequest(params: PatchCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequestStatus(params: ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequestStatus(params: ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequestStatus(params: PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificaterequests/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedCertificate(params: ListCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificate(params: CreateCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificate(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificate(params: ReadCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificate(params: ReplaceCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificate(params: DeleteCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificate(params: PatchCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateStatus(params: ReadCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateStatus(params: ReplaceCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateStatus(params: PatchCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/certificates/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedIssuer(params: ListCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedIssuer(params: CreateCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedIssuer(params: DeleteCertManagerIoV1CollectionNamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedIssuer(params: ReadCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuer(params: ReplaceCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedIssuer(params: DeleteCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedIssuer(params: PatchCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedIssuerStatus(params: ReadCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuerStatus(params: ReplaceCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedIssuerStatus(params: PatchCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.namespace}/issuers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; + return await this.get(path, null, null, opts); + } + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; + return await this.delete(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/approval`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/approval`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/approval`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests`; + return await this.get(path, null, null, opts); + } + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/${params.name}`; + return await this.get(path, null, null, opts); + } + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/leases`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases`; + return await this.get(path, null, null, opts); + } + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases`; + return await this.delete(path, params.query, null, opts); + } + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.namespace}/leases/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/watch/leases`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.namespace}/leases`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.namespace}/leases/${params.name}`; + return await this.get(path, null, null, opts); + } + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/endpointslices`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices`; + return await this.get(path, null, null, opts); + } + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices`; + return await this.post(path, params.query, params.body, opts); + } + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices`; + return await this.delete(path, params.query, null, opts); + } + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.namespace}/endpointslices/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/watch/endpointslices`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.namespace}/endpointslices`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.namespace}/endpointslices/${params.name}`; + return await this.get(path, null, null, opts); + } + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/events`; + return await this.get(path, null, null, opts); + } + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events`; + return await this.get(path, null, null, opts); + } + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events`; + return await this.post(path, params.query, params.body, opts); + } + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events`; + return await this.delete(path, params.query, null, opts); + } + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.namespace}/events/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/watch/events`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.namespace}/events`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.namespace}/events/${params.name}`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverV1APIResources(params: GetFlowcontrolApiserverV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listFlowcontrolApiserverV1FlowSchema(params: ListFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1FlowSchema(params: CreateFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchema(params: ReadFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchema(params: ReplaceFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1FlowSchema(params: DeleteFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1FlowSchema(params: PatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listFlowcontrolApiserverV1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchemaList(params: WatchFlowcontrolApiserverV1FlowSchemaListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchema(params: WatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1AlertmanagerForAllNamespaces(params: ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/alertmanagers`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1NamespacedAlertmanager(params: ListMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedAlertmanager(params: CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedAlertmanager(params: DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanager(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanager(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedAlertmanager(params: DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanager(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerScale(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/alertmanagers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPodMonitor(params: ListMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPodMonitor(params: CreateMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPodMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPodMonitor(params: ReadMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPodMonitor(params: ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPodMonitor(params: DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPodMonitor(params: PatchMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/podmonitors/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedProbe(params: ListMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedProbe(params: CreateMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedProbe(params: DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedProbe(params: ReadMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedProbe(params: ReplaceMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedProbe(params: DeleteMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedProbe(params: PatchMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/probes/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheus(params: ListMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheus(params: CreateMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheus(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheus(params: ReadMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheus(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheus(params: PatchMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusScale(params: ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusScale(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusScale(params: PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusStatus(params: PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheuses/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheusRule(params: ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheusRule(params: CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusRule(params: ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusRule(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusRule(params: PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/prometheusrules/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedServiceMonitor(params: ListMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedServiceMonitor(params: CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitor(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitor(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitor(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/servicemonitors/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedThanosRuler(params: ListMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedThanosRuler(params: CreateMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedThanosRuler(params: DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRuler(params: ReadMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRuler(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedThanosRuler(params: DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRuler(params: PatchMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRulerStatus(params: PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.namespace}/thanosrulers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1PodMonitorForAllNamespaces(params: ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/podmonitors`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ProbeForAllNamespaces(params: ListMonitoringCoreosComV1ProbeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/probes`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/prometheuses`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusRuleForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/prometheusrules`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ServiceMonitorForAllNamespaces(params: ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/servicemonitors`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ThanosRulerForAllNamespaces(params: ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/thanosrulers`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/alertmanagerconfigs`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/alertmanagerconfigs/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/prometheusagents/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.namespace}/scrapeconfigs/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespaces(params: ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/prometheusagents`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/scrapeconfigs`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/certificates`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1IngressForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/ingresses`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/certificates/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/ingresses/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.namespace}/serverlessservices/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/serverlessservices`; + return await this.get(path, null, null, opts); + } + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingresses`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/ingresses/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.namespace}/networkpolicies/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/networkpolicies`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/ingressclasses`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/ingressclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/ingresses`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/ingresses`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/ingresses/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/networkpolicies`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.namespace}/networkpolicies/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/networkpolicies`; + return await this.get(path, null, null, opts); + } + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses`; + return await this.get(path, null, null, opts); + } + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses`; + return await this.delete(path, params.query, null, opts); + } + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/watch/runtimeclasses`; + return await this.get(path, null, null, opts); + } + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/watch/runtimeclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/`; + return await this.get(path, null, null, opts); + } + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/`; + return await this.get(path, null, null, opts); + } + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets`; + return await this.post(path, params.query, params.body, opts); + } + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets`; + return await this.delete(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/watch/namespaces/${params.namespace}/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/watch/namespaces/${params.namespace}/poddisruptionbudgets/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/watch/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1BackupForAllNamespaces(params: ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/backups`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ClusterImageCatalog(params: ListPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1ClusterImageCatalog(params: CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionClusterImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1ClusterImageCatalog(params: ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1ClusterImageCatalog(params: ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1ClusterImageCatalog(params: DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1ClusterImageCatalog(params: PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1ClusterForAllNamespaces(params: ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusters`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1DatabaseForAllNamespaces(params: ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/databases`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ImageCatalogForAllNamespaces(params: ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/imagecatalogs`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedBackup(params: ListPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedBackup(params: CreatePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackup(params: ReadPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackup(params: ReplacePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedBackup(params: DeletePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackup(params: PatchPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/backups/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedCluster(params: ListPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedCluster(params: CreatePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedCluster(params: DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedCluster(params: ReadPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedCluster(params: ReplacePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedCluster(params: DeletePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedCluster(params: PatchPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterScale(params: ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterScale(params: ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterScale(params: PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterStatus(params: ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterStatus(params: ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterStatus(params: PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/clusters/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedDatabase(params: ListPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedDatabase(params: CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedDatabase(params: DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabase(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabase(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedDatabase(params: DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabase(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/databases/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedImageCatalog(params: ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedImageCatalog(params: CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedImageCatalog(params: ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedImageCatalog(params: ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedImageCatalog(params: PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/imagecatalogs/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPooler(params: ListPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPooler(params: CreatePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPooler(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPooler(params: ReadPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPooler(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPooler(params: DeletePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPooler(params: PatchPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerScale(params: ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}/scale`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerScale(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerScale(params: PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerStatus(params: PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/poolers/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPublication(params: ListPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPublication(params: CreatePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPublication(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublication(params: ReadPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublication(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPublication(params: DeletePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublication(params: PatchPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublicationStatus(params: PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/publications/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedScheduledBackup(params: CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackup(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/scheduledbackups/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedSubscription(params: ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedSubscription(params: CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedSubscription(params: DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscription(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscription(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedSubscription(params: DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscription(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.namespace}/subscriptions/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1PoolerForAllNamespaces(params: ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/poolers`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1PublicationForAllNamespaces(params: ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/publications`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ScheduledBackupForAllNamespaces(params: ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/scheduledbackups`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1SubscriptionForAllNamespaces(params: ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/subscriptions`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/rolebindings/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.namespace}/roles/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/rolebindings`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/roles`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/rolebindings`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/rolebindings/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/roles`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.namespace}/roles/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/rolebindings`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/roles`; + return await this.get(path, null, null, opts); + } + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; + return await this.get(path, null, null, opts); + } + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; + return await this.delete(path, params.query, null, opts); + } + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses`; + return await this.get(path, null, null, opts); + } + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ConfigurationForAllNamespaces(params: ListServingKnativeDevV1ConfigurationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/configurations`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1NamespacedConfiguration(params: ListServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedConfiguration(params: CreateServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedConfiguration(params: DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedConfiguration(params: ReadServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfiguration(params: ReplaceServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedConfiguration(params: DeleteServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedConfiguration(params: PatchServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedConfigurationStatus(params: ReadServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfigurationStatus(params: ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedConfigurationStatus(params: PatchServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/configurations/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRevision(params: ListServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRevision(params: CreateServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRevision(params: DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRevision(params: ReadServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevision(params: ReplaceServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRevision(params: DeleteServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRevision(params: PatchServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRevisionStatus(params: ReadServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevisionStatus(params: ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRevisionStatus(params: PatchServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/revisions/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRoute(params: ListServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRoute(params: CreateServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRoute(params: DeleteServingKnativeDevV1CollectionNamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRoute(params: ReadServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRoute(params: ReplaceServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRoute(params: DeleteServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRoute(params: PatchServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRouteStatus(params: ReadServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRouteStatus(params: ReplaceServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRouteStatus(params: PatchServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/routes/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedService(params: ListServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedService(params: CreateServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedService(params: DeleteServingKnativeDevV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedService(params: ReadServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedService(params: ReplaceServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedService(params: DeleteServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedService(params: PatchServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedServiceStatus(params: ReadServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedServiceStatus(params: ReplaceServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedServiceStatus(params: PatchServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.namespace}/services/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1RevisionForAllNamespaces(params: ListServingKnativeDevV1RevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/revisions`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1RouteForAllNamespaces(params: ListServingKnativeDevV1RouteForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/routes`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ServiceForAllNamespaces(params: ListServingKnativeDevV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/services`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1beta1DomainMappingForAllNamespaces(params: ListServingKnativeDevV1beta1DomainMappingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/domainmappings`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1beta1NamespacedDomainMapping(params: ListServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1beta1NamespacedDomainMapping(params: CreateServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1beta1CollectionNamespacedDomainMapping(params: DeleteServingKnativeDevV1beta1CollectionNamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1beta1NamespacedDomainMapping(params: ReadServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1beta1NamespacedDomainMapping(params: ReplaceServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1beta1NamespacedDomainMapping(params: DeleteServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1beta1NamespacedDomainMapping(params: PatchServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1beta1NamespacedDomainMappingStatus(params: ReadServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1beta1NamespacedDomainMappingStatus(params: ReplaceServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1beta1NamespacedDomainMappingStatus(params: PatchServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1beta1/namespaces/${params.namespace}/domainmappings/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSIStorageCapacityForAllNamespaces(params: ListStorageV1CSIStorageCapacityForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async listStorageV1NamespacedCSIStorageCapacity(params: ListStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async createStorageV1NamespacedCSIStorageCapacity(params: CreateStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1NamespacedCSIStorageCapacity(params: ReadStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1NamespacedCSIStorageCapacity(params: ReplaceStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1NamespacedCSIStorageCapacity(params: DeleteStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1NamespacedCSIStorageCapacity(params: PatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses`; + return await this.get(path, null, null, opts); + } + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments`; + return await this.get(path, null, null, opts); + } + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}`; + return await this.patch(path, params.query, null, opts); + } + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csidrivers`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csidrivers/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csinodes`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csinodes/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacityList(params: WatchStorageV1NamespacedCSIStorageCapacityListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/namespaces/${params.namespace}/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacity(params: WatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/namespaces/${params.namespace}/csistoragecapacities/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/storageclasses`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/storageclasses/${params.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/volumeattachments`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/volumeattachments/${params.name}`; + return await this.get(path, null, null, opts); + } + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/openid/v1/jwks/`; + return await this.get(path, null, null, opts); + } + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/version/`; + return await this.get(path, null, null, opts); + } +} \ No newline at end of file diff --git a/__fixtures__/output/swagger-extended-client.ts b/__fixtures__/output/swagger-extended-client.ts new file mode 100644 index 0000000..9c09aa0 --- /dev/null +++ b/__fixtures__/output/swagger-extended-client.ts @@ -0,0 +1,42574 @@ +import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; +/* com.coreos.monitoring.v1.Alertmanager */ +/* The `Alertmanager` custom resource definition (CRD) defines a desired [Alertmanager](https://prometheus.io/docs/alerting) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more. + +For each `Alertmanager` resource, the Operator deploys a `StatefulSet` in the same namespace. When there are two or more configured replicas, the Operator runs the Alertmanager instances in high-availability mode. + +The resource defines via label and namespace selectors which `AlertmanagerConfig` objects should be associated to the deployed Alertmanager instances. */ +export interface Alertmanager { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalPeers?: string[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertmanagerConfigMatcherStrategy?: { + type?: "OnNamespace" | "OnNamespaceExceptForAlertmanagerNamespace" | "None"; + }; + alertmanagerConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfiguration?: { + global?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + jira?: { + apiURL?: string; + }; + opsGenieApiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + opsGenieApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + pagerdutyUrl?: string; + resolveTimeout?: string; + rocketChat?: { + apiURL?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + slackApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + smtp?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + hello?: string; + requireTLS?: boolean; + smartHost?: { + host: string; + port: string; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + telegram?: { + apiURL?: string; + }; + victorops?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + webex?: { + apiURL?: string; + }; + wechat?: { + apiCorpID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + }; + name?: string; + templates?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + clusterAdvertiseAddress?: string; + clusterGossipInterval?: string; + clusterLabel?: string; + clusterPeerTimeout?: string; + clusterPushpullInterval?: string; + clusterTLS?: { + client: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + server: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + configMaps?: string[]; + configSecret?: string; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + externalUrl?: string; + forceEnableClusterMode?: boolean; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + limits?: { + maxPerSilenceBytes?: string; + maxSilences?: number; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + sha?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + getConcurrency?: number; + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + timeout?: number; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1.AlertmanagerList */ +/* AlertmanagerList is a list of Alertmanager */ +export interface AlertmanagerList { + apiVersion?: string; + items: Alertmanager[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.PodMonitor */ +/* The `PodMonitor` custom resource definition (CRD) defines how `Prometheus` and `PrometheusAgent` can scrape metrics from a group of pods. +Among other things, it allows to specify: +* The pods to scrape via label selectors. +* The container ports to scrape. +* Authentication credentials to use. +* Target and metric relabeling. + +`Prometheus` and `PrometheusAgent` objects select `PodMonitor` objects using label and namespace selectors. */ +export interface PodMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podMetricsEndpoints?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + portNumber?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLimit?: number; + }; +} +/* com.coreos.monitoring.v1.PodMonitorList */ +/* PodMonitorList is a list of PodMonitor */ +export interface PodMonitorList { + apiVersion?: string; + items: PodMonitor[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.Probe */ +/* The `Probe` custom resource definition (CRD) defines how to scrape metrics from prober exporters such as the [blackbox exporter](https://github.com/prometheus/blackbox_exporter). + +The `Probe` resource needs 2 pieces of information: +* The list of probed addresses which can be defined statically or by discovering Kubernetes Ingress objects. +* The prober which exposes the availability of probed endpoints (over various protocols such HTTP, TCP, ICMP, ...) as Prometheus metrics. + +`Prometheus` and `PrometheusAgent` objects select `Probe` objects using label and namespace selectors. */ +export interface Probe { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + interval?: string; + jobName?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + module?: string; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + name: string; + values?: string[]; + }[]; + prober?: { + noProxy?: string; + path?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scheme?: "http" | "https"; + url: string; + }; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + targetLimit?: number; + targets?: { + ingress?: { + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + staticConfig?: { + labels?: { + [key: string]: unknown; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + static?: string[]; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; +} +/* com.coreos.monitoring.v1.ProbeList */ +/* ProbeList is a list of Probe */ +export interface ProbeList { + apiVersion?: string; + items: Probe[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.Prometheus */ +/* The `Prometheus` custom resource definition (CRD) defines a desired [Prometheus](https://prometheus.io/docs/prometheus) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage, and Alertmanagers where firing alerts should be sent and many more. + +For each `Prometheus` resource, the Operator deploys one or several `StatefulSet` objects in the same namespace. The number of StatefulSets is equal to the number of shards which is 1 by default. + +The resource defines via label and namespace selectors which `ServiceMonitor`, `PodMonitor`, `Probe` and `PrometheusRule` objects should be associated to the deployed Prometheus instances. + +The Operator continuously reconciles the scrape and rules configuration and a sidecar container running in the Prometheus pods triggers a reload of the configuration when needed. */ +export interface Prometheus { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalAlertManagerConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalAlertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alerting?: { + alertmanagers: { + alertRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + apiVersion?: "v1" | "V1" | "v2" | "V2"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + enableHttp2?: boolean; + name: string; + namespace?: string; + noProxy?: string; + pathPrefix?: string; + port: any; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: string; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + }; + allowOverlappingBlocks?: boolean; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + disableCompaction?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableAdminAPI?: boolean; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + exemplars?: { + maxSize?: number; + }; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + query?: { + lookbackDelta?: string; + maxConcurrency?: number; + maxSamples?: number; + timeout?: string; + }; + queryLogFile?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteRead?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + filterExternalLabels?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + readRecent?: boolean; + remoteTimeout?: string; + requiredMatchers?: { + [key: string]: unknown; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + retentionSize?: string; + routePrefix?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + rules?: { + alert?: { + forGracePeriod?: string; + forOutageTolerance?: string; + resendDelay?: string; + }; + }; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + sha?: string; + shardRetentionPolicy?: { + retain?: { + retentionPeriod: string; + }; + whenScaled?: "Retain" | "Delete"; + }; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + thanos?: { + additionalArgs?: { + name: string; + value?: string; + }[]; + baseImage?: string; + blockSize?: string; + getConfigInterval?: string; + getConfigTimeout?: string; + grpcListenLocal?: boolean; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + httpListenLocal?: boolean; + image?: string; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minTime?: string; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + readyTimeout?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + sha?: string; + tag?: string; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + }; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1.PrometheusList */ +/* PrometheusList is a list of Prometheus */ +export interface PrometheusList { + apiVersion?: string; + items: Prometheus[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.PrometheusRule */ +/* The `PrometheusRule` custom resource definition (CRD) defines [alerting](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) and [recording](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/) rules to be evaluated by `Prometheus` or `ThanosRuler` objects. + +`Prometheus` and `ThanosRuler` objects select `PrometheusRule` objects using label and namespace selectors. */ +export interface PrometheusRule { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + groups?: { + interval?: string; + labels?: { + [key: string]: unknown; + }; + limit?: number; + name: string; + partial_response_strategy?: string; + query_offset?: string; + rules?: { + alert?: string; + annotations?: { + [key: string]: unknown; + }; + expr: any; + for?: string; + keep_firing_for?: string; + labels?: { + [key: string]: unknown; + }; + record?: string; + }[]; + }[]; + }; +} +/* com.coreos.monitoring.v1.PrometheusRuleList */ +/* PrometheusRuleList is a list of PrometheusRule */ +export interface PrometheusRuleList { + apiVersion?: string; + items: PrometheusRule[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.ServiceMonitor */ +/* The `ServiceMonitor` custom resource definition (CRD) defines how `Prometheus` and `PrometheusAgent` can scrape metrics from a group of services. +Among other things, it allows to specify: +* The services to scrape via label selectors. +* The container ports to scrape. +* Authentication credentials to use. +* Target and metric relabeling. + +`Prometheus` and `PrometheusAgent` objects select `ServiceMonitor` objects using label and namespace selectors. */ +export interface ServiceMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + endpoints: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLabels?: string[]; + targetLimit?: number; + }; + status?: { + bindings?: { + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: "Accepted"; + }[]; + group: "monitoring.coreos.com"; + name: string; + namespace: string; + resource: "prometheuses" | "prometheusagents"; + }[]; + }; +} +/* com.coreos.monitoring.v1.ServiceMonitorList */ +/* ServiceMonitorList is a list of ServiceMonitor */ +export interface ServiceMonitorList { + apiVersion?: string; + items: ServiceMonitor[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.ThanosRuler */ +/* The `ThanosRuler` custom resource definition (CRD) defines a desired [Thanos Ruler](https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md) setup to run in a Kubernetes cluster. + +A `ThanosRuler` instance requires at least one compatible Prometheus API endpoint (either Thanos Querier or Prometheus services). + +The resource defines via label and namespace selectors which `PrometheusRule` objects should be associated to the deployed Thanos Ruler instances. */ +export interface ThanosRuler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertDropLabels?: string[]; + alertQueryUrl?: string; + alertRelabelConfigFile?: string; + alertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersUrl?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + enforcedNamespaceLabel?: string; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalPrefix?: string; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + labels?: { + [key: string]: unknown; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + paused?: boolean; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + queryConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + queryEndpoints?: string[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + replicas?: number; + resendDelay?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + ruleConcurrentEval?: number; + ruleGracePeriod?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleOutageTolerance?: string; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1.ThanosRulerList */ +/* ThanosRulerList is a list of ThanosRuler */ +export interface ThanosRulerList { + apiVersion?: string; + items: ThanosRuler[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1alpha1.AlertmanagerConfig */ +/* AlertmanagerConfig configures the Prometheus Alertmanager, +specifying how alerts should be grouped, inhibited and notified to external systems. */ +export interface AlertmanagerConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + inhibitRules?: { + equal?: string[]; + sourceMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + targetMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + }[]; + muteTimeIntervals?: { + name: string; + timeIntervals?: { + daysOfMonth?: { + end?: number; + start?: number; + }[]; + months?: string[]; + times?: { + endTime?: string; + startTime?: string; + }[]; + weekdays?: string[]; + years?: string[]; + }[]; + }[]; + receivers?: { + discordConfigs?: { + apiURL: { + key: string; + name?: string; + optional?: boolean; + }; + avatarURL?: string; + content?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + sendResolved?: boolean; + title?: string; + username?: string; + }[]; + emailConfigs?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + headers?: { + key: string; + value: string; + }[]; + hello?: string; + html?: string; + requireTLS?: boolean; + sendResolved?: boolean; + smarthost?: string; + text?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + to?: string; + }[]; + msteamsConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + summary?: string; + text?: string; + title?: string; + webhookUrl: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + msteamsv2Configs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + text?: string; + title?: string; + webhookURL?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + name: string; + opsgenieConfigs?: { + actions?: string; + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + entity?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + note?: string; + priority?: string; + responders?: { + id?: string; + name?: string; + type: string; + username?: string; + }[]; + sendResolved?: boolean; + source?: string; + tags?: string; + updateAlerts?: boolean; + }[]; + pagerdutyConfigs?: { + class?: string; + client?: string; + clientURL?: string; + component?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + group?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + pagerDutyImageConfigs?: { + alt?: string; + href?: string; + src?: string; + }[]; + pagerDutyLinkConfigs?: { + alt?: string; + href?: string; + }[]; + routingKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sendResolved?: boolean; + serviceKey?: { + key: string; + name?: string; + optional?: boolean; + }; + severity?: string; + source?: string; + url?: string; + }[]; + pushoverConfigs?: { + device?: string; + expire?: string; + html?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + priority?: string; + retry?: string; + sendResolved?: boolean; + sound?: string; + title?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenFile?: string; + ttl?: string; + url?: string; + urlTitle?: string; + userKey?: { + key: string; + name?: string; + optional?: boolean; + }; + userKeyFile?: string; + }[]; + rocketchatConfigs?: { + actions?: { + msg?: string; + text?: string; + url?: string; + }[]; + apiURL?: string; + channel?: string; + color?: string; + emoji?: string; + fields?: { + short?: boolean; + title?: string; + value?: string; + }[]; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + token: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + slackConfigs?: { + actions?: { + confirm?: { + dismissText?: string; + okText?: string; + text: string; + title?: string; + }; + name?: string; + style?: string; + text: string; + type: string; + url?: string; + value?: string; + }[]; + apiURL?: { + key: string; + name?: string; + optional?: boolean; + }; + callbackId?: string; + channel?: string; + color?: string; + fallback?: string; + fields?: { + short?: boolean; + title: string; + value: string; + }[]; + footer?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconEmoji?: string; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + mrkdwnIn?: string[]; + pretext?: string; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + username?: string; + }[]; + snsConfigs?: { + apiURL?: string; + attributes?: { + [key: string]: unknown; + }; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + phoneNumber?: string; + sendResolved?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + subject?: string; + targetARN?: string; + topicARN?: string; + }[]; + telegramConfigs?: { + apiURL?: string; + botToken?: { + key: string; + name?: string; + optional?: boolean; + }; + botTokenFile?: string; + chatID: number; + disableNotifications?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageThreadID?: number; + parseMode?: "MarkdownV2" | "Markdown" | "HTML"; + sendResolved?: boolean; + }[]; + victoropsConfigs?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiUrl?: string; + customFields?: { + key: string; + value: string; + }[]; + entityDisplayName?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + messageType?: string; + monitoringTool?: string; + routingKey?: string; + sendResolved?: boolean; + stateMessage?: string; + }[]; + webexConfigs?: { + apiURL?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + roomID: string; + sendResolved?: boolean; + }[]; + webhookConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + maxAlerts?: number; + sendResolved?: boolean; + timeout?: string; + url?: string; + urlSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + wechatConfigs?: { + agentID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + corpID?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageType?: string; + sendResolved?: boolean; + toParty?: string; + toTag?: string; + toUser?: string; + }[]; + }[]; + route?: { + activeTimeIntervals?: string[]; + continue?: boolean; + groupBy?: string[]; + groupInterval?: string; + groupWait?: string; + matchers?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + muteTimeIntervals?: string[]; + receiver?: string; + repeatInterval?: string; + routes?: any[]; + }; + }; +} +/* com.coreos.monitoring.v1alpha1.AlertmanagerConfigList */ +/* AlertmanagerConfigList is a list of AlertmanagerConfig */ +export interface AlertmanagerConfigList { + apiVersion?: string; + items: AlertmanagerConfig[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1alpha1.PrometheusAgent */ +/* The `PrometheusAgent` custom resource definition (CRD) defines a desired [Prometheus Agent](https://prometheus.io/blog/2021/11/16/agent/) setup to run in a Kubernetes cluster. + +The CRD is very similar to the `Prometheus` CRD except for features which aren't available in agent mode like rule evaluation, persistent storage and Thanos sidecar. */ +export interface PrometheusAgent { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + mode?: "StatefulSet" | "DaemonSet"; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + routePrefix?: string; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1alpha1.PrometheusAgentList */ +/* PrometheusAgentList is a list of PrometheusAgent */ +export interface PrometheusAgentList { + apiVersion?: string; + items: PrometheusAgent[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1alpha1.ScrapeConfig */ +/* ScrapeConfig defines a namespaced Prometheus scrape_config to be aggregated across +multiple namespaces into the Prometheus configuration. */ +export interface ScrapeConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + azureSDConfigs?: { + authenticationMethod?: "OAuth" | "ManagedIdentity" | "SDK"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + clientSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + environment?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + resourceGroup?: string; + subscriptionID: string; + tenantID?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + consulSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + datacenter?: string; + enableHTTP2?: boolean; + filter?: string; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + nodeMeta?: { + [key: string]: unknown; + }; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + partition?: string; + pathPrefix?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + scheme?: "HTTP" | "HTTPS"; + server: string; + services?: string[]; + tagSeparator?: string; + tags?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + convertClassicHistogramsToNHCB?: boolean; + digitalOceanSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dnsSDConfigs?: { + names: string[]; + port?: number; + refreshInterval?: string; + type?: "A" | "AAAA" | "MX" | "NS" | "SRV"; + }[]; + dockerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + hostNetworkingHost?: string; + matchFirstNetwork?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dockerSwarmSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Services" | "Tasks" | "Nodes"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + ec2SDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + noProxy?: string; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + enableCompression?: boolean; + enableHTTP2?: boolean; + eurekaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + fileSDConfigs?: { + files: string[]; + refreshInterval?: string; + }[]; + gceSDConfigs?: { + filter?: string; + port?: number; + project: string; + refreshInterval?: string; + tagSeparator?: string; + zone: string; + }[]; + hetznerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + labelSelector?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "hcloud" | "Hcloud" | "robot" | "Robot"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + honorLabels?: boolean; + honorTimestamps?: boolean; + httpSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + ionosSDConfigs?: { + authorization: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + datacenterID: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + jobName?: string; + keepDroppedTargets?: number; + kubernetesSDConfigs?: { + apiServer?: string; + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespaces?: { + names?: string[]; + ownNamespace?: boolean; + }; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + selectors?: { + field?: string; + label?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + kumaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + enableHTTP2?: boolean; + fetchTimeout?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + lightSailSDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + endpoint?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + linodeSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + metricsPath?: string; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + noProxy?: string; + nomadSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + server: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + openstackSDConfigs?: { + allTenants?: boolean; + applicationCredentialId?: string; + applicationCredentialName?: string; + applicationCredentialSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + availability?: "Public" | "public" | "Admin" | "admin" | "Internal" | "internal"; + domainID?: string; + domainName?: string; + identityEndpoint?: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + port?: number; + projectID?: string; + projectName?: string; + refreshInterval?: string; + region: string; + role: "Instance" | "Hypervisor" | "LoadBalancer"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + userid?: string; + username?: string; + }[]; + ovhcloudSDConfigs?: { + applicationKey: string; + applicationSecret: { + key: string; + name?: string; + optional?: boolean; + }; + consumerKey: { + key: string; + name?: string; + optional?: boolean; + }; + endpoint?: string; + refreshInterval?: string; + service: string; + }[]; + params?: { + [key: string]: unknown; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + puppetDBSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + includeParameters?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + query: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + sampleLimit?: number; + scalewaySDConfigs?: { + accessKey: string; + apiURL?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + nameFilter?: string; + noProxy?: string; + port?: number; + projectID: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Instance" | "Baremetal"; + secretKey: { + key: string; + name?: string; + optional?: boolean; + }; + tagsFilter?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + zone?: string; + }[]; + scheme?: "HTTP" | "HTTPS"; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + staticConfigs?: { + labels?: { + [key: string]: unknown; + }; + targets: string[]; + }[]; + targetLimit?: number; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }; +} +/* com.coreos.monitoring.v1alpha1.ScrapeConfigList */ +/* ScrapeConfigList is a list of ScrapeConfig */ +export interface ScrapeConfigList { + apiVersion?: string; + items: ScrapeConfig[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.autoscaling.v1alpha1.Metric */ +/* Metric represents a resource to configure the metric collector with. */ +export interface Metric { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + panicWindow: number; + scrapeTarget: string; + stableWindow: number; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +/* dev.knative.internal.autoscaling.v1alpha1.MetricList */ +/* MetricList is a list of Metric */ +export interface MetricList { + apiVersion?: string; + items: Metric[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler */ +/* PodAutoscaler is a Knative abstraction that encapsulates the interface by which Knative +components instantiate autoscalers. This definition is an abstraction that may be backed +by multiple definitions. For more information, see the Knative Pluggability presentation: +https://docs.google.com/presentation/d/19vW9HFZ6Puxt31biNZF3uLRejDmu82rxJIk1cWmxF7w/edit */ +export interface PodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + containerConcurrency?: number; + protocolType: string; + reachability?: string; + scaleTargetRef: { + apiVersion?: string; + kind?: string; + name?: string; + }; + }; + status?: { + actualScale?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + desiredScale?: number; + metricsServiceName: string; + observedGeneration?: number; + serviceName: string; + }; +} +/* dev.knative.internal.autoscaling.v1alpha1.PodAutoscalerList */ +/* PodAutoscalerList is a list of PodAutoscaler */ +export interface PodAutoscalerList { + apiVersion?: string; + items: PodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.caching.v1alpha1.Image */ +/* Image is a Knative abstraction that encapsulates the interface by which Knative +components express a desire to have a particular image cached. */ +export interface Image { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + image: string; + imagePullSecrets?: { + name?: string; + }[]; + serviceAccountName?: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +/* dev.knative.internal.caching.v1alpha1.ImageList */ +/* ImageList is a list of Image */ +export interface ImageList { + apiVersion?: string; + items: Image[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.Certificate */ +/* Certificate is responsible for provisioning a SSL certificate for the +given hosts. It is a Knative abstraction for various SSL certificate +provisioning solutions (such as cert-manager or self-signed SSL certificate). */ +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + dnsNames: string[]; + domain?: string; + secretName: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + http01Challenges?: { + serviceName?: string; + serviceNamespace?: string; + servicePort?: any; + url?: string; + }[]; + notAfter?: string; + observedGeneration?: number; + }; +} +/* dev.knative.internal.networking.v1alpha1.CertificateList */ +/* CertificateList is a list of Certificate */ +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.ClusterDomainClaim */ +/* ClusterDomainClaim is a cluster-wide reservation for a particular domain name. */ +export interface ClusterDomainClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + namespace: string; + }; +} +/* dev.knative.internal.networking.v1alpha1.ClusterDomainClaimList */ +/* ClusterDomainClaimList is a list of ClusterDomainClaim */ +export interface ClusterDomainClaimList { + apiVersion?: string; + items: ClusterDomainClaim[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.Ingress */ +/* Ingress is a collection of rules that allow inbound connections to reach the endpoints defined +by a backend. An Ingress can be configured to give services externally-reachable URLs, load +balance traffic, offer name based virtual hosting, etc. + + +This is heavily based on K8s Ingress https://godoc.org/k8s.io/api/networking/v1beta1#Ingress +which some highlighted modifications. */ +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + httpOption?: string; + rules?: { + hosts?: string[]; + http?: { + paths: { + appendHeaders?: { + [key: string]: unknown; + }; + headers?: { + [key: string]: unknown; + }; + path?: string; + rewriteHost?: string; + splits: { + appendHeaders?: { + [key: string]: unknown; + }; + percent?: number; + serviceName: string; + serviceNamespace: string; + servicePort: any; + }[]; + }[]; + }; + visibility?: string; + }[]; + tls?: { + hosts?: string[]; + secretName?: string; + secretNamespace?: string; + }[]; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + publicLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + }; +} +/* dev.knative.internal.networking.v1alpha1.IngressList */ +/* IngressList is a list of Ingress */ +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.ServerlessService */ +/* ServerlessService is a proxy for the K8s service objects containing the +endpoints for the revision, whether those are endpoints of the activator or +revision pods. +See: https://knative.page.link/naxz for details. */ +export interface ServerlessService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + mode?: string; + numActivators?: number; + objectRef: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + protocolType: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateServiceName?: string; + serviceName?: string; + }; +} +/* dev.knative.internal.networking.v1alpha1.ServerlessServiceList */ +/* ServerlessServiceList is a list of ServerlessService */ +export interface ServerlessServiceList { + apiVersion?: string; + items: ServerlessService[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Configuration */ +/* Configuration represents the "floating HEAD" of a linear history of Revisions. +Users create new Revisions by updating the Configuration's spec. +The "latest created" revision's name is available under status, as is the +"latest ready" revision's name. +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#configuration */ +export interface Configuration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + }; +} +/* dev.knative.serving.v1.ConfigurationList */ +/* ConfigurationList is a list of Configuration */ +export interface ConfigurationList { + apiVersion?: string; + items: Configuration[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Revision */ +/* Revision is an immutable snapshot of code and configuration. A revision +references a container image. Revisions are created by updates to a +Configuration. + + +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#revision */ +export interface Revision { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + status?: { + actualReplicas?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + containerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + desiredReplicas?: number; + initContainerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + logUrl?: string; + observedGeneration?: number; + }; +} +/* dev.knative.serving.v1.RevisionList */ +/* RevisionList is a list of Revision */ +export interface RevisionList { + apiVersion?: string; + items: Revision[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Route */ +/* Route is responsible for configuring ingress over a collection of Revisions. +Some of the Revisions a Route distributes traffic over may be specified by +referencing the Configuration responsible for creating them; in these cases +the Route is additionally responsible for monitoring the Configuration for +"latest ready revision" changes, and smoothly rolling out latest revisions. +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#route */ +export interface Route { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +/* dev.knative.serving.v1.RouteList */ +/* RouteList is a list of Route */ +export interface RouteList { + apiVersion?: string; + items: Route[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Service */ +/* Service acts as a top-level container that manages a Route and Configuration +which implement a network service. Service exists to provide a singular +abstraction which can be access controlled, reasoned about, and which +encapsulates software lifecycle decisions such as rollout policy and +team resource ownership. Service acts only as an orchestrator of the +underlying Routes and Configurations (much as a kubernetes Deployment +orchestrates ReplicaSets), and its usage is optional but recommended. + + +The Service's controller will track the statuses of its owned Configuration +and Route, reflecting their statuses and conditions as its own. + + +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#service */ +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +/* dev.knative.serving.v1.ServiceList */ +/* ServiceList is a list of Service */ +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.acme.v1.Challenge */ +/* Challenge is a type to represent a Challenge request with an ACME server */ +export interface Challenge { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + authorizationURL: string; + dnsName: string; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + key: string; + solver: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + token: string; + type: "HTTP-01" | "DNS-01"; + url: string; + wildcard?: boolean; + }; + status?: { + presented?: boolean; + processing?: boolean; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + }; +} +/* io.cert-manager.acme.v1.ChallengeList */ +/* ChallengeList is a list of Challenge */ +export interface ChallengeList { + apiVersion?: string; + items: Challenge[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.acme.v1.Order */ +/* Order is a type to represent an Order with an ACME server */ +export interface Order { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + commonName?: string; + dnsNames?: string[]; + duration?: string; + ipAddresses?: string[]; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + }; + status?: { + authorizations?: { + challenges?: { + token: string; + type: string; + url: string; + }[]; + identifier?: string; + initialState?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url: string; + wildcard?: boolean; + }[]; + certificate?: string; + failureTime?: string; + finalizeURL?: string; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url?: string; + }; +} +/* io.cert-manager.acme.v1.OrderList */ +/* OrderList is a list of Order */ +export interface OrderList { + apiVersion?: string; + items: Order[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.Certificate */ +/* A Certificate resource should be created to ensure an up to date and signed +X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`. + +The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`). */ +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + additionalOutputFormats?: { + type: "DER" | "CombinedPEM"; + }[]; + commonName?: string; + dnsNames?: string[]; + duration?: string; + emailAddresses?: string[]; + encodeUsagesInRequest?: boolean; + ipAddresses?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + keystores?: { + jks?: { + alias?: string; + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + }; + pkcs12?: { + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + profile?: "LegacyRC2" | "LegacyDES" | "Modern2023"; + }; + }; + literalSubject?: string; + nameConstraints?: { + critical?: boolean; + excluded?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + permitted?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + }; + otherNames?: { + oid?: string; + utf8Value?: string; + }[]; + privateKey?: { + algorithm?: "RSA" | "ECDSA" | "Ed25519"; + encoding?: "PKCS1" | "PKCS8"; + rotationPolicy?: "Never" | "Always"; + size?: number; + }; + renewBefore?: string; + renewBeforePercentage?: number; + revisionHistoryLimit?: number; + secretName: string; + secretTemplate?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + subject?: { + countries?: string[]; + localities?: string[]; + organizationalUnits?: string[]; + organizations?: string[]; + postalCodes?: string[]; + provinces?: string[]; + serialNumber?: string; + streetAddresses?: string[]; + }; + uris?: string[]; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + }; + status?: { + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failedIssuanceAttempts?: number; + lastFailureTime?: string; + nextPrivateKeySecretName?: string; + notAfter?: string; + notBefore?: string; + renewalTime?: string; + revision?: number; + }; +} +/* io.cert-manager.v1.CertificateList */ +/* CertificateList is a list of Certificate */ +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.CertificateRequest */ +/* A CertificateRequest is used to request a signed certificate from one of the +configured issuers. + +All fields within the CertificateRequest's `spec` are immutable after creation. +A CertificateRequest will either succeed or fail, as denoted by its `Ready` status +condition and its `status.failureTime` field. + +A CertificateRequest is a one-shot resource, meaning it represents a single +point in time request for a certificate and cannot be re-used. */ +export interface CertificateRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + duration?: string; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + uid?: string; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + username?: string; + }; + status?: { + ca?: string; + certificate?: string; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failureTime?: string; + }; +} +/* io.cert-manager.v1.CertificateRequestList */ +/* CertificateRequestList is a list of CertificateRequest */ +export interface CertificateRequestList { + apiVersion?: string; + items: CertificateRequest[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.ClusterIssuer */ +/* A ClusterIssuer represents a certificate issuing authority which can be +referenced as part of `issuerRef` fields. +It is similar to an Issuer, however it is cluster-scoped and therefore can +be referenced by resources that exist in *any* namespace, not just the same +namespace as the referent. */ +export interface ClusterIssuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +/* io.cert-manager.v1.ClusterIssuerList */ +/* ClusterIssuerList is a list of ClusterIssuer */ +export interface ClusterIssuerList { + apiVersion?: string; + items: ClusterIssuer[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.Issuer */ +/* An Issuer represents a certificate issuing authority which can be +referenced as part of `issuerRef` fields. +It is scoped to a single namespace and can therefore only be referenced by +resources within the same namespace. */ +export interface Issuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +/* io.cert-manager.v1.IssuerList */ +/* IssuerList is a list of Issuer */ +export interface IssuerList { + apiVersion?: string; + items: Issuer[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Backup */ +/* A Backup resource is a request for a PostgreSQL backup by the user. */ +export interface Backup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + target?: "primary" | "prefer-standby"; + }; + status?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + backupId?: string; + backupLabelFile?: string; + backupName?: string; + beginLSN?: string; + beginWal?: string; + commandError?: string; + commandOutput?: string; + destinationPath?: string; + encryption?: string; + endLSN?: string; + endWal?: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + error?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + instanceID?: { + ContainerID?: string; + podName?: string; + }; + method?: string; + online?: boolean; + phase?: string; + pluginMetadata?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + snapshotBackupStatus?: { + elements?: { + name: string; + tablespaceName?: string; + type: string; + }[]; + }; + startedAt?: string; + stoppedAt?: string; + tablespaceMapFile?: string; + }; +} +/* io.cnpg.postgresql.v1.BackupList */ +/* BackupList is a list of Backup */ +export interface BackupList { + apiVersion?: string; + items: Backup[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Cluster */ +/* Cluster is the Schema for the PostgreSQL API */ +export interface Cluster { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + affinity?: { + additionalPodAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + additionalPodAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + enablePodAntiAffinity?: boolean; + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + nodeSelector?: { + [key: string]: unknown; + }; + podAntiAffinityType?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologyKey?: string; + }; + backup?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + retentionPolicy?: string; + target?: "primary" | "prefer-standby"; + volumeSnapshot?: { + annotations?: { + [key: string]: unknown; + }; + className?: string; + labels?: { + [key: string]: unknown; + }; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + snapshotOwnerReference?: "none" | "cluster" | "backup"; + tablespaceClassName?: { + [key: string]: unknown; + }; + walClassName?: string; + }; + }; + bootstrap?: { + initdb?: { + builtinLocale?: string; + dataChecksums?: boolean; + database?: string; + encoding?: string; + icuLocale?: string; + icuRules?: string; + import?: { + databases: string[]; + pgDumpExtraOptions?: string[]; + pgRestoreExtraOptions?: string[]; + postImportApplicationSQL?: string[]; + roles?: string[]; + schemaOnly?: boolean; + source: { + externalCluster: string; + }; + type: "microservice" | "monolith"; + }; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + options?: string[]; + owner?: string; + postInitApplicationSQL?: string[]; + postInitApplicationSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitSQL?: string[]; + postInitSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitTemplateSQL?: string[]; + postInitTemplateSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + secret?: { + name: string; + }; + walSegmentSize?: number; + }; + pg_basebackup?: { + database?: string; + owner?: string; + secret?: { + name: string; + }; + source: string; + }; + recovery?: { + backup?: { + endpointCA?: { + key: string; + name: string; + }; + name: string; + }; + database?: string; + owner?: string; + recoveryTarget?: { + backupID?: string; + exclusive?: boolean; + targetImmediate?: boolean; + targetLSN?: string; + targetName?: string; + targetTLI?: string; + targetTime?: string; + targetXID?: string; + }; + secret?: { + name: string; + }; + source?: string; + volumeSnapshots?: { + storage: { + apiGroup?: string; + kind: string; + name: string; + }; + tablespaceStorage?: { + [key: string]: unknown; + }; + walStorage?: { + apiGroup?: string; + kind: string; + name: string; + }; + }; + }; + }; + certificates?: { + clientCASecret?: string; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + description?: string; + enablePDB?: boolean; + enableSuperuserAccess?: boolean; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + ephemeralVolumeSource?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + ephemeralVolumesSizeLimit?: { + shm?: any; + temporaryData?: any; + }; + externalClusters?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + connectionParameters?: { + [key: string]: unknown; + }; + name: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + plugin?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + sslCert?: { + key: string; + name?: string; + optional?: boolean; + }; + sslKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sslRootCert?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + failoverDelay?: number; + imageCatalogRef?: { + apiGroup?: string; + kind: string; + major: number; + name: string; + }; + imageName?: string; + imagePullPolicy?: string; + imagePullSecrets?: { + name: string; + }[]; + inheritedMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + instances: number; + livenessProbeTimeout?: number; + logLevel?: "error" | "warning" | "info" | "debug" | "trace"; + managed?: { + roles?: { + bypassrls?: boolean; + comment?: string; + connectionLimit?: number; + createdb?: boolean; + createrole?: boolean; + disablePassword?: boolean; + ensure?: "present" | "absent"; + inRoles?: string[]; + inherit?: boolean; + login?: boolean; + name: string; + passwordSecret?: { + name: string; + }; + replication?: boolean; + superuser?: boolean; + validUntil?: string; + }[]; + services?: { + additional?: { + selectorType: "rw" | "r" | "ro"; + serviceTemplate: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + updateStrategy?: "patch" | "replace"; + }[]; + disabledDefaultServices?: ("rw" | "r" | "ro")[]; + }; + }; + maxSyncReplicas?: number; + minSyncReplicas?: number; + monitoring?: { + customQueriesConfigMap?: { + key: string; + name: string; + }[]; + customQueriesSecret?: { + key: string; + name: string; + }[]; + disableDefaultQueries?: boolean; + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tls?: { + enabled?: boolean; + }; + }; + nodeMaintenanceWindow?: { + inProgress?: boolean; + reusePVC?: boolean; + }; + plugins?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }[]; + postgresGID?: number; + postgresUID?: number; + postgresql?: { + enableAlterSystem?: boolean; + ldap?: { + bindAsAuth?: { + prefix?: string; + suffix?: string; + }; + bindSearchAuth?: { + baseDN?: string; + bindDN?: string; + bindPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + searchAttribute?: string; + searchFilter?: string; + }; + port?: number; + scheme?: "ldap" | "ldaps"; + server?: string; + tls?: boolean; + }; + parameters?: { + [key: string]: unknown; + }; + pg_hba?: string[]; + pg_ident?: string[]; + promotionTimeout?: number; + shared_preload_libraries?: string[]; + syncReplicaElectionConstraint?: { + enabled: boolean; + nodeLabelsAntiAffinity?: string[]; + }; + synchronous?: { + dataDurability?: "required" | "preferred"; + maxStandbyNamesFromCluster?: number; + method: "any" | "first"; + number: number; + standbyNamesPost?: string[]; + standbyNamesPre?: string[]; + }; + }; + primaryUpdateMethod?: "switchover" | "restart"; + primaryUpdateStrategy?: "unsupervised" | "supervised"; + priorityClassName?: string; + probes?: { + liveness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + readiness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + startup?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + }; + projectedVolumeTemplate?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + replica?: { + enabled?: boolean; + minApplyDelay?: string; + primary?: string; + promotionToken?: string; + self?: string; + source: string; + }; + replicationSlots?: { + highAvailability?: { + enabled?: boolean; + slotPrefix?: string; + }; + synchronizeReplicas?: { + enabled: boolean; + excludePatterns?: string[]; + }; + updateInterval?: number; + }; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + schedulerName?: string; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + serviceAccountTemplate?: { + metadata: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + }; + smartShutdownTimeout?: number; + startDelay?: number; + stopDelay?: number; + storage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + superuserSecret?: { + name: string; + }; + switchoverDelay?: number; + tablespaces?: { + name: string; + owner?: { + name?: string; + }; + storage: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + temporary?: boolean; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + walStorage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + }; + status?: { + availableArchitectures?: { + goArch: string; + hash: string; + }[]; + azurePVCUpdateEnabled?: boolean; + certificates?: { + clientCASecret?: string; + expirations?: { + [key: string]: unknown; + }; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + cloudNativePGCommitHash?: string; + cloudNativePGOperatorHash?: string; + conditions?: { + lastTransitionTime: string; + message: string; + observedGeneration?: number; + reason: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + configMapResourceVersion?: { + metrics?: { + [key: string]: unknown; + }; + }; + currentPrimary?: string; + currentPrimaryFailingSinceTimestamp?: string; + currentPrimaryTimestamp?: string; + danglingPVC?: string[]; + demotionToken?: string; + firstRecoverabilityPoint?: string; + firstRecoverabilityPointByMethod?: { + [key: string]: unknown; + }; + healthyPVC?: string[]; + image?: string; + initializingPVC?: string[]; + instanceNames?: string[]; + instances?: number; + instancesReportedState?: { + [key: string]: unknown; + }; + instancesStatus?: { + [key: string]: unknown; + }; + jobCount?: number; + lastFailedBackup?: string; + lastPromotionToken?: string; + lastSuccessfulBackup?: string; + lastSuccessfulBackupByMethod?: { + [key: string]: unknown; + }; + latestGeneratedNode?: number; + managedRolesStatus?: { + byStatus?: { + [key: string]: unknown; + }; + cannotReconcile?: { + [key: string]: unknown; + }; + passwordStatus?: { + [key: string]: unknown; + }; + }; + onlineUpdateEnabled?: boolean; + phase?: string; + phaseReason?: string; + pluginStatus?: { + backupCapabilities?: string[]; + capabilities?: string[]; + name: string; + operatorCapabilities?: string[]; + restoreJobHookCapabilities?: string[]; + status?: string; + version: string; + walCapabilities?: string[]; + }[]; + poolerIntegrations?: { + pgBouncerIntegration?: { + secrets?: string[]; + }; + }; + pvcCount?: number; + readService?: string; + readyInstances?: number; + resizingPVC?: string[]; + secretsResourceVersion?: { + applicationSecretVersion?: string; + barmanEndpointCA?: string; + caSecretVersion?: string; + clientCaSecretVersion?: string; + externalClusterSecretVersion?: { + [key: string]: unknown; + }; + managedRoleSecretVersion?: { + [key: string]: unknown; + }; + metrics?: { + [key: string]: unknown; + }; + replicationSecretVersion?: string; + serverCaSecretVersion?: string; + serverSecretVersion?: string; + superuserSecretVersion?: string; + }; + switchReplicaClusterStatus?: { + inProgress?: boolean; + }; + tablespacesStatus?: { + error?: string; + name: string; + owner?: string; + state: string; + }[]; + targetPrimary?: string; + targetPrimaryTimestamp?: string; + timelineID?: number; + topology?: { + instances?: { + [key: string]: unknown; + }; + nodesUsed?: number; + successfullyExtracted?: boolean; + }; + unusablePVC?: string[]; + writeService?: string; + }; +} +/* io.cnpg.postgresql.v1.ClusterImageCatalog */ +/* ClusterImageCatalog is the Schema for the clusterimagecatalogs API */ +export interface ClusterImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +/* io.cnpg.postgresql.v1.ClusterImageCatalogList */ +/* ClusterImageCatalogList is a list of ClusterImageCatalog */ +export interface ClusterImageCatalogList { + apiVersion?: string; + items: ClusterImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.ClusterList */ +/* ClusterList is a list of Cluster */ +export interface ClusterList { + apiVersion?: string; + items: Cluster[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Database */ +/* Database is the Schema for the databases API */ +export interface Database { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + allowConnections?: boolean; + builtinLocale?: string; + cluster: { + name?: string; + }; + collationVersion?: string; + connectionLimit?: number; + databaseReclaimPolicy?: "delete" | "retain"; + encoding?: string; + ensure?: "present" | "absent"; + icuLocale?: string; + icuRules?: string; + isTemplate?: boolean; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + name: string; + owner: string; + tablespace?: string; + template?: string; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +/* io.cnpg.postgresql.v1.DatabaseList */ +/* DatabaseList is a list of Database */ +export interface DatabaseList { + apiVersion?: string; + items: Database[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.ImageCatalog */ +/* ImageCatalog is the Schema for the imagecatalogs API */ +export interface ImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +/* io.cnpg.postgresql.v1.ImageCatalogList */ +/* ImageCatalogList is a list of ImageCatalog */ +export interface ImageCatalogList { + apiVersion?: string; + items: ImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Pooler */ +/* Pooler is the Schema for the poolers API */ +export interface Pooler { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + deploymentStrategy?: { + rollingUpdate?: { + maxSurge?: any; + maxUnavailable?: any; + }; + type?: string; + }; + instances?: number; + monitoring?: { + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }; + pgbouncer: { + authQuery?: string; + authQuerySecret?: { + name: string; + }; + parameters?: { + [key: string]: unknown; + }; + paused?: boolean; + pg_hba?: string[]; + poolMode?: "session" | "transaction"; + }; + serviceTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + template?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + activeDeadlineSeconds?: number; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + automountServiceAccountToken?: boolean; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name?: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: string; + enableServiceLinks?: boolean; + ephemeralContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + hostAliases?: { + hostnames?: string[]; + ip: string; + }[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: { + name: string; + }; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: string; + priority?: number; + priorityClassName?: string; + readinessGates?: { + conditionType: string; + }[]; + resourceClaims?: { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: { + name: string; + }[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + }; + }; + type?: "rw" | "ro" | "r"; + }; + status?: { + instances?: number; + secrets?: { + clientCA?: { + name?: string; + version?: string; + }; + pgBouncerSecrets?: { + authQuery?: { + name?: string; + version?: string; + }; + }; + serverCA?: { + name?: string; + version?: string; + }; + serverTLS?: { + name?: string; + version?: string; + }; + }; + }; +} +/* io.cnpg.postgresql.v1.PoolerList */ +/* PoolerList is a list of Pooler */ +export interface PoolerList { + apiVersion?: string; + items: Pooler[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Publication */ +/* Publication is the Schema for the publications API */ +export interface Publication { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationReclaimPolicy?: "delete" | "retain"; + target: { + allTables?: boolean; + objects?: { + table?: { + columns?: string[]; + name: string; + only?: boolean; + schema?: string; + }; + tablesInSchema?: string; + }[]; + }; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +/* io.cnpg.postgresql.v1.PublicationList */ +/* PublicationList is a list of Publication */ +export interface PublicationList { + apiVersion?: string; + items: Publication[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.ScheduledBackup */ +/* ScheduledBackup is the Schema for the scheduledbackups API */ +export interface ScheduledBackup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + backupOwnerReference?: "none" | "self" | "cluster"; + cluster: { + name: string; + }; + immediate?: boolean; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + schedule: string; + suspend?: boolean; + target?: "primary" | "prefer-standby"; + }; + status?: { + lastCheckTime?: string; + lastScheduleTime?: string; + nextScheduleTime?: string; + }; +} +/* io.cnpg.postgresql.v1.ScheduledBackupList */ +/* ScheduledBackupList is a list of ScheduledBackup */ +export interface ScheduledBackupList { + apiVersion?: string; + items: ScheduledBackup[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Subscription */ +/* Subscription is the Schema for the subscriptions API */ +export interface Subscription { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + externalClusterName: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationDBName?: string; + publicationName: string; + subscriptionReclaimPolicy?: "delete" | "retain"; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +/* io.cnpg.postgresql.v1.SubscriptionList */ +/* SubscriptionList is a list of Subscription */ +export interface SubscriptionList { + apiVersion?: string; + items: Subscription[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.AuditAnnotation */ +/* AuditAnnotation describes how to produce an audit annotation for an API request. */ +export interface AuditAnnotation { + key: string; + valueExpression: string; +} +/* io.k8s.api.admissionregistration.v1.ExpressionWarning */ +/* ExpressionWarning is a warning information that targets a specific expression. */ +export interface ExpressionWarning { + fieldRef: string; + warning: string; +} +/* io.k8s.api.admissionregistration.v1.MatchCondition */ +/* MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. */ +export interface MatchCondition { + expression: string; + name: string; +} +/* io.k8s.api.admissionregistration.v1.MatchResources */ +/* MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) */ +export interface MatchResources { + excludeResourceRules?: NamedRuleWithOperations[]; + matchPolicy?: "Equivalent" | "Exact"; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + resourceRules?: NamedRuleWithOperations[]; +} +/* io.k8s.api.admissionregistration.v1.MutatingWebhook */ +/* MutatingWebhook describes an admission webhook and the resources and operations it applies to. */ +export interface MutatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + reinvocationPolicy?: "IfNeeded" | "Never"; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +/* io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration */ +/* MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. */ +export interface MutatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: MutatingWebhook[]; +} +/* io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList */ +/* MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. */ +export interface MutatingWebhookConfigurationList { + apiVersion?: string; + items: MutatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.NamedRuleWithOperations */ +/* NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. */ +export interface NamedRuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resourceNames?: string[]; + resources?: string[]; + scope?: string; +} +/* io.k8s.api.admissionregistration.v1.ParamKind */ +/* ParamKind is a tuple of Group Kind and Version. */ +export interface ParamKind { + apiVersion?: string; + kind?: string; +} +/* io.k8s.api.admissionregistration.v1.ParamRef */ +/* ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. */ +export interface ParamRef { + name?: string; + namespace?: string; + parameterNotFoundAction?: string; + selector?: LabelSelector; +} +/* io.k8s.api.admissionregistration.v1.RuleWithOperations */ +/* RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. */ +export interface RuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resources?: string[]; + scope?: string; +} +/* io.k8s.api.admissionregistration.v1.ServiceReference */ +/* ServiceReference holds a reference to Service.legacy.k8s.io */ +export interface AdmissionServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +/* io.k8s.api.admissionregistration.v1.TypeChecking */ +/* TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy */ +export interface TypeChecking { + expressionWarnings?: ExpressionWarning[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy */ +/* ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. */ +export interface ValidatingAdmissionPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicySpec; + status?: ValidatingAdmissionPolicyStatus; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding */ +/* ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters. + +For 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. + +The 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. */ +export interface ValidatingAdmissionPolicyBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicyBindingSpec; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList */ +/* ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. */ +export interface ValidatingAdmissionPolicyBindingList { + apiVersion?: string; + items: ValidatingAdmissionPolicyBinding[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingSpec */ +/* ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. */ +export interface ValidatingAdmissionPolicyBindingSpec { + matchResources?: MatchResources; + paramRef?: ParamRef; + policyName?: string; + validationActions?: ("Audit" | "Deny" | "Warn")[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList */ +/* ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. */ +export interface ValidatingAdmissionPolicyList { + apiVersion?: string; + items: ValidatingAdmissionPolicy[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicySpec */ +/* ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. */ +export interface ValidatingAdmissionPolicySpec { + auditAnnotations?: AuditAnnotation[]; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchConstraints?: MatchResources; + paramKind?: ParamKind; + validations?: Validation[]; + variables?: Variable[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyStatus */ +/* ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. */ +export interface ValidatingAdmissionPolicyStatus { + conditions?: Condition[]; + observedGeneration?: number; + typeChecking?: TypeChecking; +} +/* io.k8s.api.admissionregistration.v1.ValidatingWebhook */ +/* ValidatingWebhook describes an admission webhook and the resources and operations it applies to. */ +export interface ValidatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +/* io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration */ +/* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. */ +export interface ValidatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: ValidatingWebhook[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList */ +/* ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. */ +export interface ValidatingWebhookConfigurationList { + apiVersion?: string; + items: ValidatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.Validation */ +/* Validation specifies the CEL expression which is used to apply the validation. */ +export interface Validation { + expression: string; + message?: string; + messageExpression?: string; + reason?: string; +} +/* io.k8s.api.admissionregistration.v1.Variable */ +/* Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. */ +export interface Variable { + expression: string; + name: string; +} +/* io.k8s.api.admissionregistration.v1.WebhookClientConfig */ +/* WebhookClientConfig contains the information to make a TLS connection with the webhook */ +export interface WebhookClientConfig { + caBundle?: string; + service?: AdmissionServiceReference; + url?: string; +} +/* io.k8s.api.apps.v1.ControllerRevision */ +/* ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. */ +export interface ControllerRevision { + apiVersion?: string; + data?: RawExtension; + kind?: string; + metadata?: ObjectMeta; + revision: number; +} +/* io.k8s.api.apps.v1.ControllerRevisionList */ +/* ControllerRevisionList is a resource containing a list of ControllerRevision objects. */ +export interface ControllerRevisionList { + apiVersion?: string; + items: ControllerRevision[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.DaemonSet */ +/* DaemonSet represents the configuration of a daemon set. */ +export interface DaemonSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DaemonSetSpec; + status?: DaemonSetStatus; +} +/* io.k8s.api.apps.v1.DaemonSetCondition */ +/* DaemonSetCondition describes the state of a DaemonSet at a certain point. */ +export interface DaemonSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.DaemonSetList */ +/* DaemonSetList is a collection of daemon sets. */ +export interface DaemonSetList { + apiVersion?: string; + items: DaemonSet[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.DaemonSetSpec */ +/* DaemonSetSpec is the specification of a daemon set. */ +export interface DaemonSetSpec { + minReadySeconds?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + template: PodTemplateSpec; + updateStrategy?: DaemonSetUpdateStrategy; +} +/* io.k8s.api.apps.v1.DaemonSetStatus */ +/* DaemonSetStatus represents the current status of a daemon set. */ +export interface DaemonSetStatus { + collisionCount?: number; + conditions?: DaemonSetCondition[]; + currentNumberScheduled: number; + desiredNumberScheduled: number; + numberAvailable?: number; + numberMisscheduled: number; + numberReady: number; + numberUnavailable?: number; + observedGeneration?: number; + updatedNumberScheduled?: number; +} +/* io.k8s.api.apps.v1.DaemonSetUpdateStrategy */ +/* DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. */ +export interface DaemonSetUpdateStrategy { + rollingUpdate?: RollingUpdateDaemonSet; + type?: "OnDelete" | "RollingUpdate"; +} +/* io.k8s.api.apps.v1.Deployment */ +/* Deployment enables declarative updates for Pods and ReplicaSets. */ +export interface Deployment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DeploymentSpec; + status?: DeploymentStatus; +} +/* io.k8s.api.apps.v1.DeploymentCondition */ +/* DeploymentCondition describes the state of a deployment at a certain point. */ +export interface DeploymentCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.DeploymentList */ +/* DeploymentList is a list of Deployments. */ +export interface DeploymentList { + apiVersion?: string; + items: Deployment[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.DeploymentSpec */ +/* DeploymentSpec is the specification of the desired behavior of the Deployment. */ +export interface DeploymentSpec { + minReadySeconds?: number; + paused?: boolean; + progressDeadlineSeconds?: number; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + strategy?: DeploymentStrategy; + template: PodTemplateSpec; +} +/* io.k8s.api.apps.v1.DeploymentStatus */ +/* DeploymentStatus is the most recently observed status of the Deployment. */ +export interface DeploymentStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: DeploymentCondition[]; + observedGeneration?: number; + readyReplicas?: number; + replicas?: number; + unavailableReplicas?: number; + updatedReplicas?: number; +} +/* io.k8s.api.apps.v1.DeploymentStrategy */ +/* DeploymentStrategy describes how to replace existing pods with new ones. */ +export interface DeploymentStrategy { + rollingUpdate?: RollingUpdateDeployment; + type?: "Recreate" | "RollingUpdate"; +} +/* io.k8s.api.apps.v1.ReplicaSet */ +/* ReplicaSet ensures that a specified number of pod replicas are running at any given time. */ +export interface ReplicaSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicaSetSpec; + status?: ReplicaSetStatus; +} +/* io.k8s.api.apps.v1.ReplicaSetCondition */ +/* ReplicaSetCondition describes the state of a replica set at a certain point. */ +export interface ReplicaSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.ReplicaSetList */ +/* ReplicaSetList is a collection of ReplicaSets. */ +export interface ReplicaSetList { + apiVersion?: string; + items: ReplicaSet[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.ReplicaSetSpec */ +/* ReplicaSetSpec is the specification of a ReplicaSet. */ +export interface ReplicaSetSpec { + minReadySeconds?: number; + replicas?: number; + selector: LabelSelector; + template?: PodTemplateSpec; +} +/* io.k8s.api.apps.v1.ReplicaSetStatus */ +/* ReplicaSetStatus represents the current status of a ReplicaSet. */ +export interface ReplicaSetStatus { + availableReplicas?: number; + conditions?: ReplicaSetCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +/* io.k8s.api.apps.v1.RollingUpdateDaemonSet */ +/* Spec to control the desired behavior of daemon set rolling update. */ +export interface RollingUpdateDaemonSet { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +/* io.k8s.api.apps.v1.RollingUpdateDeployment */ +/* Spec to control the desired behavior of rolling update. */ +export interface RollingUpdateDeployment { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +/* io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy */ +/* RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. */ +export interface RollingUpdateStatefulSetStrategy { + maxUnavailable?: IntOrString; + partition?: number; +} +/* io.k8s.api.apps.v1.StatefulSet */ +/* StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + +The StatefulSet guarantees that a given network identity will always map to the same storage identity. */ +export interface StatefulSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: StatefulSetSpec; + status?: StatefulSetStatus; +} +/* io.k8s.api.apps.v1.StatefulSetCondition */ +/* StatefulSetCondition describes the state of a statefulset at a certain point. */ +export interface StatefulSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.StatefulSetList */ +/* StatefulSetList is a collection of StatefulSets. */ +export interface StatefulSetList { + apiVersion?: string; + items: StatefulSet[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.StatefulSetOrdinals */ +/* StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet. */ +export interface StatefulSetOrdinals { + start?: number; +} +/* io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy */ +/* StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. */ +export interface StatefulSetPersistentVolumeClaimRetentionPolicy { + whenDeleted?: string; + whenScaled?: string; +} +/* io.k8s.api.apps.v1.StatefulSetSpec */ +/* A StatefulSetSpec is the specification of a StatefulSet. */ +export interface StatefulSetSpec { + minReadySeconds?: number; + ordinals?: StatefulSetOrdinals; + persistentVolumeClaimRetentionPolicy?: StatefulSetPersistentVolumeClaimRetentionPolicy; + podManagementPolicy?: "OrderedReady" | "Parallel"; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + serviceName: string; + template: PodTemplateSpec; + updateStrategy?: StatefulSetUpdateStrategy; + volumeClaimTemplates?: PersistentVolumeClaim[]; +} +/* io.k8s.api.apps.v1.StatefulSetStatus */ +/* StatefulSetStatus represents the current state of a StatefulSet. */ +export interface StatefulSetStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: StatefulSetCondition[]; + currentReplicas?: number; + currentRevision?: string; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; + updateRevision?: string; + updatedReplicas?: number; +} +/* io.k8s.api.apps.v1.StatefulSetUpdateStrategy */ +/* StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. */ +export interface StatefulSetUpdateStrategy { + rollingUpdate?: RollingUpdateStatefulSetStrategy; + type?: "OnDelete" | "RollingUpdate"; +} +/* io.k8s.api.authentication.v1.BoundObjectReference */ +/* BoundObjectReference is a reference to an object that a token is bound to. */ +export interface BoundObjectReference { + apiVersion?: string; + kind?: string; + name?: string; + uid?: string; +} +/* io.k8s.api.authentication.v1.SelfSubjectReview */ +/* SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase. */ +export interface SelfSubjectReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + status?: SelfSubjectReviewStatus; +} +/* io.k8s.api.authentication.v1.SelfSubjectReviewStatus */ +/* SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. */ +export interface SelfSubjectReviewStatus { + userInfo?: UserInfo; +} +/* io.k8s.api.authentication.v1.TokenRequest */ +/* TokenRequest requests a token for a given service account. */ +export interface TokenRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenRequestSpec; + status?: TokenRequestStatus; +} +/* io.k8s.api.authentication.v1.TokenRequestSpec */ +/* TokenRequestSpec contains client provided parameters of a token request. */ +export interface TokenRequestSpec { + audiences: string[]; + boundObjectRef?: BoundObjectReference; + expirationSeconds?: number; +} +/* io.k8s.api.authentication.v1.TokenRequestStatus */ +/* TokenRequestStatus is the result of a token request. */ +export interface TokenRequestStatus { + expirationTimestamp: Time; + token: string; +} +/* io.k8s.api.authentication.v1.TokenReview */ +/* TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. */ +export interface TokenReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenReviewSpec; + status?: TokenReviewStatus; +} +/* io.k8s.api.authentication.v1.TokenReviewSpec */ +/* TokenReviewSpec is a description of the token authentication request. */ +export interface TokenReviewSpec { + audiences?: string[]; + token?: string; +} +/* io.k8s.api.authentication.v1.TokenReviewStatus */ +/* TokenReviewStatus is the result of the token authentication request. */ +export interface TokenReviewStatus { + audiences?: string[]; + authenticated?: boolean; + error?: string; + user?: UserInfo; +} +/* io.k8s.api.authentication.v1.UserInfo */ +/* UserInfo holds the information about the user needed to implement the user.Info interface. */ +export interface UserInfo { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + uid?: string; + username?: string; +} +/* io.k8s.api.authorization.v1.FieldSelectorAttributes */ +/* FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. */ +export interface FieldSelectorAttributes { + rawSelector?: string; + requirements?: FieldSelectorRequirement[]; +} +/* io.k8s.api.authorization.v1.LabelSelectorAttributes */ +/* LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. */ +export interface LabelSelectorAttributes { + rawSelector?: string; + requirements?: LabelSelectorRequirement[]; +} +/* io.k8s.api.authorization.v1.LocalSubjectAccessReview */ +/* LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. */ +export interface LocalSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +/* io.k8s.api.authorization.v1.NonResourceAttributes */ +/* NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface */ +export interface NonResourceAttributes { + path?: string; + verb?: string; +} +/* io.k8s.api.authorization.v1.NonResourceRule */ +/* NonResourceRule holds information that describes a rule for the non-resource */ +export interface NonResourceRule { + nonResourceURLs?: string[]; + verbs: string[]; +} +/* io.k8s.api.authorization.v1.ResourceAttributes */ +/* ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface */ +export interface ResourceAttributes { + fieldSelector?: FieldSelectorAttributes; + group?: string; + labelSelector?: LabelSelectorAttributes; + name?: string; + namespace?: string; + resource?: string; + subresource?: string; + verb?: string; + version?: string; +} +/* io.k8s.api.authorization.v1.ResourceRule */ +/* ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. */ +export interface ResourceRule { + apiGroups?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +/* io.k8s.api.authorization.v1.SelfSubjectAccessReview */ +/* SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action */ +export interface SelfSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +/* io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec */ +/* SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set */ +export interface SelfSubjectAccessReviewSpec { + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; +} +/* io.k8s.api.authorization.v1.SelfSubjectRulesReview */ +/* SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. */ +export interface SelfSubjectRulesReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectRulesReviewSpec; + status?: SubjectRulesReviewStatus; +} +/* io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec */ +/* SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview. */ +export interface SelfSubjectRulesReviewSpec { + namespace?: string; +} +/* io.k8s.api.authorization.v1.SubjectAccessReview */ +/* SubjectAccessReview checks whether or not a user or group can perform an action. */ +export interface SubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +/* io.k8s.api.authorization.v1.SubjectAccessReviewSpec */ +/* SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set */ +export interface SubjectAccessReviewSpec { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; + uid?: string; + user?: string; +} +/* io.k8s.api.authorization.v1.SubjectAccessReviewStatus */ +/* SubjectAccessReviewStatus */ +export interface SubjectAccessReviewStatus { + allowed: boolean; + denied?: boolean; + evaluationError?: string; + reason?: string; +} +/* io.k8s.api.authorization.v1.SubjectRulesReviewStatus */ +/* SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. */ +export interface SubjectRulesReviewStatus { + evaluationError?: string; + incomplete: boolean; + nonResourceRules: NonResourceRule[]; + resourceRules: ResourceRule[]; +} +/* io.k8s.api.autoscaling.v1.CrossVersionObjectReference */ +/* CrossVersionObjectReference contains enough information to let you identify the referred resource. */ +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler */ +/* configuration of a horizontal pod autoscaler. */ +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList */ +/* list of horizontal pod autoscaler objects. */ +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec */ +/* specification of a horizontal pod autoscaler. */ +export interface HorizontalPodAutoscalerSpec { + maxReplicas: number; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; + targetCPUUtilizationPercentage?: number; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus */ +/* current status of a horizontal pod autoscaler */ +export interface HorizontalPodAutoscalerStatus { + currentCPUUtilizationPercentage?: number; + currentReplicas: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +/* io.k8s.api.autoscaling.v1.Scale */ +/* Scale represents a scaling request for a resource. */ +export interface Scale { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ScaleSpec; + status?: ScaleStatus; +} +/* io.k8s.api.autoscaling.v1.ScaleSpec */ +/* ScaleSpec describes the attributes of a scale subresource. */ +export interface ScaleSpec { + replicas?: number; +} +/* io.k8s.api.autoscaling.v1.ScaleStatus */ +/* ScaleStatus represents the current status of a scale subresource. */ +export interface ScaleStatus { + replicas: number; + selector?: string; +} +/* io.k8s.api.autoscaling.v2.ContainerResourceMetricSource */ +/* ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set. */ +export interface ContainerResourceMetricSource { + container: string; + name: string; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ContainerResourceMetricStatus */ +/* ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. */ +export interface ContainerResourceMetricStatus { + container: string; + current: MetricValueStatus; + name: string; +} +/* io.k8s.api.autoscaling.v2.CrossVersionObjectReference */ +/* CrossVersionObjectReference contains enough information to let you identify the referred resource. */ +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +/* io.k8s.api.autoscaling.v2.ExternalMetricSource */ +/* ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). */ +export interface ExternalMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ExternalMetricStatus */ +/* ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. */ +export interface ExternalMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +/* io.k8s.api.autoscaling.v2.HPAScalingPolicy */ +/* HPAScalingPolicy is a single policy which must hold true for a specified past interval. */ +export interface HPAScalingPolicy { + periodSeconds: number; + type: string; + value: number; +} +/* io.k8s.api.autoscaling.v2.HPAScalingRules */ +/* HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen. */ +export interface HPAScalingRules { + policies?: HPAScalingPolicy[]; + selectPolicy?: string; + stabilizationWindowSeconds?: number; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler */ +/* HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. */ +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior */ +/* HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). */ +export interface HorizontalPodAutoscalerBehavior { + scaleDown?: HPAScalingRules; + scaleUp?: HPAScalingRules; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerCondition */ +/* HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. */ +export interface HorizontalPodAutoscalerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList */ +/* HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. */ +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerSpec */ +/* HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. */ +export interface HorizontalPodAutoscalerSpec { + behavior?: HorizontalPodAutoscalerBehavior; + maxReplicas: number; + metrics?: MetricSpec[]; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerStatus */ +/* HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. */ +export interface HorizontalPodAutoscalerStatus { + conditions?: HorizontalPodAutoscalerCondition[]; + currentMetrics?: MetricStatus[]; + currentReplicas?: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +/* io.k8s.api.autoscaling.v2.MetricIdentifier */ +/* MetricIdentifier defines the name and optionally selector for a metric */ +export interface MetricIdentifier { + name: string; + selector?: LabelSelector; +} +/* io.k8s.api.autoscaling.v2.MetricSpec */ +/* MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). */ +export interface MetricSpec { + containerResource?: ContainerResourceMetricSource; + external?: ExternalMetricSource; + object?: ObjectMetricSource; + pods?: PodsMetricSource; + resource?: ResourceMetricSource; + type: string; +} +/* io.k8s.api.autoscaling.v2.MetricStatus */ +/* MetricStatus describes the last-read state of a single metric. */ +export interface MetricStatus { + containerResource?: ContainerResourceMetricStatus; + external?: ExternalMetricStatus; + object?: ObjectMetricStatus; + pods?: PodsMetricStatus; + resource?: ResourceMetricStatus; + type: string; +} +/* io.k8s.api.autoscaling.v2.MetricTarget */ +/* MetricTarget defines the target value, average value, or average utilization of a specific metric */ +export interface MetricTarget { + averageUtilization?: number; + averageValue?: Quantity; + type: string; + value?: Quantity; +} +/* io.k8s.api.autoscaling.v2.MetricValueStatus */ +/* MetricValueStatus holds the current value for a metric */ +export interface MetricValueStatus { + averageUtilization?: number; + averageValue?: Quantity; + value?: Quantity; +} +/* io.k8s.api.autoscaling.v2.ObjectMetricSource */ +/* ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). */ +export interface ObjectMetricSource { + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ObjectMetricStatus */ +/* ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). */ +export interface ObjectMetricStatus { + current: MetricValueStatus; + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; +} +/* io.k8s.api.autoscaling.v2.PodsMetricSource */ +/* PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. */ +export interface PodsMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.PodsMetricStatus */ +/* PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). */ +export interface PodsMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +/* io.k8s.api.autoscaling.v2.ResourceMetricSource */ +/* ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set. */ +export interface ResourceMetricSource { + name: string; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ResourceMetricStatus */ +/* ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. */ +export interface ResourceMetricStatus { + current: MetricValueStatus; + name: string; +} +/* io.k8s.api.batch.v1.CronJob */ +/* CronJob represents the configuration of a single cron job. */ +export interface CronJob { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: CronJobSpec; + status?: CronJobStatus; +} +/* io.k8s.api.batch.v1.CronJobList */ +/* CronJobList is a collection of cron jobs. */ +export interface CronJobList { + apiVersion?: string; + items: CronJob[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.batch.v1.CronJobSpec */ +/* CronJobSpec describes how the job execution will look like and when it will actually run. */ +export interface CronJobSpec { + concurrencyPolicy?: "Allow" | "Forbid" | "Replace"; + failedJobsHistoryLimit?: number; + jobTemplate: JobTemplateSpec; + schedule: string; + startingDeadlineSeconds?: number; + successfulJobsHistoryLimit?: number; + suspend?: boolean; + timeZone?: string; +} +/* io.k8s.api.batch.v1.CronJobStatus */ +/* CronJobStatus represents the current state of a cron job. */ +export interface CronJobStatus { + active?: ObjectReference[]; + lastScheduleTime?: Time; + lastSuccessfulTime?: Time; +} +/* io.k8s.api.batch.v1.Job */ +/* Job represents the configuration of a single job. */ +export interface Job { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: JobSpec; + status?: JobStatus; +} +/* io.k8s.api.batch.v1.JobCondition */ +/* JobCondition describes current state of a job. */ +export interface JobCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.batch.v1.JobList */ +/* JobList is a collection of jobs. */ +export interface JobList { + apiVersion?: string; + items: Job[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.batch.v1.JobSpec */ +/* JobSpec describes how the job execution will look like. */ +export interface JobSpec { + activeDeadlineSeconds?: number; + backoffLimit?: number; + backoffLimitPerIndex?: number; + completionMode?: "Indexed" | "NonIndexed"; + completions?: number; + managedBy?: string; + manualSelector?: boolean; + maxFailedIndexes?: number; + parallelism?: number; + podFailurePolicy?: PodFailurePolicy; + podReplacementPolicy?: "Failed" | "TerminatingOrFailed"; + selector?: LabelSelector; + successPolicy?: SuccessPolicy; + suspend?: boolean; + template: PodTemplateSpec; + ttlSecondsAfterFinished?: number; +} +/* io.k8s.api.batch.v1.JobStatus */ +/* JobStatus represents the current state of a Job. */ +export interface JobStatus { + active?: number; + completedIndexes?: string; + completionTime?: Time; + conditions?: JobCondition[]; + failed?: number; + failedIndexes?: string; + ready?: number; + startTime?: Time; + succeeded?: number; + terminating?: number; + uncountedTerminatedPods?: UncountedTerminatedPods; +} +/* io.k8s.api.batch.v1.JobTemplateSpec */ +/* JobTemplateSpec describes the data a Job should have when created from a template */ +export interface JobTemplateSpec { + metadata?: ObjectMeta; + spec?: JobSpec; +} +/* io.k8s.api.batch.v1.PodFailurePolicy */ +/* PodFailurePolicy describes how failed pods influence the backoffLimit. */ +export interface PodFailurePolicy { + rules: PodFailurePolicyRule[]; +} +/* io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement */ +/* PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check. */ +export interface PodFailurePolicyOnExitCodesRequirement { + containerName?: string; + operator: "In" | "NotIn"; + values: number[]; +} +/* io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern */ +/* PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type. */ +export interface PodFailurePolicyOnPodConditionsPattern { + status: string; + type: string; +} +/* io.k8s.api.batch.v1.PodFailurePolicyRule */ +/* PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule. */ +export interface PodFailurePolicyRule { + action: "Count" | "FailIndex" | "FailJob" | "Ignore"; + onExitCodes?: PodFailurePolicyOnExitCodesRequirement; + onPodConditions?: PodFailurePolicyOnPodConditionsPattern[]; +} +/* io.k8s.api.batch.v1.SuccessPolicy */ +/* SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes. */ +export interface SuccessPolicy { + rules: SuccessPolicyRule[]; +} +/* io.k8s.api.batch.v1.SuccessPolicyRule */ +/* SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified. */ +export interface SuccessPolicyRule { + succeededCount?: number; + succeededIndexes?: string; +} +/* io.k8s.api.batch.v1.UncountedTerminatedPods */ +/* UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters. */ +export interface UncountedTerminatedPods { + failed?: string[]; + succeeded?: string[]; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequest */ +/* CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + +Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + +This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers. */ +export interface CertificateSigningRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CertificateSigningRequestSpec; + status?: CertificateSigningRequestStatus; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestCondition */ +/* CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object */ +export interface CertificateSigningRequestCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestList */ +/* CertificateSigningRequestList is a collection of CertificateSigningRequest objects */ +export interface CertificateSigningRequestList { + apiVersion?: string; + items: CertificateSigningRequest[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestSpec */ +/* CertificateSigningRequestSpec contains the certificate request. */ +export interface CertificateSigningRequestSpec { + expirationSeconds?: number; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + request: string; + signerName: string; + uid?: string; + usages?: ("any" | "cert sign" | "client auth" | "code signing" | "content commitment" | "crl sign" | "data encipherment" | "decipher only" | "digital signature" | "email protection" | "encipher only" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "key agreement" | "key encipherment" | "microsoft sgc" | "netscape sgc" | "ocsp signing" | "s/mime" | "server auth" | "signing" | "timestamping")[]; + username?: string; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestStatus */ +/* CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate. */ +export interface CertificateSigningRequestStatus { + certificate?: string; + conditions?: CertificateSigningRequestCondition[]; +} +/* io.k8s.api.coordination.v1.Lease */ +/* Lease defines a lease concept. */ +export interface Lease { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LeaseSpec; +} +/* io.k8s.api.coordination.v1.LeaseList */ +/* LeaseList is a list of Lease objects. */ +export interface LeaseList { + apiVersion?: string; + items: Lease[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.coordination.v1.LeaseSpec */ +/* LeaseSpec is a specification of a Lease. */ +export interface LeaseSpec { + acquireTime?: MicroTime; + holderIdentity?: string; + leaseDurationSeconds?: number; + leaseTransitions?: number; + preferredHolder?: string; + renewTime?: MicroTime; + strategy?: string; +} +/* io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource */ +/* Represents a Persistent Disk resource in AWS. + +An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. */ +export interface AWSElasticBlockStoreVolumeSource { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; +} +/* io.k8s.api.core.v1.Affinity */ +/* Affinity is a group of affinity scheduling rules. */ +export interface Affinity { + nodeAffinity?: NodeAffinity; + podAffinity?: PodAffinity; + podAntiAffinity?: PodAntiAffinity; +} +/* io.k8s.api.core.v1.AppArmorProfile */ +/* AppArmorProfile defines a pod or container's AppArmor settings. */ +export interface AppArmorProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +/* io.k8s.api.core.v1.AttachedVolume */ +/* AttachedVolume describes a volume attached to a node */ +export interface AttachedVolume { + devicePath: string; + name: string; +} +/* io.k8s.api.core.v1.AzureDiskVolumeSource */ +/* AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. */ +export interface AzureDiskVolumeSource { + cachingMode?: "None" | "ReadOnly" | "ReadWrite"; + diskName: string; + diskURI: string; + fsType?: string; + kind?: "Dedicated" | "Managed" | "Shared"; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.AzureFilePersistentVolumeSource */ +/* AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */ +export interface AzureFilePersistentVolumeSource { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; +} +/* io.k8s.api.core.v1.AzureFileVolumeSource */ +/* AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */ +export interface AzureFileVolumeSource { + readOnly?: boolean; + secretName: string; + shareName: string; +} +/* io.k8s.api.core.v1.Binding */ +/* Binding ties one object to another; for example, a pod is bound to a node by a scheduler. */ +export interface Binding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + target: ObjectReference; +} +/* io.k8s.api.core.v1.CSIPersistentVolumeSource */ +/* Represents storage that is managed by an external CSI volume driver */ +export interface CSIPersistentVolumeSource { + controllerExpandSecretRef?: SecretReference; + controllerPublishSecretRef?: SecretReference; + driver: string; + fsType?: string; + nodeExpandSecretRef?: SecretReference; + nodePublishSecretRef?: SecretReference; + nodeStageSecretRef?: SecretReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + volumeHandle: string; +} +/* io.k8s.api.core.v1.CSIVolumeSource */ +/* Represents a source location of a volume to mount, managed by an external CSI driver */ +export interface CSIVolumeSource { + driver: string; + fsType?: string; + nodePublishSecretRef?: LocalObjectReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.Capabilities */ +/* Adds and removes POSIX capabilities from running containers. */ +export interface Capabilities { + add?: string[]; + drop?: string[]; +} +/* io.k8s.api.core.v1.CephFSPersistentVolumeSource */ +/* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */ +export interface CephFSPersistentVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: SecretReference; + user?: string; +} +/* io.k8s.api.core.v1.CephFSVolumeSource */ +/* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */ +export interface CephFSVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: LocalObjectReference; + user?: string; +} +/* io.k8s.api.core.v1.CinderPersistentVolumeSource */ +/* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */ +export interface CinderPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: SecretReference; + volumeID: string; +} +/* io.k8s.api.core.v1.CinderVolumeSource */ +/* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */ +export interface CinderVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeID: string; +} +/* io.k8s.api.core.v1.ClientIPConfig */ +/* ClientIPConfig represents the configurations of Client IP based session affinity. */ +export interface ClientIPConfig { + timeoutSeconds?: number; +} +/* io.k8s.api.core.v1.ClusterTrustBundleProjection */ +/* ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem. */ +export interface ClusterTrustBundleProjection { + labelSelector?: LabelSelector; + name?: string; + optional?: boolean; + path: string; + signerName?: string; +} +/* io.k8s.api.core.v1.ComponentCondition */ +/* Information about the condition of a component. */ +export interface ComponentCondition { + error?: string; + message?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.ComponentStatus */ +/* ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+ */ +export interface ComponentStatus { + apiVersion?: string; + conditions?: ComponentCondition[]; + kind?: string; + metadata?: ObjectMeta; +} +/* io.k8s.api.core.v1.ComponentStatusList */ +/* Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+ */ +export interface ComponentStatusList { + apiVersion?: string; + items: ComponentStatus[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ConfigMap */ +/* ConfigMap holds configuration data for pods to consume. */ +export interface ConfigMap { + apiVersion?: string; + binaryData?: { + [key: string]: unknown; + }; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; +} +/* io.k8s.api.core.v1.ConfigMapEnvSource */ +/* ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. + +The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. */ +export interface ConfigMapEnvSource { + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.ConfigMapKeySelector */ +/* Selects a key from a ConfigMap. */ +export interface ConfigMapKeySelector { + key: string; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.ConfigMapList */ +/* ConfigMapList is a resource containing a list of ConfigMap objects. */ +export interface ConfigMapList { + apiVersion?: string; + items: ConfigMap[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ConfigMapNodeConfigSource */ +/* ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration */ +export interface ConfigMapNodeConfigSource { + kubeletConfigKey: string; + name: string; + namespace: string; + resourceVersion?: string; + uid?: string; +} +/* io.k8s.api.core.v1.ConfigMapProjection */ +/* Adapts a ConfigMap into a projected volume. + +The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. */ +export interface ConfigMapProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.ConfigMapVolumeSource */ +/* Adapts a ConfigMap into a volume. + +The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. */ +export interface ConfigMapVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.Container */ +/* A single application container that you want to run within a pod. */ +export interface Container { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +/* io.k8s.api.core.v1.ContainerImage */ +/* Describe a container image */ +export interface ContainerImage { + names?: string[]; + sizeBytes?: number; +} +/* io.k8s.api.core.v1.ContainerPort */ +/* ContainerPort represents a network port in a single container. */ +export interface ContainerPort { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.core.v1.ContainerResizePolicy */ +/* ContainerResizePolicy represents resource resize policy for the container. */ +export interface ContainerResizePolicy { + resourceName: string; + restartPolicy: string; +} +/* io.k8s.api.core.v1.ContainerState */ +/* 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. */ +export interface ContainerState { + running?: ContainerStateRunning; + terminated?: ContainerStateTerminated; + waiting?: ContainerStateWaiting; +} +/* io.k8s.api.core.v1.ContainerStateRunning */ +/* ContainerStateRunning is a running state of a container. */ +export interface ContainerStateRunning { + startedAt?: Time; +} +/* io.k8s.api.core.v1.ContainerStateTerminated */ +/* ContainerStateTerminated is a terminated state of a container. */ +export interface ContainerStateTerminated { + containerID?: string; + exitCode: number; + finishedAt?: Time; + message?: string; + reason?: string; + signal?: number; + startedAt?: Time; +} +/* io.k8s.api.core.v1.ContainerStateWaiting */ +/* ContainerStateWaiting is a waiting state of a container. */ +export interface ContainerStateWaiting { + message?: string; + reason?: string; +} +/* io.k8s.api.core.v1.ContainerStatus */ +/* ContainerStatus contains details for the current status of this container. */ +export interface ContainerStatus { + allocatedResources?: { + [key: string]: unknown; + }; + allocatedResourcesStatus?: ResourceStatus[]; + containerID?: string; + image: string; + imageID: string; + lastState?: ContainerState; + name: string; + ready: boolean; + resources?: ResourceRequirements; + restartCount: number; + started?: boolean; + state?: ContainerState; + user?: ContainerUser; + volumeMounts?: VolumeMountStatus[]; +} +/* io.k8s.api.core.v1.ContainerUser */ +/* ContainerUser represents user identity information */ +export interface ContainerUser { + linux?: LinuxContainerUser; +} +/* io.k8s.api.core.v1.DaemonEndpoint */ +/* DaemonEndpoint contains information about a single Daemon endpoint. */ +export interface DaemonEndpoint { + Port: number; +} +/* io.k8s.api.core.v1.DownwardAPIProjection */ +/* Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. */ +export interface DownwardAPIProjection { + items?: DownwardAPIVolumeFile[]; +} +/* io.k8s.api.core.v1.DownwardAPIVolumeFile */ +/* DownwardAPIVolumeFile represents information to create the file containing the pod field */ +export interface DownwardAPIVolumeFile { + fieldRef?: ObjectFieldSelector; + mode?: number; + path: string; + resourceFieldRef?: ResourceFieldSelector; +} +/* io.k8s.api.core.v1.DownwardAPIVolumeSource */ +/* DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. */ +export interface DownwardAPIVolumeSource { + defaultMode?: number; + items?: DownwardAPIVolumeFile[]; +} +/* io.k8s.api.core.v1.EmptyDirVolumeSource */ +/* Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. */ +export interface EmptyDirVolumeSource { + medium?: string; + sizeLimit?: Quantity; +} +/* io.k8s.api.core.v1.EndpointAddress */ +/* EndpointAddress is a tuple that describes single IP address. */ +export interface EndpointAddress { + hostname?: string; + ip: string; + nodeName?: string; + targetRef?: ObjectReference; +} +/* io.k8s.api.core.v1.EndpointPort */ +/* EndpointPort is a tuple that describes a single port. */ +export interface EndpointPort { + appProtocol?: string; + name?: string; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.core.v1.EndpointSubset */ +/* EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: + + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + } + +The resulting set of endpoints can be viewed as: + + a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], + b: [ 10.10.1.1:309, 10.10.2.2:309 ] */ +export interface EndpointSubset { + addresses?: EndpointAddress[]; + notReadyAddresses?: EndpointAddress[]; + ports?: EndpointPort[]; +} +/* io.k8s.api.core.v1.Endpoints */ +/* Endpoints is a collection of endpoints that implement the actual service. Example: + + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ] */ +export interface Endpoints { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + subsets?: EndpointSubset[]; +} +/* io.k8s.api.core.v1.EndpointsList */ +/* EndpointsList is a list of endpoints. */ +export interface EndpointsList { + apiVersion?: string; + items: Endpoints[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.EnvFromSource */ +/* EnvFromSource represents the source of a set of ConfigMaps */ +export interface EnvFromSource { + configMapRef?: ConfigMapEnvSource; + prefix?: string; + secretRef?: SecretEnvSource; +} +/* io.k8s.api.core.v1.EnvVar */ +/* EnvVar represents an environment variable present in a Container. */ +export interface EnvVar { + name: string; + value?: string; + valueFrom?: EnvVarSource; +} +/* io.k8s.api.core.v1.EnvVarSource */ +/* EnvVarSource represents a source for the value of an EnvVar. */ +export interface EnvVarSource { + configMapKeyRef?: ConfigMapKeySelector; + fieldRef?: ObjectFieldSelector; + resourceFieldRef?: ResourceFieldSelector; + secretKeyRef?: SecretKeySelector; +} +/* io.k8s.api.core.v1.EphemeralContainer */ +/* An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. + +To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. */ +export interface EphemeralContainer { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +/* io.k8s.api.core.v1.EphemeralVolumeSource */ +/* Represents an ephemeral volume that is handled by a normal storage driver. */ +export interface EphemeralVolumeSource { + volumeClaimTemplate?: PersistentVolumeClaimTemplate; +} +/* io.k8s.api.core.v1.Event */ +/* Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. */ +export interface Event { + action?: string; + apiVersion?: string; + count?: number; + eventTime?: MicroTime; + firstTimestamp?: Time; + involvedObject: ObjectReference; + kind?: string; + lastTimestamp?: Time; + message?: string; + metadata: ObjectMeta; + reason?: string; + related?: ObjectReference; + reportingComponent?: string; + reportingInstance?: string; + series?: EventSeries; + source?: EventSource; + type?: string; +} +/* io.k8s.api.core.v1.EventList */ +/* EventList is a list of events. */ +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.EventSeries */ +/* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. */ +export interface EventSeries { + count?: number; + lastObservedTime?: MicroTime; +} +/* io.k8s.api.core.v1.EventSource */ +/* EventSource contains information for an event. */ +export interface EventSource { + component?: string; + host?: string; +} +/* io.k8s.api.core.v1.ExecAction */ +/* ExecAction describes a "run in container" action. */ +export interface ExecAction { + command?: string[]; +} +/* io.k8s.api.core.v1.FCVolumeSource */ +/* Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. */ +export interface FCVolumeSource { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; +} +/* io.k8s.api.core.v1.FlexPersistentVolumeSource */ +/* FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. */ +export interface FlexPersistentVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: SecretReference; +} +/* io.k8s.api.core.v1.FlexVolumeSource */ +/* FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. */ +export interface FlexVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: LocalObjectReference; +} +/* io.k8s.api.core.v1.FlockerVolumeSource */ +/* Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. */ +export interface FlockerVolumeSource { + datasetName?: string; + datasetUUID?: string; +} +/* io.k8s.api.core.v1.GCEPersistentDiskVolumeSource */ +/* Represents a Persistent Disk resource in Google Compute Engine. + +A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. */ +export interface GCEPersistentDiskVolumeSource { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.GRPCAction */ +/* GRPCAction specifies an action involving a GRPC service. */ +export interface GRPCAction { + port: number; + service?: string; +} +/* io.k8s.api.core.v1.GitRepoVolumeSource */ +/* Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. + +DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. */ +export interface GitRepoVolumeSource { + directory?: string; + repository: string; + revision?: string; +} +/* io.k8s.api.core.v1.GlusterfsPersistentVolumeSource */ +/* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */ +export interface GlusterfsPersistentVolumeSource { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.GlusterfsVolumeSource */ +/* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */ +export interface GlusterfsVolumeSource { + endpoints: string; + path: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.HTTPGetAction */ +/* HTTPGetAction describes an action based on HTTP Get requests. */ +export interface HTTPGetAction { + host?: string; + httpHeaders?: HTTPHeader[]; + path?: string; + port: IntOrString; + scheme?: "HTTP" | "HTTPS"; +} +/* io.k8s.api.core.v1.HTTPHeader */ +/* HTTPHeader describes a custom header to be used in HTTP probes */ +export interface HTTPHeader { + name: string; + value: string; +} +/* io.k8s.api.core.v1.HostAlias */ +/* HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. */ +export interface HostAlias { + hostnames?: string[]; + ip: string; +} +/* io.k8s.api.core.v1.HostIP */ +/* HostIP represents a single IP address allocated to the host. */ +export interface HostIP { + ip: string; +} +/* io.k8s.api.core.v1.HostPathVolumeSource */ +/* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. */ +export interface HostPathVolumeSource { + path: string; + type?: "" | "BlockDevice" | "CharDevice" | "Directory" | "DirectoryOrCreate" | "File" | "FileOrCreate" | "Socket"; +} +/* io.k8s.api.core.v1.ISCSIPersistentVolumeSource */ +/* ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */ +export interface ISCSIPersistentVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: SecretReference; + targetPortal: string; +} +/* io.k8s.api.core.v1.ISCSIVolumeSource */ +/* Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */ +export interface ISCSIVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: LocalObjectReference; + targetPortal: string; +} +/* io.k8s.api.core.v1.ImageVolumeSource */ +/* ImageVolumeSource represents a image volume resource. */ +export interface ImageVolumeSource { + pullPolicy?: "Always" | "IfNotPresent" | "Never"; + reference?: string; +} +/* io.k8s.api.core.v1.KeyToPath */ +/* Maps a string key to a path within a volume. */ +export interface KeyToPath { + key: string; + mode?: number; + path: string; +} +/* io.k8s.api.core.v1.Lifecycle */ +/* Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */ +export interface Lifecycle { + postStart?: LifecycleHandler; + preStop?: LifecycleHandler; +} +/* io.k8s.api.core.v1.LifecycleHandler */ +/* LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. */ +export interface LifecycleHandler { + exec?: ExecAction; + httpGet?: HTTPGetAction; + sleep?: SleepAction; + tcpSocket?: TCPSocketAction; +} +/* io.k8s.api.core.v1.LimitRange */ +/* LimitRange sets resource usage limits for each kind of resource in a Namespace. */ +export interface LimitRange { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LimitRangeSpec; +} +/* io.k8s.api.core.v1.LimitRangeItem */ +/* LimitRangeItem defines a min/max usage limit for any resource that matches on kind. */ +export interface LimitRangeItem { + default?: { + [key: string]: unknown; + }; + defaultRequest?: { + [key: string]: unknown; + }; + max?: { + [key: string]: unknown; + }; + maxLimitRequestRatio?: { + [key: string]: unknown; + }; + min?: { + [key: string]: unknown; + }; + type: string; +} +/* io.k8s.api.core.v1.LimitRangeList */ +/* LimitRangeList is a list of LimitRange items. */ +export interface LimitRangeList { + apiVersion?: string; + items: LimitRange[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.LimitRangeSpec */ +/* LimitRangeSpec defines a min/max usage limit for resources that match on kind. */ +export interface LimitRangeSpec { + limits: LimitRangeItem[]; +} +/* io.k8s.api.core.v1.LinuxContainerUser */ +/* LinuxContainerUser represents user identity information in Linux containers */ +export interface LinuxContainerUser { + gid: number; + supplementalGroups?: number[]; + uid: number; +} +/* io.k8s.api.core.v1.LoadBalancerIngress */ +/* LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. */ +export interface LoadBalancerIngress { + hostname?: string; + ip?: string; + ipMode?: string; + ports?: PortStatus[]; +} +/* io.k8s.api.core.v1.LoadBalancerStatus */ +/* LoadBalancerStatus represents the status of a load-balancer. */ +export interface LoadBalancerStatus { + ingress?: LoadBalancerIngress[]; +} +/* io.k8s.api.core.v1.LocalObjectReference */ +/* LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */ +export interface LocalObjectReference { + name?: string; +} +/* io.k8s.api.core.v1.LocalVolumeSource */ +/* Local represents directly-attached storage with node affinity */ +export interface LocalVolumeSource { + fsType?: string; + path: string; +} +/* io.k8s.api.core.v1.ModifyVolumeStatus */ +/* ModifyVolumeStatus represents the status object of ControllerModifyVolume operation */ +export interface ModifyVolumeStatus { + status: "InProgress" | "Infeasible" | "Pending"; + targetVolumeAttributesClassName?: string; +} +/* io.k8s.api.core.v1.NFSVolumeSource */ +/* Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. */ +export interface NFSVolumeSource { + path: string; + readOnly?: boolean; + server: string; +} +/* io.k8s.api.core.v1.Namespace */ +/* Namespace provides a scope for Names. Use of multiple namespaces is optional. */ +export interface Namespace { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NamespaceSpec; + status?: NamespaceStatus; +} +/* io.k8s.api.core.v1.NamespaceCondition */ +/* NamespaceCondition contains details about state of namespace. */ +export interface NamespaceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.NamespaceList */ +/* NamespaceList is a list of Namespaces. */ +export interface NamespaceList { + apiVersion?: string; + items: Namespace[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.NamespaceSpec */ +/* NamespaceSpec describes the attributes on a Namespace. */ +export interface NamespaceSpec { + finalizers?: string[]; +} +/* io.k8s.api.core.v1.NamespaceStatus */ +/* NamespaceStatus is information about the current status of a Namespace. */ +export interface NamespaceStatus { + conditions?: NamespaceCondition[]; + phase?: "Active" | "Terminating"; +} +/* io.k8s.api.core.v1.Node */ +/* Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). */ +export interface Node { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NodeSpec; + status?: NodeStatus; +} +/* io.k8s.api.core.v1.NodeAddress */ +/* NodeAddress contains information for the node's address. */ +export interface NodeAddress { + address: string; + type: string; +} +/* io.k8s.api.core.v1.NodeAffinity */ +/* Node affinity is a group of node affinity scheduling rules. */ +export interface NodeAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: PreferredSchedulingTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: NodeSelector; +} +/* io.k8s.api.core.v1.NodeCondition */ +/* NodeCondition contains condition information for a node. */ +export interface NodeCondition { + lastHeartbeatTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.NodeConfigSource */ +/* NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22 */ +export interface NodeConfigSource { + configMap?: ConfigMapNodeConfigSource; +} +/* io.k8s.api.core.v1.NodeConfigStatus */ +/* NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. */ +export interface NodeConfigStatus { + active?: NodeConfigSource; + assigned?: NodeConfigSource; + error?: string; + lastKnownGood?: NodeConfigSource; +} +/* io.k8s.api.core.v1.NodeDaemonEndpoints */ +/* NodeDaemonEndpoints lists ports opened by daemons running on the Node. */ +export interface NodeDaemonEndpoints { + kubeletEndpoint?: DaemonEndpoint; +} +/* io.k8s.api.core.v1.NodeFeatures */ +/* NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers. */ +export interface NodeFeatures { + supplementalGroupsPolicy?: boolean; +} +/* io.k8s.api.core.v1.NodeList */ +/* NodeList is the whole list of all Nodes which have been registered with master. */ +export interface NodeList { + apiVersion?: string; + items: Node[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.NodeRuntimeHandler */ +/* NodeRuntimeHandler is a set of runtime handler information. */ +export interface NodeRuntimeHandler { + features?: NodeRuntimeHandlerFeatures; + name?: string; +} +/* io.k8s.api.core.v1.NodeRuntimeHandlerFeatures */ +/* NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler. */ +export interface NodeRuntimeHandlerFeatures { + recursiveReadOnlyMounts?: boolean; + userNamespaces?: boolean; +} +/* io.k8s.api.core.v1.NodeSelector */ +/* A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. */ +export interface NodeSelector { + nodeSelectorTerms: NodeSelectorTerm[]; +} +/* io.k8s.api.core.v1.NodeSelectorRequirement */ +/* A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */ +export interface NodeSelectorRequirement { + key: string; + operator: "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn"; + values?: string[]; +} +/* io.k8s.api.core.v1.NodeSelectorTerm */ +/* A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. */ +export interface NodeSelectorTerm { + matchExpressions?: NodeSelectorRequirement[]; + matchFields?: NodeSelectorRequirement[]; +} +/* io.k8s.api.core.v1.NodeSpec */ +/* NodeSpec describes the attributes that a node is created with. */ +export interface NodeSpec { + configSource?: NodeConfigSource; + externalID?: string; + podCIDR?: string; + podCIDRs?: string[]; + providerID?: string; + taints?: Taint[]; + unschedulable?: boolean; +} +/* io.k8s.api.core.v1.NodeStatus */ +/* NodeStatus is information about the current status of a node. */ +export interface NodeStatus { + addresses?: NodeAddress[]; + allocatable?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: NodeCondition[]; + config?: NodeConfigStatus; + daemonEndpoints?: NodeDaemonEndpoints; + features?: NodeFeatures; + images?: ContainerImage[]; + nodeInfo?: NodeSystemInfo; + phase?: "Pending" | "Running" | "Terminated"; + runtimeHandlers?: NodeRuntimeHandler[]; + volumesAttached?: AttachedVolume[]; + volumesInUse?: string[]; +} +/* io.k8s.api.core.v1.NodeSystemInfo */ +/* NodeSystemInfo is a set of ids/uuids to uniquely identify the node. */ +export interface NodeSystemInfo { + architecture: string; + bootID: string; + containerRuntimeVersion: string; + kernelVersion: string; + kubeProxyVersion: string; + kubeletVersion: string; + machineID: string; + operatingSystem: string; + osImage: string; + systemUUID: string; +} +/* io.k8s.api.core.v1.ObjectFieldSelector */ +/* ObjectFieldSelector selects an APIVersioned field of an object. */ +export interface ObjectFieldSelector { + apiVersion?: string; + fieldPath: string; +} +/* io.k8s.api.core.v1.ObjectReference */ +/* ObjectReference contains enough information to let you inspect or modify the referred object. */ +export interface ObjectReference { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; +} +/* io.k8s.api.core.v1.PersistentVolume */ +/* PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes */ +export interface PersistentVolume { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeSpec; + status?: PersistentVolumeStatus; +} +/* io.k8s.api.core.v1.PersistentVolumeClaim */ +/* PersistentVolumeClaim is a user's request for and claim to a persistent volume */ +export interface PersistentVolumeClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeClaimSpec; + status?: PersistentVolumeClaimStatus; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimCondition */ +/* PersistentVolumeClaimCondition contains details about state of pvc */ +export interface PersistentVolumeClaimCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimList */ +/* PersistentVolumeClaimList is a list of PersistentVolumeClaim items. */ +export interface PersistentVolumeClaimList { + apiVersion?: string; + items: PersistentVolumeClaim[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimSpec */ +/* PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes */ +export interface PersistentVolumeClaimSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + dataSource?: TypedLocalObjectReference; + dataSourceRef?: TypedObjectReference; + resources?: VolumeResourceRequirements; + selector?: LabelSelector; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + volumeName?: string; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimStatus */ +/* PersistentVolumeClaimStatus is the current status of a persistent volume claim. */ +export interface PersistentVolumeClaimStatus { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: PersistentVolumeClaimCondition[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: ModifyVolumeStatus; + phase?: "Bound" | "Lost" | "Pending"; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimTemplate */ +/* PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. */ +export interface PersistentVolumeClaimTemplate { + metadata?: ObjectMeta; + spec: PersistentVolumeClaimSpec; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource */ +/* PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). */ +export interface PersistentVolumeClaimVolumeSource { + claimName: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.PersistentVolumeList */ +/* PersistentVolumeList is a list of PersistentVolume items. */ +export interface PersistentVolumeList { + apiVersion?: string; + items: PersistentVolume[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PersistentVolumeSpec */ +/* PersistentVolumeSpec is the specification of a persistent volume. */ +export interface PersistentVolumeSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFilePersistentVolumeSource; + capacity?: { + [key: string]: unknown; + }; + cephfs?: CephFSPersistentVolumeSource; + cinder?: CinderPersistentVolumeSource; + claimRef?: ObjectReference; + csi?: CSIPersistentVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexPersistentVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + glusterfs?: GlusterfsPersistentVolumeSource; + hostPath?: HostPathVolumeSource; + iscsi?: ISCSIPersistentVolumeSource; + local?: LocalVolumeSource; + mountOptions?: string[]; + nfs?: NFSVolumeSource; + nodeAffinity?: VolumeNodeAffinity; + persistentVolumeReclaimPolicy?: "Delete" | "Recycle" | "Retain"; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDPersistentVolumeSource; + scaleIO?: ScaleIOPersistentVolumeSource; + storageClassName?: string; + storageos?: StorageOSPersistentVolumeSource; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +/* io.k8s.api.core.v1.PersistentVolumeStatus */ +/* PersistentVolumeStatus is the current status of a persistent volume. */ +export interface PersistentVolumeStatus { + lastPhaseTransitionTime?: Time; + message?: string; + phase?: "Available" | "Bound" | "Failed" | "Pending" | "Released"; + reason?: string; +} +/* io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource */ +/* Represents a Photon Controller persistent disk resource. */ +export interface PhotonPersistentDiskVolumeSource { + fsType?: string; + pdID: string; +} +/* io.k8s.api.core.v1.Pod */ +/* Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. */ +export interface Pod { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodSpec; + status?: PodStatus; +} +/* io.k8s.api.core.v1.PodAffinity */ +/* Pod affinity is a group of inter pod affinity scheduling rules. */ +export interface PodAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +/* io.k8s.api.core.v1.PodAffinityTerm */ +/* Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running */ +export interface PodAffinityTerm { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: LabelSelector; + namespaces?: string[]; + topologyKey: string; +} +/* io.k8s.api.core.v1.PodAntiAffinity */ +/* Pod anti affinity is a group of inter pod anti affinity scheduling rules. */ +export interface PodAntiAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +/* io.k8s.api.core.v1.PodCondition */ +/* PodCondition contains details for the current condition of this pod. */ +export interface PodCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.PodDNSConfig */ +/* PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. */ +export interface PodDNSConfig { + nameservers?: string[]; + options?: PodDNSConfigOption[]; + searches?: string[]; +} +/* io.k8s.api.core.v1.PodDNSConfigOption */ +/* PodDNSConfigOption defines DNS resolver options of a pod. */ +export interface PodDNSConfigOption { + name?: string; + value?: string; +} +/* io.k8s.api.core.v1.PodIP */ +/* PodIP represents a single IP address allocated to the pod. */ +export interface PodIP { + ip: string; +} +/* io.k8s.api.core.v1.PodList */ +/* PodList is a list of Pods. */ +export interface PodList { + apiVersion?: string; + items: Pod[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PodOS */ +/* PodOS defines the OS parameters of a pod. */ +export interface PodOS { + name: string; +} +/* io.k8s.api.core.v1.PodReadinessGate */ +/* PodReadinessGate contains the reference to a pod condition */ +export interface PodReadinessGate { + conditionType: string; +} +/* io.k8s.api.core.v1.PodResourceClaim */ +/* PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. + +It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. */ +export interface PodResourceClaim { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; +} +/* io.k8s.api.core.v1.PodResourceClaimStatus */ +/* PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim. */ +export interface PodResourceClaimStatus { + name: string; + resourceClaimName?: string; +} +/* io.k8s.api.core.v1.PodSchedulingGate */ +/* PodSchedulingGate is associated to a Pod to guard its scheduling. */ +export interface PodSchedulingGate { + name: string; +} +/* io.k8s.api.core.v1.PodSecurityContext */ +/* PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. */ +export interface PodSecurityContext { + appArmorProfile?: AppArmorProfile; + fsGroup?: number; + fsGroupChangePolicy?: "Always" | "OnRootMismatch"; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: "Merge" | "Strict"; + sysctls?: Sysctl[]; + windowsOptions?: WindowsSecurityContextOptions; +} +/* io.k8s.api.core.v1.PodSpec */ +/* PodSpec is a description of a pod. */ +export interface PodSpec { + activeDeadlineSeconds?: number; + affinity?: Affinity; + automountServiceAccountToken?: boolean; + containers: Container[]; + dnsConfig?: PodDNSConfig; + dnsPolicy?: "ClusterFirst" | "ClusterFirstWithHostNet" | "Default" | "None"; + enableServiceLinks?: boolean; + ephemeralContainers?: EphemeralContainer[]; + hostAliases?: HostAlias[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: LocalObjectReference[]; + initContainers?: Container[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: PodOS; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + priority?: number; + priorityClassName?: string; + readinessGates?: PodReadinessGate[]; + resourceClaims?: PodResourceClaim[]; + resources?: ResourceRequirements; + restartPolicy?: "Always" | "Never" | "OnFailure"; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: PodSchedulingGate[]; + securityContext?: PodSecurityContext; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: Toleration[]; + topologySpreadConstraints?: TopologySpreadConstraint[]; + volumes?: Volume[]; +} +/* io.k8s.api.core.v1.PodStatus */ +/* PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. */ +export interface PodStatus { + conditions?: PodCondition[]; + containerStatuses?: ContainerStatus[]; + ephemeralContainerStatuses?: ContainerStatus[]; + hostIP?: string; + hostIPs?: HostIP[]; + initContainerStatuses?: ContainerStatus[]; + message?: string; + nominatedNodeName?: string; + phase?: "Failed" | "Pending" | "Running" | "Succeeded" | "Unknown"; + podIP?: string; + podIPs?: PodIP[]; + qosClass?: "BestEffort" | "Burstable" | "Guaranteed"; + reason?: string; + resize?: string; + resourceClaimStatuses?: PodResourceClaimStatus[]; + startTime?: Time; +} +/* io.k8s.api.core.v1.PodTemplate */ +/* PodTemplate describes a template for creating copies of a predefined pod. */ +export interface PodTemplate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + template?: PodTemplateSpec; +} +/* io.k8s.api.core.v1.PodTemplateList */ +/* PodTemplateList is a list of PodTemplates. */ +export interface PodTemplateList { + apiVersion?: string; + items: PodTemplate[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PodTemplateSpec */ +/* PodTemplateSpec describes the data a pod should have when created from a template */ +export interface PodTemplateSpec { + metadata?: ObjectMeta; + spec?: PodSpec; +} +/* io.k8s.api.core.v1.PortStatus */ +/* PortStatus represents the error condition of a service port */ +export interface PortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.core.v1.PortworxVolumeSource */ +/* PortworxVolumeSource represents a Portworx volume resource. */ +export interface PortworxVolumeSource { + fsType?: string; + readOnly?: boolean; + volumeID: string; +} +/* io.k8s.api.core.v1.PreferredSchedulingTerm */ +/* An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). */ +export interface PreferredSchedulingTerm { + preference: NodeSelectorTerm; + weight: number; +} +/* io.k8s.api.core.v1.Probe */ +/* Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */ +export interface Probe { + exec?: ExecAction; + failureThreshold?: number; + grpc?: GRPCAction; + httpGet?: HTTPGetAction; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: TCPSocketAction; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; +} +/* io.k8s.api.core.v1.ProjectedVolumeSource */ +/* Represents a projected volume source */ +export interface ProjectedVolumeSource { + defaultMode?: number; + sources?: VolumeProjection[]; +} +/* io.k8s.api.core.v1.QuobyteVolumeSource */ +/* Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. */ +export interface QuobyteVolumeSource { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; +} +/* io.k8s.api.core.v1.RBDPersistentVolumeSource */ +/* Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. */ +export interface RBDPersistentVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: SecretReference; + user?: string; +} +/* io.k8s.api.core.v1.RBDVolumeSource */ +/* Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. */ +export interface RBDVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + user?: string; +} +/* io.k8s.api.core.v1.ReplicationController */ +/* ReplicationController represents the configuration of a replication controller. */ +export interface ReplicationController { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicationControllerSpec; + status?: ReplicationControllerStatus; +} +/* io.k8s.api.core.v1.ReplicationControllerCondition */ +/* ReplicationControllerCondition describes the state of a replication controller at a certain point. */ +export interface ReplicationControllerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.ReplicationControllerList */ +/* ReplicationControllerList is a collection of replication controllers. */ +export interface ReplicationControllerList { + apiVersion?: string; + items: ReplicationController[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ReplicationControllerSpec */ +/* ReplicationControllerSpec is the specification of a replication controller. */ +export interface ReplicationControllerSpec { + minReadySeconds?: number; + replicas?: number; + selector?: { + [key: string]: unknown; + }; + template?: PodTemplateSpec; +} +/* io.k8s.api.core.v1.ReplicationControllerStatus */ +/* ReplicationControllerStatus represents the current status of a replication controller. */ +export interface ReplicationControllerStatus { + availableReplicas?: number; + conditions?: ReplicationControllerCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +/* io.k8s.api.core.v1.ResourceClaim */ +/* ResourceClaim references one entry in PodSpec.ResourceClaims. */ +export interface ResourceClaim { + name: string; + request?: string; +} +/* io.k8s.api.core.v1.ResourceFieldSelector */ +/* ResourceFieldSelector represents container resources (cpu, memory) and their output format */ +export interface ResourceFieldSelector { + containerName?: string; + divisor?: Quantity; + resource: string; +} +/* io.k8s.api.core.v1.ResourceHealth */ +/* ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680. */ +export interface ResourceHealth { + health?: string; + resourceID: string; +} +/* io.k8s.api.core.v1.ResourceQuota */ +/* ResourceQuota sets aggregate quota restrictions enforced per namespace */ +export interface ResourceQuota { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ResourceQuotaSpec; + status?: ResourceQuotaStatus; +} +/* io.k8s.api.core.v1.ResourceQuotaList */ +/* ResourceQuotaList is a list of ResourceQuota items. */ +export interface ResourceQuotaList { + apiVersion?: string; + items: ResourceQuota[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ResourceQuotaSpec */ +/* ResourceQuotaSpec defines the desired hard limits to enforce for Quota. */ +export interface ResourceQuotaSpec { + hard?: { + [key: string]: unknown; + }; + scopeSelector?: ScopeSelector; + scopes?: ("BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating")[]; +} +/* io.k8s.api.core.v1.ResourceQuotaStatus */ +/* ResourceQuotaStatus defines the enforced hard limits and observed use. */ +export interface ResourceQuotaStatus { + hard?: { + [key: string]: unknown; + }; + used?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.ResourceRequirements */ +/* ResourceRequirements describes the compute resource requirements. */ +export interface ResourceRequirements { + claims?: ResourceClaim[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.ResourceStatus */ +/* ResourceStatus represents the status of a single resource allocated to a Pod. */ +export interface ResourceStatus { + name: string; + resources?: ResourceHealth[]; +} +/* io.k8s.api.core.v1.SELinuxOptions */ +/* SELinuxOptions are the labels to be applied to the container */ +export interface SELinuxOptions { + level?: string; + role?: string; + type?: string; + user?: string; +} +/* io.k8s.api.core.v1.ScaleIOPersistentVolumeSource */ +/* ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume */ +export interface ScaleIOPersistentVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: SecretReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +/* io.k8s.api.core.v1.ScaleIOVolumeSource */ +/* ScaleIOVolumeSource represents a persistent ScaleIO volume */ +export interface ScaleIOVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: LocalObjectReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +/* io.k8s.api.core.v1.ScopeSelector */ +/* A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. */ +export interface ScopeSelector { + matchExpressions?: ScopedResourceSelectorRequirement[]; +} +/* io.k8s.api.core.v1.ScopedResourceSelectorRequirement */ +/* A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. */ +export interface ScopedResourceSelectorRequirement { + operator: "DoesNotExist" | "Exists" | "In" | "NotIn"; + scopeName: "BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating"; + values?: string[]; +} +/* io.k8s.api.core.v1.SeccompProfile */ +/* SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. */ +export interface SeccompProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +/* io.k8s.api.core.v1.Secret */ +/* Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. */ +export interface Secret { + apiVersion?: string; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; + stringData?: { + [key: string]: unknown; + }; + type?: string; +} +/* io.k8s.api.core.v1.SecretEnvSource */ +/* SecretEnvSource selects a Secret to populate the environment variables with. + +The contents of the target Secret's Data field will represent the key-value pairs as environment variables. */ +export interface SecretEnvSource { + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.SecretKeySelector */ +/* SecretKeySelector selects a key of a Secret. */ +export interface SecretKeySelector { + key: string; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.SecretList */ +/* SecretList is a list of Secret. */ +export interface SecretList { + apiVersion?: string; + items: Secret[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.SecretProjection */ +/* Adapts a secret into a projected volume. + +The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. */ +export interface SecretProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.SecretReference */ +/* SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace */ +export interface SecretReference { + name?: string; + namespace?: string; +} +/* io.k8s.api.core.v1.SecretVolumeSource */ +/* Adapts a Secret into a volume. + +The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. */ +export interface SecretVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + optional?: boolean; + secretName?: string; +} +/* io.k8s.api.core.v1.SecurityContext */ +/* SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */ +export interface SecurityContext { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: AppArmorProfile; + capabilities?: Capabilities; + privileged?: boolean; + procMount?: "Default" | "Unmasked"; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + windowsOptions?: WindowsSecurityContextOptions; +} +/* io.k8s.api.core.v1.Service */ +/* Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. */ +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ServiceSpec; + status?: ServiceStatus; +} +/* io.k8s.api.core.v1.ServiceAccount */ +/* ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets */ +export interface ServiceAccount { + apiVersion?: string; + automountServiceAccountToken?: boolean; + imagePullSecrets?: LocalObjectReference[]; + kind?: string; + metadata?: ObjectMeta; + secrets?: ObjectReference[]; +} +/* io.k8s.api.core.v1.ServiceAccountList */ +/* ServiceAccountList is a list of ServiceAccount objects */ +export interface ServiceAccountList { + apiVersion?: string; + items: ServiceAccount[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ServiceAccountTokenProjection */ +/* ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). */ +export interface ServiceAccountTokenProjection { + audience?: string; + expirationSeconds?: number; + path: string; +} +/* io.k8s.api.core.v1.ServiceList */ +/* ServiceList holds a list of services. */ +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ServicePort */ +/* ServicePort contains information on service's port. */ +export interface ServicePort { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; + targetPort?: IntOrString; +} +/* io.k8s.api.core.v1.ServiceSpec */ +/* ServiceSpec describes the attributes that a user creates on a service. */ +export interface ServiceSpec { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: "Cluster" | "Local"; + healthCheckNodePort?: number; + internalTrafficPolicy?: "Cluster" | "Local"; + ipFamilies?: ("" | "IPv4" | "IPv6")[]; + ipFamilyPolicy?: "PreferDualStack" | "RequireDualStack" | "SingleStack"; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: ServicePort[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: "ClientIP" | "None"; + sessionAffinityConfig?: SessionAffinityConfig; + trafficDistribution?: string; + type?: "ClusterIP" | "ExternalName" | "LoadBalancer" | "NodePort"; +} +/* io.k8s.api.core.v1.ServiceStatus */ +/* ServiceStatus represents the current status of a service. */ +export interface ServiceStatus { + conditions?: Condition[]; + loadBalancer?: LoadBalancerStatus; +} +/* io.k8s.api.core.v1.SessionAffinityConfig */ +/* SessionAffinityConfig represents the configurations of session affinity. */ +export interface SessionAffinityConfig { + clientIP?: ClientIPConfig; +} +/* io.k8s.api.core.v1.SleepAction */ +/* SleepAction describes a "sleep" action. */ +export interface SleepAction { + seconds: number; +} +/* io.k8s.api.core.v1.StorageOSPersistentVolumeSource */ +/* Represents a StorageOS persistent volume resource. */ +export interface StorageOSPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: ObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +/* io.k8s.api.core.v1.StorageOSVolumeSource */ +/* Represents a StorageOS persistent volume resource. */ +export interface StorageOSVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +/* io.k8s.api.core.v1.Sysctl */ +/* Sysctl defines a kernel parameter to be set */ +export interface Sysctl { + name: string; + value: string; +} +/* io.k8s.api.core.v1.TCPSocketAction */ +/* TCPSocketAction describes an action based on opening a socket */ +export interface TCPSocketAction { + host?: string; + port: IntOrString; +} +/* io.k8s.api.core.v1.Taint */ +/* The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint. */ +export interface Taint { + effect: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key: string; + timeAdded?: Time; + value?: string; +} +/* io.k8s.api.core.v1.Toleration */ +/* The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . */ +export interface Toleration { + effect?: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key?: string; + operator?: "Equal" | "Exists"; + tolerationSeconds?: number; + value?: string; +} +/* io.k8s.api.core.v1.TopologySelectorLabelRequirement */ +/* A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. */ +export interface TopologySelectorLabelRequirement { + key: string; + values: string[]; +} +/* io.k8s.api.core.v1.TopologySelectorTerm */ +/* A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. */ +export interface TopologySelectorTerm { + matchLabelExpressions?: TopologySelectorLabelRequirement[]; +} +/* io.k8s.api.core.v1.TopologySpreadConstraint */ +/* TopologySpreadConstraint specifies how to spread matching pods among the given topology. */ +export interface TopologySpreadConstraint { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: "Honor" | "Ignore"; + nodeTaintsPolicy?: "Honor" | "Ignore"; + topologyKey: string; + whenUnsatisfiable: "DoNotSchedule" | "ScheduleAnyway"; +} +/* io.k8s.api.core.v1.TypedLocalObjectReference */ +/* TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. */ +export interface TypedLocalObjectReference { + apiGroup?: string; + kind: string; + name: string; +} +/* io.k8s.api.core.v1.TypedObjectReference */ +/* TypedObjectReference contains enough information to let you locate the typed referenced object */ +export interface TypedObjectReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +/* io.k8s.api.core.v1.Volume */ +/* Volume represents a named volume in a pod that may be accessed by any container in the pod. */ +export interface Volume { + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFileVolumeSource; + cephfs?: CephFSVolumeSource; + cinder?: CinderVolumeSource; + configMap?: ConfigMapVolumeSource; + csi?: CSIVolumeSource; + downwardAPI?: DownwardAPIVolumeSource; + emptyDir?: EmptyDirVolumeSource; + ephemeral?: EphemeralVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + gitRepo?: GitRepoVolumeSource; + glusterfs?: GlusterfsVolumeSource; + hostPath?: HostPathVolumeSource; + image?: ImageVolumeSource; + iscsi?: ISCSIVolumeSource; + name: string; + nfs?: NFSVolumeSource; + persistentVolumeClaim?: PersistentVolumeClaimVolumeSource; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + projected?: ProjectedVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDVolumeSource; + scaleIO?: ScaleIOVolumeSource; + secret?: SecretVolumeSource; + storageos?: StorageOSVolumeSource; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +/* io.k8s.api.core.v1.VolumeDevice */ +/* volumeDevice describes a mapping of a raw block device within a container. */ +export interface VolumeDevice { + devicePath: string; + name: string; +} +/* io.k8s.api.core.v1.VolumeMount */ +/* VolumeMount describes a mounting of a Volume within a container. */ +export interface VolumeMount { + mountPath: string; + mountPropagation?: "Bidirectional" | "HostToContainer" | "None"; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; +} +/* io.k8s.api.core.v1.VolumeMountStatus */ +/* VolumeMountStatus shows status of volume mounts. */ +export interface VolumeMountStatus { + mountPath: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; +} +/* io.k8s.api.core.v1.VolumeNodeAffinity */ +/* VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. */ +export interface VolumeNodeAffinity { + required?: NodeSelector; +} +/* io.k8s.api.core.v1.VolumeProjection */ +/* Projection that may be projected along with other supported volume types. Exactly one of these fields must be set. */ +export interface VolumeProjection { + clusterTrustBundle?: ClusterTrustBundleProjection; + configMap?: ConfigMapProjection; + downwardAPI?: DownwardAPIProjection; + secret?: SecretProjection; + serviceAccountToken?: ServiceAccountTokenProjection; +} +/* io.k8s.api.core.v1.VolumeResourceRequirements */ +/* VolumeResourceRequirements describes the storage resource requirements for a volume. */ +export interface VolumeResourceRequirements { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource */ +/* Represents a vSphere volume resource. */ +export interface VsphereVirtualDiskVolumeSource { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; +} +/* io.k8s.api.core.v1.WeightedPodAffinityTerm */ +/* The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) */ +export interface WeightedPodAffinityTerm { + podAffinityTerm: PodAffinityTerm; + weight: number; +} +/* io.k8s.api.core.v1.WindowsSecurityContextOptions */ +/* WindowsSecurityContextOptions contain Windows-specific options and credentials. */ +export interface WindowsSecurityContextOptions { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; +} +/* io.k8s.api.discovery.v1.Endpoint */ +/* Endpoint represents a single logical "backend" implementing a service. */ +export interface Endpoint { + addresses: string[]; + conditions?: EndpointConditions; + deprecatedTopology?: { + [key: string]: unknown; + }; + hints?: EndpointHints; + hostname?: string; + nodeName?: string; + targetRef?: ObjectReference; + zone?: string; +} +/* io.k8s.api.discovery.v1.EndpointConditions */ +/* EndpointConditions represents the current condition of an endpoint. */ +export interface EndpointConditions { + ready?: boolean; + serving?: boolean; + terminating?: boolean; +} +/* io.k8s.api.discovery.v1.EndpointHints */ +/* EndpointHints provides hints describing how an endpoint should be consumed. */ +export interface EndpointHints { + forZones?: ForZone[]; +} +/* io.k8s.api.discovery.v1.EndpointPort */ +/* EndpointPort represents a Port used by an EndpointSlice */ +export interface DiscoveryEndpointPort { + appProtocol?: string; + name?: string; + port?: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.discovery.v1.EndpointSlice */ +/* EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints. */ +export interface EndpointSlice { + addressType: "FQDN" | "IPv4" | "IPv6"; + apiVersion?: string; + endpoints: Endpoint[]; + kind?: string; + metadata?: ObjectMeta; + ports?: DiscoveryEndpointPort[]; +} +/* io.k8s.api.discovery.v1.EndpointSliceList */ +/* EndpointSliceList represents a list of endpoint slices */ +export interface EndpointSliceList { + apiVersion?: string; + items: EndpointSlice[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.discovery.v1.ForZone */ +/* ForZone provides information about which zones should consume this endpoint. */ +export interface ForZone { + name: string; +} +/* io.k8s.api.events.v1.EventList */ +/* EventList is a list of Event objects. */ +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.HTTPIngressPath */ +/* HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. */ +export interface HTTPIngressPath { + backend: IngressBackend; + path?: string; + pathType: "Exact" | "ImplementationSpecific" | "Prefix"; +} +/* io.k8s.api.networking.v1.HTTPIngressRuleValue */ +/* HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. */ +export interface HTTPIngressRuleValue { + paths: HTTPIngressPath[]; +} +/* io.k8s.api.networking.v1.IPBlock */ +/* IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. */ +export interface IPBlock { + cidr: string; + except?: string[]; +} +/* io.k8s.api.networking.v1.Ingress */ +/* Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. */ +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressSpec; + status?: IngressStatus; +} +/* io.k8s.api.networking.v1.IngressBackend */ +/* IngressBackend describes all endpoints for a given service and port. */ +export interface IngressBackend { + resource?: TypedLocalObjectReference; + service?: IngressServiceBackend; +} +/* io.k8s.api.networking.v1.IngressClass */ +/* IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class. */ +export interface IngressClass { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressClassSpec; +} +/* io.k8s.api.networking.v1.IngressClassList */ +/* IngressClassList is a collection of IngressClasses. */ +export interface IngressClassList { + apiVersion?: string; + items: IngressClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.IngressClassParametersReference */ +/* IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource. */ +export interface IngressClassParametersReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + scope?: string; +} +/* io.k8s.api.networking.v1.IngressClassSpec */ +/* IngressClassSpec provides information about the class of an Ingress. */ +export interface IngressClassSpec { + controller?: string; + parameters?: IngressClassParametersReference; +} +/* io.k8s.api.networking.v1.IngressList */ +/* IngressList is a collection of Ingress. */ +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.IngressLoadBalancerIngress */ +/* IngressLoadBalancerIngress represents the status of a load-balancer ingress point. */ +export interface IngressLoadBalancerIngress { + hostname?: string; + ip?: string; + ports?: IngressPortStatus[]; +} +/* io.k8s.api.networking.v1.IngressLoadBalancerStatus */ +/* IngressLoadBalancerStatus represents the status of a load-balancer. */ +export interface IngressLoadBalancerStatus { + ingress?: IngressLoadBalancerIngress[]; +} +/* io.k8s.api.networking.v1.IngressPortStatus */ +/* IngressPortStatus represents the error condition of a service port */ +export interface IngressPortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.networking.v1.IngressRule */ +/* IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. */ +export interface IngressRule { + host?: string; + http?: HTTPIngressRuleValue; +} +/* io.k8s.api.networking.v1.IngressServiceBackend */ +/* IngressServiceBackend references a Kubernetes Service as a Backend. */ +export interface IngressServiceBackend { + name: string; + port?: ServiceBackendPort; +} +/* io.k8s.api.networking.v1.IngressSpec */ +/* IngressSpec describes the Ingress the user wishes to exist. */ +export interface IngressSpec { + defaultBackend?: IngressBackend; + ingressClassName?: string; + rules?: IngressRule[]; + tls?: IngressTLS[]; +} +/* io.k8s.api.networking.v1.IngressStatus */ +/* IngressStatus describe the current state of the Ingress. */ +export interface IngressStatus { + loadBalancer?: IngressLoadBalancerStatus; +} +/* io.k8s.api.networking.v1.IngressTLS */ +/* IngressTLS describes the transport layer security associated with an ingress. */ +export interface IngressTLS { + hosts?: string[]; + secretName?: string; +} +/* io.k8s.api.networking.v1.NetworkPolicy */ +/* NetworkPolicy describes what network traffic is allowed for a set of Pods */ +export interface NetworkPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NetworkPolicySpec; +} +/* io.k8s.api.networking.v1.NetworkPolicyEgressRule */ +/* NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 */ +export interface NetworkPolicyEgressRule { + ports?: NetworkPolicyPort[]; + to?: NetworkPolicyPeer[]; +} +/* io.k8s.api.networking.v1.NetworkPolicyIngressRule */ +/* NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. */ +export interface NetworkPolicyIngressRule { + from?: NetworkPolicyPeer[]; + ports?: NetworkPolicyPort[]; +} +/* io.k8s.api.networking.v1.NetworkPolicyList */ +/* NetworkPolicyList is a list of NetworkPolicy objects. */ +export interface NetworkPolicyList { + apiVersion?: string; + items: NetworkPolicy[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.NetworkPolicyPeer */ +/* NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed */ +export interface NetworkPolicyPeer { + ipBlock?: IPBlock; + namespaceSelector?: LabelSelector; + podSelector?: LabelSelector; +} +/* io.k8s.api.networking.v1.NetworkPolicyPort */ +/* NetworkPolicyPort describes a port to allow traffic on */ +export interface NetworkPolicyPort { + endPort?: number; + port?: IntOrString; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.networking.v1.NetworkPolicySpec */ +/* NetworkPolicySpec provides the specification of a NetworkPolicy */ +export interface NetworkPolicySpec { + egress?: NetworkPolicyEgressRule[]; + ingress?: NetworkPolicyIngressRule[]; + podSelector: LabelSelector; + policyTypes?: ("Egress" | "Ingress")[]; +} +/* io.k8s.api.networking.v1.ServiceBackendPort */ +/* ServiceBackendPort is the service port being referenced. */ +export interface ServiceBackendPort { + name?: string; + number?: number; +} +/* io.k8s.api.node.v1.Overhead */ +/* Overhead structure represents the resource overhead associated with running a pod. */ +export interface Overhead { + podFixed?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.node.v1.RuntimeClass */ +/* RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/ */ +export interface RuntimeClass { + apiVersion?: string; + handler: string; + kind?: string; + metadata?: ObjectMeta; + overhead?: Overhead; + scheduling?: Scheduling; +} +/* io.k8s.api.node.v1.RuntimeClassList */ +/* RuntimeClassList is a list of RuntimeClass objects. */ +export interface RuntimeClassList { + apiVersion?: string; + items: RuntimeClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.node.v1.Scheduling */ +/* Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. */ +export interface Scheduling { + nodeSelector?: { + [key: string]: unknown; + }; + tolerations?: Toleration[]; +} +/* io.k8s.api.policy.v1.Eviction */ +/* Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions. */ +export interface Eviction { + apiVersion?: string; + deleteOptions?: DeleteOptions; + kind?: string; + metadata?: ObjectMeta; +} +/* io.k8s.api.policy.v1.PodDisruptionBudget */ +/* PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods */ +export interface PodDisruptionBudget { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodDisruptionBudgetSpec; + status?: PodDisruptionBudgetStatus; +} +/* io.k8s.api.policy.v1.PodDisruptionBudgetList */ +/* PodDisruptionBudgetList is a collection of PodDisruptionBudgets. */ +export interface PodDisruptionBudgetList { + apiVersion?: string; + items: PodDisruptionBudget[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.policy.v1.PodDisruptionBudgetSpec */ +/* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. */ +export interface PodDisruptionBudgetSpec { + maxUnavailable?: IntOrString; + minAvailable?: IntOrString; + selector?: LabelSelector; + unhealthyPodEvictionPolicy?: "AlwaysAllow" | "IfHealthyBudget"; +} +/* io.k8s.api.policy.v1.PodDisruptionBudgetStatus */ +/* PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system. */ +export interface PodDisruptionBudgetStatus { + conditions?: Condition[]; + currentHealthy: number; + desiredHealthy: number; + disruptedPods?: { + [key: string]: unknown; + }; + disruptionsAllowed: number; + expectedPods: number; + observedGeneration?: number; +} +/* io.k8s.api.rbac.v1.AggregationRule */ +/* AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole */ +export interface AggregationRule { + clusterRoleSelectors?: LabelSelector[]; +} +/* io.k8s.api.rbac.v1.ClusterRole */ +/* ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. */ +export interface ClusterRole { + aggregationRule?: AggregationRule; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +/* io.k8s.api.rbac.v1.ClusterRoleBinding */ +/* ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. */ +export interface ClusterRoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +/* io.k8s.api.rbac.v1.ClusterRoleBindingList */ +/* ClusterRoleBindingList is a collection of ClusterRoleBindings */ +export interface ClusterRoleBindingList { + apiVersion?: string; + items: ClusterRoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.ClusterRoleList */ +/* ClusterRoleList is a collection of ClusterRoles */ +export interface ClusterRoleList { + apiVersion?: string; + items: ClusterRole[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.PolicyRule */ +/* PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. */ +export interface PolicyRule { + apiGroups?: string[]; + nonResourceURLs?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +/* io.k8s.api.rbac.v1.Role */ +/* Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. */ +export interface Role { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +/* io.k8s.api.rbac.v1.RoleBinding */ +/* RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. */ +export interface RoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +/* io.k8s.api.rbac.v1.RoleBindingList */ +/* RoleBindingList is a collection of RoleBindings */ +export interface RoleBindingList { + apiVersion?: string; + items: RoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.RoleList */ +/* RoleList is a collection of Roles */ +export interface RoleList { + apiVersion?: string; + items: Role[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.RoleRef */ +/* RoleRef contains information that points to the role being used */ +export interface RoleRef { + apiGroup: string; + kind: string; + name: string; +} +/* io.k8s.api.rbac.v1.Subject */ +/* Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. */ +export interface Subject { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +/* io.k8s.api.scheduling.v1.PriorityClass */ +/* PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. */ +export interface PriorityClass { + apiVersion?: string; + description?: string; + globalDefault?: boolean; + kind?: string; + metadata?: ObjectMeta; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + value: number; +} +/* io.k8s.api.scheduling.v1.PriorityClassList */ +/* PriorityClassList is a collection of priority classes. */ +export interface PriorityClassList { + apiVersion?: string; + items: PriorityClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.CSIDriver */ +/* CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced. */ +export interface CSIDriver { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSIDriverSpec; +} +/* io.k8s.api.storage.v1.CSIDriverList */ +/* CSIDriverList is a collection of CSIDriver objects. */ +export interface CSIDriverList { + apiVersion?: string; + items: CSIDriver[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.CSIDriverSpec */ +/* CSIDriverSpec is the specification of a CSIDriver. */ +export interface CSIDriverSpec { + attachRequired?: boolean; + fsGroupPolicy?: string; + podInfoOnMount?: boolean; + requiresRepublish?: boolean; + seLinuxMount?: boolean; + storageCapacity?: boolean; + tokenRequests?: TokenRequest[]; + volumeLifecycleModes?: string[]; +} +/* io.k8s.api.storage.v1.CSINode */ +/* CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. */ +export interface CSINode { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSINodeSpec; +} +/* io.k8s.api.storage.v1.CSINodeDriver */ +/* CSINodeDriver holds information about the specification of one CSI driver installed on a node */ +export interface CSINodeDriver { + allocatable?: VolumeNodeResources; + name: string; + nodeID: string; + topologyKeys?: string[]; +} +/* io.k8s.api.storage.v1.CSINodeList */ +/* CSINodeList is a collection of CSINode objects. */ +export interface CSINodeList { + apiVersion?: string; + items: CSINode[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.CSINodeSpec */ +/* CSINodeSpec holds information about the specification of all CSI drivers installed on a node */ +export interface CSINodeSpec { + drivers: CSINodeDriver[]; +} +/* io.k8s.api.storage.v1.CSIStorageCapacity */ +/* CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. + +For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" + +The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero + +The producer of these objects can decide which approach is more suitable. + +They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node. */ +export interface CSIStorageCapacity { + apiVersion?: string; + capacity?: Quantity; + kind?: string; + maximumVolumeSize?: Quantity; + metadata?: ObjectMeta; + nodeTopology?: LabelSelector; + storageClassName: string; +} +/* io.k8s.api.storage.v1.CSIStorageCapacityList */ +/* CSIStorageCapacityList is a collection of CSIStorageCapacity objects. */ +export interface CSIStorageCapacityList { + apiVersion?: string; + items: CSIStorageCapacity[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.StorageClass */ +/* StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + +StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. */ +export interface StorageClass { + allowVolumeExpansion?: boolean; + allowedTopologies?: TopologySelectorTerm[]; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + mountOptions?: string[]; + parameters?: { + [key: string]: unknown; + }; + provisioner: string; + reclaimPolicy?: "Delete" | "Recycle" | "Retain"; + volumeBindingMode?: "Immediate" | "WaitForFirstConsumer"; +} +/* io.k8s.api.storage.v1.StorageClassList */ +/* StorageClassList is a collection of storage classes. */ +export interface StorageClassList { + apiVersion?: string; + items: StorageClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.TokenRequest */ +/* TokenRequest contains parameters of a service account token. */ +export interface TokenRequest { + audience: string; + expirationSeconds?: number; +} +/* io.k8s.api.storage.v1.VolumeAttachment */ +/* VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + +VolumeAttachment objects are non-namespaced. */ +export interface VolumeAttachment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: VolumeAttachmentSpec; + status?: VolumeAttachmentStatus; +} +/* io.k8s.api.storage.v1.VolumeAttachmentList */ +/* VolumeAttachmentList is a collection of VolumeAttachment objects. */ +export interface VolumeAttachmentList { + apiVersion?: string; + items: VolumeAttachment[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.VolumeAttachmentSource */ +/* VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set. */ +export interface VolumeAttachmentSource { + inlineVolumeSpec?: PersistentVolumeSpec; + persistentVolumeName?: string; +} +/* io.k8s.api.storage.v1.VolumeAttachmentSpec */ +/* VolumeAttachmentSpec is the specification of a VolumeAttachment request. */ +export interface VolumeAttachmentSpec { + attacher: string; + nodeName: string; + source: VolumeAttachmentSource; +} +/* io.k8s.api.storage.v1.VolumeAttachmentStatus */ +/* VolumeAttachmentStatus is the status of a VolumeAttachment request. */ +export interface VolumeAttachmentStatus { + attachError?: VolumeError; + attached: boolean; + attachmentMetadata?: { + [key: string]: unknown; + }; + detachError?: VolumeError; +} +/* io.k8s.api.storage.v1.VolumeError */ +/* VolumeError captures an error encountered during a volume operation. */ +export interface VolumeError { + message?: string; + time?: Time; +} +/* io.k8s.api.storage.v1.VolumeNodeResources */ +/* VolumeNodeResources is a set of resource limits for scheduling of volumes. */ +export interface VolumeNodeResources { + count?: number; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition */ +/* CustomResourceColumnDefinition specifies a column for server side printing. */ +export interface CustomResourceColumnDefinition { + description?: string; + format?: string; + jsonPath: string; + name: string; + priority?: number; + type: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion */ +/* CustomResourceConversion describes how to convert different versions of a CR. */ +export interface CustomResourceConversion { + strategy: string; + webhook?: WebhookConversion; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition */ +/* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. */ +export interface CustomResourceDefinition { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CustomResourceDefinitionSpec; + status?: CustomResourceDefinitionStatus; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition */ +/* CustomResourceDefinitionCondition contains details for the current condition of this pod. */ +export interface CustomResourceDefinitionCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList */ +/* CustomResourceDefinitionList is a list of CustomResourceDefinition objects. */ +export interface CustomResourceDefinitionList { + apiVersion?: string; + items: CustomResourceDefinition[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames */ +/* CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition */ +export interface CustomResourceDefinitionNames { + categories?: string[]; + kind: string; + listKind?: string; + plural: string; + shortNames?: string[]; + singular?: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec */ +/* CustomResourceDefinitionSpec describes how a user wants their resource to appear */ +export interface CustomResourceDefinitionSpec { + conversion?: CustomResourceConversion; + group: string; + names: CustomResourceDefinitionNames; + preserveUnknownFields?: boolean; + scope: string; + versions: CustomResourceDefinitionVersion[]; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus */ +/* CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition */ +export interface CustomResourceDefinitionStatus { + acceptedNames?: CustomResourceDefinitionNames; + conditions?: CustomResourceDefinitionCondition[]; + storedVersions?: string[]; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion */ +/* CustomResourceDefinitionVersion describes a version for CRD. */ +export interface CustomResourceDefinitionVersion { + additionalPrinterColumns?: CustomResourceColumnDefinition[]; + deprecated?: boolean; + deprecationWarning?: string; + name: string; + schema?: CustomResourceValidation; + selectableFields?: SelectableField[]; + served: boolean; + storage: boolean; + subresources?: CustomResourceSubresources; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale */ +/* CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. */ +export interface CustomResourceSubresourceScale { + labelSelectorPath?: string; + specReplicasPath: string; + statusReplicasPath: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus */ +/* CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza */ +export type CustomResourceSubresourceStatus = { + [key: string]: unknown; +}; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources */ +/* CustomResourceSubresources defines the status and scale subresources for CustomResources. */ +export interface CustomResourceSubresources { + scale?: CustomResourceSubresourceScale; + status?: CustomResourceSubresourceStatus; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation */ +/* CustomResourceValidation is a list of validation methods for CustomResources. */ +export interface CustomResourceValidation { + openAPIV3Schema?: JSONSchemaProps; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation */ +/* ExternalDocumentation allows referencing an external resource for extended documentation. */ +export interface ExternalDocumentation { + description?: string; + url?: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON */ +/* JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. */ +export type JSON = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps */ +/* JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). */ +export interface JSONSchemaProps { + $ref?: string; + $schema?: string; + additionalItems?: JSONSchemaPropsOrBool; + additionalProperties?: JSONSchemaPropsOrBool; + allOf?: JSONSchemaProps[]; + anyOf?: JSONSchemaProps[]; + default?: JSON; + definitions?: { + [key: string]: unknown; + }; + dependencies?: { + [key: string]: unknown; + }; + description?: string; + enum?: JSON[]; + example?: JSON; + exclusiveMaximum?: boolean; + exclusiveMinimum?: boolean; + externalDocs?: ExternalDocumentation; + format?: string; + id?: string; + items?: JSONSchemaPropsOrArray; + maxItems?: number; + maxLength?: number; + maxProperties?: number; + maximum?: number; + minItems?: number; + minLength?: number; + minProperties?: number; + minimum?: number; + multipleOf?: number; + not?: JSONSchemaProps; + nullable?: boolean; + oneOf?: JSONSchemaProps[]; + pattern?: string; + patternProperties?: { + [key: string]: unknown; + }; + properties?: { + [key: string]: unknown; + }; + required?: string[]; + title?: string; + type?: string; + uniqueItems?: boolean; + "x-kubernetes-embedded-resource"?: boolean; + "x-kubernetes-int-or-string"?: boolean; + "x-kubernetes-list-map-keys"?: string[]; + "x-kubernetes-list-type"?: string; + "x-kubernetes-map-type"?: string; + "x-kubernetes-preserve-unknown-fields"?: boolean; + "x-kubernetes-validations"?: ValidationRule[]; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray */ +/* JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. */ +export type JSONSchemaPropsOrArray = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool */ +/* JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. */ +export type JSONSchemaPropsOrBool = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray */ +/* JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. */ +export type JSONSchemaPropsOrStringArray = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField */ +/* SelectableField specifies the JSON path of a field that may be used with field selectors. */ +export interface SelectableField { + jsonPath: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference */ +/* ServiceReference holds a reference to Service.legacy.k8s.io */ +export interface ApiExtServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule */ +/* ValidationRule describes a validation rule written in the CEL expression language. */ +export interface ValidationRule { + fieldPath?: string; + message?: string; + messageExpression?: string; + optionalOldSelf?: boolean; + reason?: "FieldValueDuplicate" | "FieldValueForbidden" | "FieldValueInvalid" | "FieldValueRequired"; + rule: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig */ +/* WebhookClientConfig contains the information to make a TLS connection with the webhook. */ +export interface ApiExtWebhookClientConfig { + caBundle?: string; + service?: ApiExtServiceReference; + url?: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion */ +/* WebhookConversion describes how to call a conversion webhook */ +export interface WebhookConversion { + clientConfig?: ApiExtWebhookClientConfig; + conversionReviewVersions: string[]; +} +/* io.k8s.apimachinery.pkg.api.resource.Quantity */ +/* Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + +The serialization format is: + +``` ::= + + (Note that may be empty, from the "" case in .) + + ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + + ::= m | "" | k | M | G | T | P | E + + (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + + ::= "e" | "E" ``` + +No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + +When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + +Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + +- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + +The sign will be omitted unless the number is negative. + +Examples: + +- 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + +Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + +Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + +This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. */ +export type Quantity = string; +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup */ +/* APIGroup contains the name, the supported versions, and the preferred version of a group. */ +export interface APIGroup { + apiVersion?: string; + kind?: string; + name: string; + preferredVersion?: GroupVersionForDiscovery; + serverAddressByClientCIDRs?: ServerAddressByClientCIDR[]; + versions: GroupVersionForDiscovery[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList */ +/* APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis. */ +export interface APIGroupList { + apiVersion?: string; + groups: APIGroup[]; + kind?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIResource */ +/* APIResource specifies the name of a resource and whether it is namespaced. */ +export interface APIResource { + categories?: string[]; + group?: string; + kind: string; + name: string; + namespaced: boolean; + shortNames?: string[]; + singularName: string; + storageVersionHash?: string; + verbs: string[]; + version?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList */ +/* APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced. */ +export interface APIResourceList { + apiVersion?: string; + groupVersion: string; + kind?: string; + resources: APIResource[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions */ +/* APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API. */ +export interface APIVersions { + apiVersion?: string; + kind?: string; + serverAddressByClientCIDRs: ServerAddressByClientCIDR[]; + versions: string[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Condition */ +/* Condition contains details for one aspect of the current state of this API Resource. */ +export interface Condition { + lastTransitionTime: Time; + message: string; + observedGeneration?: number; + reason: string; + status: string; + type: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions */ +/* DeleteOptions may be provided when deleting an API object. */ +export interface DeleteOptions { + apiVersion?: string; + dryRun?: string[]; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + kind?: string; + orphanDependents?: boolean; + preconditions?: Preconditions; + propagationPolicy?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement */ +/* FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values. */ +export interface FieldSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 */ +/* FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. + +Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. + +The exact format is defined in sigs.k8s.io/structured-merge-diff */ +export type FieldsV1 = { + [key: string]: unknown; +}; +/* io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery */ +/* GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility. */ +export interface GroupVersionForDiscovery { + groupVersion: string; + version: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector */ +/* A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */ +export interface LabelSelector { + matchExpressions?: LabelSelectorRequirement[]; + matchLabels?: { + [key: string]: unknown; + }; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement */ +/* A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */ +export interface LabelSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta */ +/* ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. */ +export interface ListMeta { + continue?: string; + remainingItemCount?: number; + resourceVersion?: string; + selfLink?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry */ +/* ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. */ +export interface ManagedFieldsEntry { + apiVersion?: string; + fieldsType?: string; + fieldsV1?: FieldsV1; + manager?: string; + operation?: string; + subresource?: string; + time?: Time; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime */ +/* MicroTime is version of Time with microsecond level precision. */ +export type MicroTime = string; +/* io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta */ +/* ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */ +export interface ObjectMeta { + annotations?: { + [key: string]: unknown; + }; + creationTimestamp?: Time; + deletionGracePeriodSeconds?: number; + deletionTimestamp?: Time; + finalizers?: string[]; + generateName?: string; + generation?: number; + labels?: { + [key: string]: unknown; + }; + managedFields?: ManagedFieldsEntry[]; + name?: string; + namespace?: string; + ownerReferences?: OwnerReference[]; + resourceVersion?: string; + selfLink?: string; + uid?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference */ +/* OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. */ +export interface OwnerReference { + apiVersion: string; + blockOwnerDeletion?: boolean; + controller?: boolean; + kind: string; + name: string; + uid: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Patch */ +/* Patch is provided to give a concrete name and type to the Kubernetes PATCH request body. */ +export type Patch = { + [key: string]: unknown; +}; +/* io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions */ +/* Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. */ +export interface Preconditions { + resourceVersion?: string; + uid?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR */ +/* ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. */ +export interface ServerAddressByClientCIDR { + clientCIDR: string; + serverAddress: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Status */ +/* Status is a return value for calls that don't return other objects. */ +export interface Status { + apiVersion?: string; + code?: number; + details?: StatusDetails; + kind?: string; + message?: string; + metadata?: ListMeta; + reason?: string; + status?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause */ +/* StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. */ +export interface StatusCause { + field?: string; + message?: string; + reason?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails */ +/* StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. */ +export interface StatusDetails { + causes?: StatusCause[]; + group?: string; + kind?: string; + name?: string; + retryAfterSeconds?: number; + uid?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Time */ +/* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. */ +export type Time = string; +/* io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent */ +/* Event represents a single event to a watched resource. */ +export interface WatchEvent { + object: RawExtension; + type: string; +} +/* io.k8s.apimachinery.pkg.runtime.RawExtension */ +/* RawExtension is used to hold extensions in external versions. + +To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. + +// Internal package: + + type MyAPIObject struct { + runtime.TypeMeta `json:",inline"` + MyPlugin runtime.Object `json:"myPlugin"` + } + + type PluginA struct { + AOption string `json:"aOption"` + } + +// External package: + + type MyAPIObject struct { + runtime.TypeMeta `json:",inline"` + MyPlugin runtime.RawExtension `json:"myPlugin"` + } + + type PluginA struct { + AOption string `json:"aOption"` + } + +// On the wire, the JSON will look something like this: + + { + "kind":"MyAPIObject", + "apiVersion":"v1", + "myPlugin": { + "kind":"PluginA", + "aOption":"foo", + }, + } + +So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) */ +export type RawExtension = { + [key: string]: unknown; +}; +/* io.k8s.apimachinery.pkg.util.intstr.IntOrString */ +/* IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. */ +export type IntOrString = string; +/* io.k8s.apimachinery.pkg.version.Info */ +/* Info contains versioning information. how we'll want to distribute that information. */ +export interface Info { + buildDate: string; + compiler: string; + gitCommit: string; + gitTreeState: string; + gitVersion: string; + goVersion: string; + major: string; + minor: string; + platform: string; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService */ +/* APIService represents a server for a particular GroupVersion. Name must be "version.group". */ +export interface APIService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: APIServiceSpec; + status?: APIServiceStatus; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition */ +/* APIServiceCondition describes the state of an APIService at a particular point */ +export interface APIServiceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList */ +/* APIServiceList is a list of APIService objects. */ +export interface APIServiceList { + apiVersion?: string; + items: APIService[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec */ +/* APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. */ +export interface APIServiceSpec { + caBundle?: string; + group?: string; + groupPriorityMinimum: number; + insecureSkipTLSVerify?: boolean; + service?: ServiceReference; + version?: string; + versionPriority: number; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus */ +/* APIServiceStatus contains derived information about an API server */ +export interface APIServiceStatus { + conditions?: APIServiceCondition[]; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference */ +/* ServiceReference holds a reference to Service.legacy.k8s.io */ +export interface ServiceReference { + name?: string; + namespace?: string; + port?: number; +} +export interface GetServiceAccountIssuerOpenIDConfigurationRequest {} +export interface GetCoreAPIVersionsRequest {} +export interface GetCoreV1APIResourcesRequest {} +export interface ListCoreV1ComponentStatusRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadCoreV1ComponentStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ListCoreV1ConfigMapForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1EndpointsForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1EventForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1LimitRangeForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1NamespaceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: Namespace; +} +export interface CreateCoreV1NamespacedBindingRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + namespace: string; + }; + body: Binding; +} +export interface ListCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ConfigMap; +} +export interface DeleteCoreV1CollectionNamespacedConfigMapRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ConfigMap; +} +export interface DeleteCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Endpoints; +} +export interface DeleteCoreV1CollectionNamespacedEndpointsRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Endpoints; +} +export interface DeleteCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedEventRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Event; +} +export interface DeleteCoreV1CollectionNamespacedEventRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedEventRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Event; +} +export interface DeleteCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: LimitRange; +} +export interface DeleteCoreV1CollectionNamespacedLimitRangeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: LimitRange; +} +export interface DeleteCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PersistentVolumeClaim; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedPodRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Pod; +} +export interface DeleteCoreV1CollectionNamespacedPodRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPodRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pod; +} +export interface DeleteCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedPodAttachRequest { + query: { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodAttachRequest { + query: { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPodBindingRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Binding; +} +export interface ReadCoreV1NamespacedPodEphemeralcontainersRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodEphemeralcontainersRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pod; +} +export interface PatchCoreV1NamespacedPodEphemeralcontainersRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface CreateCoreV1NamespacedPodEvictionRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Eviction; +} +export interface ConnectCoreV1GetNamespacedPodExecRequest { + query: { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodExecRequest { + query: { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPodLogRequest { + query: { + container?: string; + follow?: boolean; + insecureSkipTLSVerifyBackend?: boolean; + limitBytes?: number; + pretty?: string; + previous?: boolean; + sinceSeconds?: number; + stream?: string; + tailLines?: number; + timestamps?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedPodPortforwardRequest { + query: { + ports?: number; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodPortforwardRequest { + query: { + ports?: number; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PutNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PatchNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PutNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PatchNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ReadCoreV1NamespacedPodStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pod; +} +export interface PatchCoreV1NamespacedPodStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodTemplate; +} +export interface DeleteCoreV1CollectionNamespacedPodTemplateRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodTemplate; +} +export interface DeleteCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ReplicationController; +} +export interface DeleteCoreV1CollectionNamespacedReplicationControllerRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicationController; +} +export interface DeleteCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedReplicationControllerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchCoreV1NamespacedReplicationControllerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedReplicationControllerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicationController; +} +export interface PatchCoreV1NamespacedReplicationControllerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ResourceQuota; +} +export interface DeleteCoreV1CollectionNamespacedResourceQuotaRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ResourceQuota; +} +export interface DeleteCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedResourceQuotaStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedResourceQuotaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ResourceQuota; +} +export interface PatchCoreV1NamespacedResourceQuotaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Secret; +} +export interface DeleteCoreV1CollectionNamespacedSecretRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Secret; +} +export interface DeleteCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ServiceAccount; +} +export interface DeleteCoreV1CollectionNamespacedServiceAccountRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServiceAccount; +} +export interface DeleteCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface CreateCoreV1NamespacedServiceAccountTokenRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; + body: TokenRequest; +} +export interface ListCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Service; +} +export interface DeleteCoreV1CollectionNamespacedServiceRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface DeleteCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PutNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PostNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PutNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ReadCoreV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface PatchCoreV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespaceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Namespace; +} +export interface DeleteCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReplaceCoreV1NamespaceFinalizeRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + }; + body: Namespace; +} +export interface ReadCoreV1NamespaceStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NamespaceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Namespace; +} +export interface PatchCoreV1NamespaceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCoreV1NodeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: Node; +} +export interface DeleteCoreV1CollectionNodeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadCoreV1NodeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Node; +} +export interface DeleteCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ConnectCoreV1GetNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1PostNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1PutNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1DeleteNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1PatchNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1GetNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1PostNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1PutNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1DeleteNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1PatchNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ReadCoreV1NodeStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NodeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Node; +} +export interface PatchCoreV1NodeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCoreV1PersistentVolumeClaimForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: PersistentVolume; +} +export interface DeleteCoreV1CollectionPersistentVolumeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PersistentVolume; +} +export interface DeleteCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCoreV1PersistentVolumeStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1PersistentVolumeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PersistentVolume; +} +export interface PatchCoreV1PersistentVolumeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCoreV1PodForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1PodTemplateForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ReplicationControllerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ResourceQuotaForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1SecretForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ServiceAccountForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ServiceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ConfigMapListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1EndpointsListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1EventListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1LimitRangeListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1NamespaceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1NamespacedConfigMapListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedConfigMapRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEndpointsListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEndpointsRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEventListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEventRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedLimitRangeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedLimitRangeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodTemplateListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodTemplateRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedReplicationControllerListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedReplicationControllerRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedResourceQuotaListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedResourceQuotaRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedSecretListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedSecretRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceAccountListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceAccountRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespaceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchCoreV1NodeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1NodeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1PersistentVolumeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1PersistentVolumeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchCoreV1PodListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1PodTemplateListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ReplicationControllerListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ResourceQuotaListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1SecretListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ServiceAccountListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ServiceListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAPIVersionsRequest {} +export interface ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Challenge; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Order; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAcmeCertManagerIoV1OrderForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAdmissionregistrationAPIGroupRequest {} +export interface GetAdmissionregistrationV1APIResourcesRequest {} +export interface ListAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingAdmissionPolicy; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetApiextensionsAPIGroupRequest {} +export interface GetApiextensionsV1APIResourcesRequest {} +export interface ListApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadApiextensionsV1CustomResourceDefinitionStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CustomResourceDefinition; +} +export interface PatchApiextensionsV1CustomResourceDefinitionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchApiextensionsV1CustomResourceDefinitionListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchApiextensionsV1CustomResourceDefinitionRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetApiregistrationAPIGroupRequest {} +export interface GetApiregistrationV1APIResourcesRequest {} +export interface ListApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: APIService; +} +export interface DeleteApiregistrationV1CollectionAPIServiceRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: APIService; +} +export interface DeleteApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadApiregistrationV1APIServiceStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiregistrationV1APIServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: APIService; +} +export interface PatchApiregistrationV1APIServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchApiregistrationV1APIServiceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchApiregistrationV1APIServiceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetAppsAPIGroupRequest {} +export interface GetAppsV1APIResourcesRequest {} +export interface ListAppsV1ControllerRevisionForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1DaemonSetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1DeploymentForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ControllerRevision; +} +export interface DeleteAppsV1CollectionNamespacedControllerRevisionRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ControllerRevision; +} +export interface DeleteAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: DaemonSet; +} +export interface DeleteAppsV1CollectionNamespacedDaemonSetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: DaemonSet; +} +export interface DeleteAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedDaemonSetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDaemonSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: DaemonSet; +} +export interface PatchAppsV1NamespacedDaemonSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Deployment; +} +export interface DeleteAppsV1CollectionNamespacedDeploymentRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Deployment; +} +export interface DeleteAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDeploymentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchAppsV1NamespacedDeploymentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDeploymentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Deployment; +} +export interface PatchAppsV1NamespacedDeploymentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ReplicaSet; +} +export interface DeleteAppsV1CollectionNamespacedReplicaSetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicaSet; +} +export interface DeleteAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedReplicaSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchAppsV1NamespacedReplicaSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedReplicaSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicaSet; +} +export interface PatchAppsV1NamespacedReplicaSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: StatefulSet; +} +export interface DeleteAppsV1CollectionNamespacedStatefulSetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: StatefulSet; +} +export interface DeleteAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedStatefulSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchAppsV1NamespacedStatefulSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedStatefulSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: StatefulSet; +} +export interface PatchAppsV1NamespacedStatefulSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1ReplicaSetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1StatefulSetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1ControllerRevisionListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1DaemonSetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1DeploymentListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1NamespacedControllerRevisionListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedControllerRevisionRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDaemonSetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDaemonSetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDeploymentListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDeploymentRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedReplicaSetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedReplicaSetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedStatefulSetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedStatefulSetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1ReplicaSetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1StatefulSetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAuthenticationAPIGroupRequest {} +export interface GetAuthenticationV1APIResourcesRequest {} +export interface CreateAuthenticationV1SelfSubjectReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SelfSubjectReview; +} +export interface CreateAuthenticationV1TokenReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: TokenReview; +} +export interface GetAuthorizationAPIGroupRequest {} +export interface GetAuthorizationV1APIResourcesRequest {} +export interface CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + namespace: string; + }; + body: LocalSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectAccessReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SelfSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectRulesReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SelfSubjectRulesReview; +} +export interface CreateAuthorizationV1SubjectAccessReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SubjectAccessReview; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Metric; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodAutoscaler; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAutoscalingAPIGroupRequest {} +export interface GetAutoscalingV1APIResourcesRequest {} +export interface ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetAutoscalingV2APIResourcesRequest {} +export interface ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetBatchAPIGroupRequest {} +export interface GetBatchV1APIResourcesRequest {} +export interface ListBatchV1CronJobForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListBatchV1JobForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: CronJob; +} +export interface DeleteBatchV1CollectionNamespacedCronJobRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CronJob; +} +export interface DeleteBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadBatchV1NamespacedCronJobStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedCronJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CronJob; +} +export interface PatchBatchV1NamespacedCronJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListBatchV1NamespacedJobRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Job; +} +export interface DeleteBatchV1CollectionNamespacedJobRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadBatchV1NamespacedJobRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Job; +} +export interface DeleteBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadBatchV1NamespacedJobStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Job; +} +export interface PatchBatchV1NamespacedJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchBatchV1CronJobListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchBatchV1JobListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchBatchV1NamespacedCronJobListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchBatchV1NamespacedCronJobRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchBatchV1NamespacedJobListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchBatchV1NamespacedJobRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Image; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1CertificateRequestForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCertManagerIoV1CertificateForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1CollectionClusterIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1ClusterIssuerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertManagerIoV1ClusterIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterIssuer; +} +export interface PatchCertManagerIoV1ClusterIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1IssuerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CertificateRequest; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Certificate; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface PatchCertManagerIoV1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Issuer; +} +export interface DeleteCertManagerIoV1CollectionNamespacedIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Issuer; +} +export interface DeleteCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedIssuerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Issuer; +} +export interface PatchCertManagerIoV1NamespacedIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface GetCertificatesAPIGroupRequest {} +export interface GetCertificatesV1APIResourcesRequest {} +export interface ListCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CollectionCertificateSigningRequestRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestApprovalRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertificatesV1CertificateSigningRequestApprovalRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestApprovalRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertificatesV1CertificateSigningRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchCertificatesV1CertificateSigningRequestListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCertificatesV1CertificateSigningRequestRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetCoordinationAPIGroupRequest {} +export interface GetCoordinationV1APIResourcesRequest {} +export interface ListCoordinationV1LeaseForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Lease; +} +export interface DeleteCoordinationV1CollectionNamespacedLeaseRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Lease; +} +export interface DeleteCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchCoordinationV1LeaseListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoordinationV1NamespacedLeaseListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoordinationV1NamespacedLeaseRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetDiscoveryAPIGroupRequest {} +export interface GetDiscoveryV1APIResourcesRequest {} +export interface ListDiscoveryV1EndpointSliceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetEventsAPIGroupRequest {} +export interface GetEventsV1APIResourcesRequest {} +export interface ListEventsV1EventForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListEventsV1NamespacedEventRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Event; +} +export interface DeleteEventsV1CollectionNamespacedEventRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadEventsV1NamespacedEventRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Event; +} +export interface DeleteEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchEventsV1EventListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchEventsV1NamespacedEventListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchEventsV1NamespacedEventRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetFlowcontrolApiserverAPIGroupRequest {} +export interface GetFlowcontrolApiserverV1APIResourcesRequest {} +export interface ListFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: FlowSchema; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PriorityLevelConfiguration; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Alertmanager; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Prometheus; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServiceMonitor; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ThanosRuler; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1ProbeForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PrometheusAgent; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterDomainClaim; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServerlessService; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetNetworkingAPIGroupRequest {} +export interface GetNetworkingV1APIResourcesRequest {} +export interface ListNetworkingV1IngressClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: IngressClass; +} +export interface DeleteNetworkingV1CollectionIngressClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadNetworkingV1IngressClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: IngressClass; +} +export interface DeleteNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListNetworkingV1IngressForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingV1CollectionNamespacedIngressRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingV1NamespacedIngressStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingV1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface PatchNetworkingV1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingV1NetworkPolicyForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNetworkingV1IngressClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNetworkingV1IngressClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchNetworkingV1IngressListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNetworkingV1NamespacedIngressListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchNetworkingV1NamespacedIngressRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetNodeAPIGroupRequest {} +export interface GetNodeV1APIResourcesRequest {} +export interface ListNodeV1RuntimeClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: RuntimeClass; +} +export interface DeleteNodeV1CollectionRuntimeClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadNodeV1RuntimeClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: RuntimeClass; +} +export interface DeleteNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchNodeV1RuntimeClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNodeV1RuntimeClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetPolicyAPIGroupRequest {} +export interface GetPolicyV1APIResourcesRequest {} +export interface ListPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodDisruptionBudget; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Backup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Cluster; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Database; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pooler; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Publication; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ScheduledBackup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Subscription; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetRbacAuthorizationAPIGroupRequest {} +export interface GetRbacAuthorizationV1APIResourcesRequest {} +export interface ListRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Role; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Role; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListRbacAuthorizationV1RoleForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1RoleListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetSchedulingAPIGroupRequest {} +export interface GetSchedulingV1APIResourcesRequest {} +export interface ListSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: PriorityClass; +} +export interface DeleteSchedulingV1CollectionPriorityClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PriorityClass; +} +export interface DeleteSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchSchedulingV1PriorityClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchSchedulingV1PriorityClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface ListServingKnativeDevV1ConfigurationForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Configuration; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Configuration; +} +export interface DeleteServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Configuration; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Revision; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Revision; +} +export interface DeleteServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRevisionStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Revision; +} +export interface PatchServingKnativeDevV1NamespacedRevisionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Route; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRouteRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Route; +} +export interface DeleteServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRouteStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Route; +} +export interface PatchServingKnativeDevV1NamespacedRouteStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Service; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface DeleteServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface PatchServingKnativeDevV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1RevisionForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListServingKnativeDevV1RouteForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListServingKnativeDevV1ServiceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetStorageAPIGroupRequest {} +export interface GetStorageV1APIResourcesRequest {} +export interface ListStorageV1CSIDriverRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CSIDriver; +} +export interface DeleteStorageV1CollectionCSIDriverRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1CSIDriverRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CSIDriver; +} +export interface DeleteStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListStorageV1CSINodeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CSINode; +} +export interface DeleteStorageV1CollectionCSINodeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1CSINodeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CSINode; +} +export interface DeleteStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListStorageV1CSIStorageCapacityForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListStorageV1StorageClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: StorageClass; +} +export interface DeleteStorageV1CollectionStorageClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1StorageClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: StorageClass; +} +export interface DeleteStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: VolumeAttachment; +} +export interface DeleteStorageV1CollectionVolumeAttachmentRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: VolumeAttachment; +} +export interface DeleteStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadStorageV1VolumeAttachmentStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1VolumeAttachmentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: VolumeAttachment; +} +export interface PatchStorageV1VolumeAttachmentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchStorageV1CSIDriverListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1CSIDriverRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchStorageV1CSINodeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1CSINodeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchStorageV1StorageClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1StorageClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchStorageV1VolumeAttachmentListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1VolumeAttachmentRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetServiceAccountIssuerOpenIDKeysetRequest {} +export interface GetCodeVersionRequest {} +export class KubernetesClient extends APIClient { + constructor(options) { + super(options); + } + async getSwaggerJSON() { + const path = "/openapi/v2"; + return this.get(path); + } + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/.well-known/openid-configuration/`; + return await this.get(path, null, null, opts); + } + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/`; + return await this.get(path, null, null, opts); + } + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/`; + return await this.get(path, null, null, opts); + } + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/componentstatuses`; + return await this.get(path, null, null, opts); + } + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/componentstatuses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/configmaps`; + return await this.get(path, null, null, opts); + } + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/endpoints`; + return await this.get(path, null, null, opts); + } + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/events`; + return await this.get(path, null, null, opts); + } + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/limitranges`; + return await this.get(path, null, null, opts); + } + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces`; + return await this.get(path, null, null, opts); + } + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces`; + return await this.post(path, params.query, params.body, opts); + } + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/bindings`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/attach`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/attach`; + return await this.post(path, null, null, opts); + } + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/binding`; + return await this.post(path, null, params.body, opts); + } + async readCoreV1NamespacedPodEphemeralcontainers(params: ReadCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/ephemeralcontainers`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodEphemeralcontainers(params: ReplaceCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/ephemeralcontainers`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodEphemeralcontainers(params: PatchCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/ephemeralcontainers`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/eviction`; + return await this.post(path, null, params.body, opts); + } + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/exec`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/exec`; + return await this.post(path, null, null, opts); + } + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/log`; + return await this.get(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/portforward`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/portforward`; + return await this.post(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}/token`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedService(params: DeleteCoreV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}/finalize`; + return await this.put(path, null, params.body, opts); + } + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/namespaces/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes`; + return await this.get(path, null, null, opts); + } + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/nodes/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes`; + return await this.get(path, null, null, opts); + } + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/persistentvolumes/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/pods`; + return await this.get(path, null, null, opts); + } + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/podtemplates`; + return await this.get(path, null, null, opts); + } + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/resourcequotas`; + return await this.get(path, null, null, opts); + } + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/secrets`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/services`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/configmaps`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/endpoints`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/events`; + return await this.get(path, null, null, opts); + } + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/limitranges`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/configmaps`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/configmaps/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/endpoints`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/endpoints/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/events`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/limitranges`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/limitranges/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/pods`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/pods/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/podtemplates`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/resourcequotas`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/secrets`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/secrets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/services`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/namespaces/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/nodes`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/nodes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/persistentvolumeclaims`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/persistentvolumes`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/persistentvolumes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/pods`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/podtemplates`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/replicationcontrollers`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/resourcequotas`; + return await this.get(path, null, null, opts); + } + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/secrets`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/serviceaccounts`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/api/v1/watch/services`; + return await this.get(path, null, null, opts); + } + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1ChallengeForAllNamespaces(params: ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/challenges`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1NamespacedChallenge(params: ListAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedChallenge(params: CreateAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedChallenge(params: DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallenge(params: ReadAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallenge(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedChallenge(params: DeleteAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallenge(params: PatchAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallengeStatus(params: PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/challenges/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1NamespacedOrder(params: ListAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedOrder(params: CreateAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedOrder(params: DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrder(params: ReadAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrder(params: ReplaceAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedOrder(params: DeleteAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrder(params: PatchAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrderStatus(params: ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrderStatus(params: ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrderStatus(params: PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/namespaces/${params.path.namespace}/orders/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1OrderForAllNamespaces(params: ListAcmeCertManagerIoV1OrderForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/acme.cert-manager.io/v1/orders`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicy(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicy(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicy(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicy(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBindingList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; + return await this.get(path, null, null, opts); + } + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`; + return await this.delete(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions`; + return await this.get(path, null, null, opts); + } + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices`; + return await this.get(path, null, null, opts); + } + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices`; + return await this.delete(path, params.query, null, opts); + } + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices`; + return await this.get(path, null, null, opts); + } + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/`; + return await this.get(path, null, null, opts); + } + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/`; + return await this.get(path, null, null, opts); + } + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/daemonsets`; + return await this.get(path, null, null, opts); + } + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/deployments`; + return await this.get(path, null, null, opts); + } + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/replicasets`; + return await this.get(path, null, null, opts); + } + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/statefulsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/daemonsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/deployments`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/controllerrevisions`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/daemonsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/deployments`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/deployments/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/replicasets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/replicasets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/statefulsets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/replicasets`; + return await this.get(path, null, null, opts); + } + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/apps/v1/watch/statefulsets`; + return await this.get(path, null, null, opts); + } + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async createAuthenticationV1SelfSubjectReview(params: CreateAuthenticationV1SelfSubjectReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/v1/selfsubjectreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authentication.k8s.io/v1/tokenreviews`; + return await this.post(path, null, params.body, opts); + } + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/namespaces/${params.path.namespace}/localsubjectaccessreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/selfsubjectaccessreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/selfsubjectrulesreviews`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/authorization.k8s.io/v1/subjectaccessreviews`; + return await this.post(path, null, params.body, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/metrics`; + return await this.get(path, null, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/metrics/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/podautoscalers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling.internal.knative.dev/v1alpha1/podautoscalers`; + return await this.get(path, null, null, opts); + } + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/watch/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v1/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV2APIResources(params: GetAutoscalingV2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/watch/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/autoscaling/v2/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/`; + return await this.get(path, null, null, opts); + } + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/`; + return await this.get(path, null, null, opts); + } + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/cronjobs`; + return await this.get(path, null, null, opts); + } + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/jobs`; + return await this.get(path, null, null, opts); + } + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/cronjobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/jobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/cronjobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/jobs`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/jobs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1ImageForAllNamespaces(params: ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/images`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1NamespacedImage(params: ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images`; + return await this.get(path, null, null, opts); + } + async createCachingInternalKnativeDevV1alpha1NamespacedImage(params: CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images`; + return await this.delete(path, null, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1NamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImage(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/caching.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/images/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1CertificateRequestForAllNamespaces(params: ListCertManagerIoV1CertificateRequestForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/certificaterequests`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1CertificateForAllNamespaces(params: ListCertManagerIoV1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/certificates`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1ClusterIssuer(params: ListCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1ClusterIssuer(params: CreateCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionClusterIssuer(params: DeleteCertManagerIoV1CollectionClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1ClusterIssuer(params: ReadCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuer(params: ReplaceCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1ClusterIssuer(params: DeleteCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1ClusterIssuer(params: PatchCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1ClusterIssuerStatus(params: ReadCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuerStatus(params: ReplaceCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1ClusterIssuerStatus(params: PatchCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/clusterissuers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1IssuerForAllNamespaces(params: ListCertManagerIoV1IssuerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/issuers`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1NamespacedCertificateRequest(params: ListCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificateRequest(params: CreateCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificateRequest(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequest(params: ReadCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequest(params: ReplaceCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificateRequest(params: DeleteCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequest(params: PatchCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequestStatus(params: ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequestStatus(params: ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequestStatus(params: PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificaterequests/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedCertificate(params: ListCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificate(params: CreateCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificate(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificate(params: ReadCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificate(params: ReplaceCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificate(params: DeleteCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificate(params: PatchCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateStatus(params: ReadCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateStatus(params: ReplaceCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateStatus(params: PatchCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/certificates/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedIssuer(params: ListCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedIssuer(params: CreateCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedIssuer(params: DeleteCertManagerIoV1CollectionNamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedIssuer(params: ReadCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuer(params: ReplaceCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedIssuer(params: DeleteCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedIssuer(params: PatchCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedIssuerStatus(params: ReadCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuerStatus(params: ReplaceCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedIssuerStatus(params: PatchCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/cert-manager.io/v1/namespaces/${params.path.namespace}/issuers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; + return await this.get(path, null, null, opts); + } + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`; + return await this.delete(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests`; + return await this.get(path, null, null, opts); + } + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/leases`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`; + return await this.get(path, null, null, opts); + } + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`; + return await this.delete(path, params.query, null, opts); + } + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/watch/leases`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.path.namespace}/leases`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.path.namespace}/leases/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/endpointslices`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`; + return await this.get(path, null, null, opts); + } + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`; + return await this.post(path, params.query, params.body, opts); + } + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`; + return await this.delete(path, params.query, null, opts); + } + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/watch/endpointslices`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.path.namespace}/endpointslices`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/events`; + return await this.get(path, null, null, opts); + } + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`; + return await this.get(path, null, null, opts); + } + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`; + return await this.post(path, params.query, params.body, opts); + } + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`; + return await this.delete(path, params.query, null, opts); + } + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/watch/events`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.path.namespace}/events`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.path.namespace}/events/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverV1APIResources(params: GetFlowcontrolApiserverV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listFlowcontrolApiserverV1FlowSchema(params: ListFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1FlowSchema(params: CreateFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchema(params: ReadFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchema(params: ReplaceFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1FlowSchema(params: DeleteFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1FlowSchema(params: PatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listFlowcontrolApiserverV1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchemaList(params: WatchFlowcontrolApiserverV1FlowSchemaListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchema(params: WatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1AlertmanagerForAllNamespaces(params: ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/alertmanagers`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1NamespacedAlertmanager(params: ListMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedAlertmanager(params: CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedAlertmanager(params: DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanager(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanager(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedAlertmanager(params: DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanager(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerScale(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/alertmanagers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPodMonitor(params: ListMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPodMonitor(params: CreateMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPodMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPodMonitor(params: ReadMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPodMonitor(params: ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPodMonitor(params: DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPodMonitor(params: PatchMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/podmonitors/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedProbe(params: ListMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedProbe(params: CreateMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedProbe(params: DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedProbe(params: ReadMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedProbe(params: ReplaceMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedProbe(params: DeleteMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedProbe(params: PatchMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/probes/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheus(params: ListMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheus(params: CreateMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheus(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheus(params: ReadMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheus(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheus(params: PatchMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusScale(params: ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusScale(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusScale(params: PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusStatus(params: PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheuses/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheusRule(params: ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheusRule(params: CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusRule(params: ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusRule(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusRule(params: PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/prometheusrules/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedServiceMonitor(params: ListMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedServiceMonitor(params: CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitor(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitor(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitor(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/servicemonitors/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedThanosRuler(params: ListMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedThanosRuler(params: CreateMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedThanosRuler(params: DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRuler(params: ReadMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRuler(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedThanosRuler(params: DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRuler(params: PatchMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRulerStatus(params: PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/namespaces/${params.path.namespace}/thanosrulers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1PodMonitorForAllNamespaces(params: ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/podmonitors`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ProbeForAllNamespaces(params: ListMonitoringCoreosComV1ProbeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/probes`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/prometheuses`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusRuleForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/prometheusrules`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ServiceMonitorForAllNamespaces(params: ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/servicemonitors`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ThanosRulerForAllNamespaces(params: ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1/thanosrulers`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/alertmanagerconfigs`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/alertmanagerconfigs/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/prometheusagents/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/namespaces/${params.path.namespace}/scrapeconfigs/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespaces(params: ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/prometheusagents`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/monitoring.coreos.com/v1alpha1/scrapeconfigs`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/certificates`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1IngressForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/ingresses`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/certificates/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/namespaces/${params.path.namespace}/serverlessservices/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.internal.knative.dev/v1alpha1/serverlessservices`; + return await this.get(path, null, null, opts); + } + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/ingresses`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/networkpolicies`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/ingressclasses`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/ingressclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/ingresses`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/ingresses`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/ingresses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/networkpolicies`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/networking.k8s.io/v1/watch/networkpolicies`; + return await this.get(path, null, null, opts); + } + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses`; + return await this.get(path, null, null, opts); + } + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses`; + return await this.delete(path, params.query, null, opts); + } + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/watch/runtimeclasses`; + return await this.get(path, null, null, opts); + } + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/node.k8s.io/v1/watch/runtimeclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/`; + return await this.get(path, null, null, opts); + } + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/`; + return await this.get(path, null, null, opts); + } + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`; + return await this.post(path, params.query, params.body, opts); + } + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`; + return await this.delete(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/watch/namespaces/${params.path.namespace}/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/watch/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/policy/v1/watch/poddisruptionbudgets`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1BackupForAllNamespaces(params: ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/backups`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ClusterImageCatalog(params: ListPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1ClusterImageCatalog(params: CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionClusterImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1ClusterImageCatalog(params: ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1ClusterImageCatalog(params: ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1ClusterImageCatalog(params: DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1ClusterImageCatalog(params: PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1ClusterForAllNamespaces(params: ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/clusters`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1DatabaseForAllNamespaces(params: ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/databases`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ImageCatalogForAllNamespaces(params: ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/imagecatalogs`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedBackup(params: ListPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedBackup(params: CreatePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackup(params: ReadPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackup(params: ReplacePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedBackup(params: DeletePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackup(params: PatchPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/backups/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedCluster(params: ListPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedCluster(params: CreatePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedCluster(params: DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedCluster(params: ReadPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedCluster(params: ReplacePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedCluster(params: DeletePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedCluster(params: PatchPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterScale(params: ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterScale(params: ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterScale(params: PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterStatus(params: ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterStatus(params: ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterStatus(params: PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/clusters/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedDatabase(params: ListPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedDatabase(params: CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedDatabase(params: DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabase(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabase(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedDatabase(params: DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabase(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/databases/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedImageCatalog(params: ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedImageCatalog(params: CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedImageCatalog(params: ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedImageCatalog(params: ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedImageCatalog(params: PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/imagecatalogs/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPooler(params: ListPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPooler(params: CreatePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPooler(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPooler(params: ReadPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPooler(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPooler(params: DeletePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPooler(params: PatchPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerScale(params: ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}/scale`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerScale(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}/scale`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerScale(params: PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}/scale`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerStatus(params: PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/poolers/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPublication(params: ListPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPublication(params: CreatePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPublication(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublication(params: ReadPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublication(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPublication(params: DeletePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublication(params: PatchPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublicationStatus(params: PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/publications/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedScheduledBackup(params: CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackup(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/scheduledbackups/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedSubscription(params: ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedSubscription(params: CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedSubscription(params: DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscription(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscription(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedSubscription(params: DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscription(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/namespaces/${params.path.namespace}/subscriptions/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1PoolerForAllNamespaces(params: ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/poolers`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1PublicationForAllNamespaces(params: ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/publications`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ScheduledBackupForAllNamespaces(params: ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/scheduledbackups`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1SubscriptionForAllNamespaces(params: ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/postgresql.cnpg.io/v1/subscriptions`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/rolebindings`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/roles`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/rolebindings`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/roles`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/roles/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/rolebindings`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/rbac.authorization.k8s.io/v1/watch/roles`; + return await this.get(path, null, null, opts); + } + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; + return await this.get(path, null, null, opts); + } + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses`; + return await this.delete(path, params.query, null, opts); + } + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses`; + return await this.get(path, null, null, opts); + } + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ConfigurationForAllNamespaces(params: ListServingKnativeDevV1ConfigurationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/configurations`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1NamespacedConfiguration(params: ListServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedConfiguration(params: CreateServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedConfiguration(params: DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedConfiguration(params: ReadServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfiguration(params: ReplaceServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedConfiguration(params: DeleteServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedConfiguration(params: PatchServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedConfigurationStatus(params: ReadServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfigurationStatus(params: ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedConfigurationStatus(params: PatchServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/configurations/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRevision(params: ListServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRevision(params: CreateServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRevision(params: DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRevision(params: ReadServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevision(params: ReplaceServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRevision(params: DeleteServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRevision(params: PatchServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRevisionStatus(params: ReadServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevisionStatus(params: ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRevisionStatus(params: PatchServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/revisions/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRoute(params: ListServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRoute(params: CreateServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRoute(params: DeleteServingKnativeDevV1CollectionNamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRoute(params: ReadServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRoute(params: ReplaceServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRoute(params: DeleteServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRoute(params: PatchServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRouteStatus(params: ReadServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRouteStatus(params: ReplaceServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRouteStatus(params: PatchServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/routes/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedService(params: ListServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedService(params: CreateServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedService(params: DeleteServingKnativeDevV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedService(params: ReadServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedService(params: ReplaceServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedService(params: DeleteServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedService(params: PatchServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedServiceStatus(params: ReadServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedServiceStatus(params: ReplaceServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedServiceStatus(params: PatchServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1RevisionForAllNamespaces(params: ListServingKnativeDevV1RevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/revisions`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1RouteForAllNamespaces(params: ListServingKnativeDevV1RouteForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/routes`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ServiceForAllNamespaces(params: ListServingKnativeDevV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/serving.knative.dev/v1/services`; + return await this.get(path, null, null, opts); + } + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/`; + return await this.get(path, null, null, opts); + } + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/`; + return await this.get(path, null, null, opts); + } + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSIStorageCapacityForAllNamespaces(params: ListStorageV1CSIStorageCapacityForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async listStorageV1NamespacedCSIStorageCapacity(params: ListStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async createStorageV1NamespacedCSIStorageCapacity(params: CreateStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1NamespacedCSIStorageCapacity(params: ReadStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1NamespacedCSIStorageCapacity(params: ReplaceStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1NamespacedCSIStorageCapacity(params: DeleteStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1NamespacedCSIStorageCapacity(params: PatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/namespaces/${params.path.namespace}/csistoragecapacities/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses`; + return await this.get(path, null, null, opts); + } + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments`; + return await this.get(path, null, null, opts); + } + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`; + return await this.patch(path, params.query, null, opts); + } + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`; + return await this.put(path, params.query, params.body, opts); + } + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`; + return await this.patch(path, params.query, null, opts); + } + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csidrivers`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csidrivers/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csinodes`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csinodes/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacityList(params: WatchStorageV1NamespacedCSIStorageCapacityListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/namespaces/${params.path.namespace}/csistoragecapacities`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacity(params: WatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/namespaces/${params.path.namespace}/csistoragecapacities/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/storageclasses`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/storageclasses/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/volumeattachments`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = `/apis/storage.k8s.io/v1/watch/volumeattachments/${params.path.name}`; + return await this.get(path, null, null, opts); + } + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { + const path = `/openid/v1/jwks/`; + return await this.get(path, null, null, opts); + } + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { + const path = `/version/`; + return await this.get(path, null, null, opts); + } +} \ No newline at end of file diff --git a/__fixtures__/output/swagger-extended-definitions.json b/__fixtures__/output/swagger-extended-definitions.json new file mode 100644 index 0000000..3ce8829 --- /dev/null +++ b/__fixtures__/output/swagger-extended-definitions.json @@ -0,0 +1,585 @@ +[ + "com.coreos.monitoring.v1.Alertmanager", + "com.coreos.monitoring.v1.AlertmanagerList", + "com.coreos.monitoring.v1.PodMonitor", + "com.coreos.monitoring.v1.PodMonitorList", + "com.coreos.monitoring.v1.Probe", + "com.coreos.monitoring.v1.ProbeList", + "com.coreos.monitoring.v1.Prometheus", + "com.coreos.monitoring.v1.PrometheusList", + "com.coreos.monitoring.v1.PrometheusRule", + "com.coreos.monitoring.v1.PrometheusRuleList", + "com.coreos.monitoring.v1.ServiceMonitor", + "com.coreos.monitoring.v1.ServiceMonitorList", + "com.coreos.monitoring.v1.ThanosRuler", + "com.coreos.monitoring.v1.ThanosRulerList", + "com.coreos.monitoring.v1alpha1.AlertmanagerConfig", + "com.coreos.monitoring.v1alpha1.AlertmanagerConfigList", + "com.coreos.monitoring.v1alpha1.PrometheusAgent", + "com.coreos.monitoring.v1alpha1.PrometheusAgentList", + "com.coreos.monitoring.v1alpha1.ScrapeConfig", + "com.coreos.monitoring.v1alpha1.ScrapeConfigList", + "dev.knative.internal.autoscaling.v1alpha1.Metric", + "dev.knative.internal.autoscaling.v1alpha1.MetricList", + "dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler", + "dev.knative.internal.autoscaling.v1alpha1.PodAutoscalerList", + "dev.knative.internal.caching.v1alpha1.Image", + "dev.knative.internal.caching.v1alpha1.ImageList", + "dev.knative.internal.networking.v1alpha1.Certificate", + "dev.knative.internal.networking.v1alpha1.CertificateList", + "dev.knative.internal.networking.v1alpha1.ClusterDomainClaim", + "dev.knative.internal.networking.v1alpha1.ClusterDomainClaimList", + "dev.knative.internal.networking.v1alpha1.Ingress", + "dev.knative.internal.networking.v1alpha1.IngressList", + "dev.knative.internal.networking.v1alpha1.ServerlessService", + "dev.knative.internal.networking.v1alpha1.ServerlessServiceList", + "dev.knative.serving.v1.Configuration", + "dev.knative.serving.v1.ConfigurationList", + "dev.knative.serving.v1.Revision", + "dev.knative.serving.v1.RevisionList", + "dev.knative.serving.v1.Route", + "dev.knative.serving.v1.RouteList", + "dev.knative.serving.v1.Service", + "dev.knative.serving.v1.ServiceList", + "dev.knative.serving.v1beta1.DomainMapping", + "dev.knative.serving.v1beta1.DomainMappingList", + "io.cert-manager.acme.v1.Challenge", + "io.cert-manager.acme.v1.ChallengeList", + "io.cert-manager.acme.v1.Order", + "io.cert-manager.acme.v1.OrderList", + "io.cert-manager.v1.Certificate", + "io.cert-manager.v1.CertificateList", + "io.cert-manager.v1.CertificateRequest", + "io.cert-manager.v1.CertificateRequestList", + "io.cert-manager.v1.ClusterIssuer", + "io.cert-manager.v1.ClusterIssuerList", + "io.cert-manager.v1.Issuer", + "io.cert-manager.v1.IssuerList", + "io.cnpg.postgresql.v1.Backup", + "io.cnpg.postgresql.v1.BackupList", + "io.cnpg.postgresql.v1.Cluster", + "io.cnpg.postgresql.v1.ClusterImageCatalog", + "io.cnpg.postgresql.v1.ClusterImageCatalogList", + "io.cnpg.postgresql.v1.ClusterList", + "io.cnpg.postgresql.v1.Database", + "io.cnpg.postgresql.v1.DatabaseList", + "io.cnpg.postgresql.v1.ImageCatalog", + "io.cnpg.postgresql.v1.ImageCatalogList", + "io.cnpg.postgresql.v1.Pooler", + "io.cnpg.postgresql.v1.PoolerList", + "io.cnpg.postgresql.v1.Publication", + "io.cnpg.postgresql.v1.PublicationList", + "io.cnpg.postgresql.v1.ScheduledBackup", + "io.cnpg.postgresql.v1.ScheduledBackupList", + "io.cnpg.postgresql.v1.Subscription", + "io.cnpg.postgresql.v1.SubscriptionList", + "io.k8s.api.admissionregistration.v1.AuditAnnotation", + "io.k8s.api.admissionregistration.v1.ExpressionWarning", + "io.k8s.api.admissionregistration.v1.MatchCondition", + "io.k8s.api.admissionregistration.v1.MatchResources", + "io.k8s.api.admissionregistration.v1.MutatingWebhook", + "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration", + "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList", + "io.k8s.api.admissionregistration.v1.NamedRuleWithOperations", + "io.k8s.api.admissionregistration.v1.ParamKind", + "io.k8s.api.admissionregistration.v1.ParamRef", + "io.k8s.api.admissionregistration.v1.RuleWithOperations", + "io.k8s.api.admissionregistration.v1.ServiceReference", + "io.k8s.api.admissionregistration.v1.TypeChecking", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingSpec", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicySpec", + "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyStatus", + "io.k8s.api.admissionregistration.v1.ValidatingWebhook", + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration", + "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList", + "io.k8s.api.admissionregistration.v1.Validation", + "io.k8s.api.admissionregistration.v1.Variable", + "io.k8s.api.admissionregistration.v1.WebhookClientConfig", + "io.k8s.api.apps.v1.ControllerRevision", + "io.k8s.api.apps.v1.ControllerRevisionList", + "io.k8s.api.apps.v1.DaemonSet", + "io.k8s.api.apps.v1.DaemonSetCondition", + "io.k8s.api.apps.v1.DaemonSetList", + "io.k8s.api.apps.v1.DaemonSetSpec", + "io.k8s.api.apps.v1.DaemonSetStatus", + "io.k8s.api.apps.v1.DaemonSetUpdateStrategy", + "io.k8s.api.apps.v1.Deployment", + "io.k8s.api.apps.v1.DeploymentCondition", + "io.k8s.api.apps.v1.DeploymentList", + "io.k8s.api.apps.v1.DeploymentSpec", + "io.k8s.api.apps.v1.DeploymentStatus", + "io.k8s.api.apps.v1.DeploymentStrategy", + "io.k8s.api.apps.v1.ReplicaSet", + "io.k8s.api.apps.v1.ReplicaSetCondition", + "io.k8s.api.apps.v1.ReplicaSetList", + "io.k8s.api.apps.v1.ReplicaSetSpec", + "io.k8s.api.apps.v1.ReplicaSetStatus", + "io.k8s.api.apps.v1.RollingUpdateDaemonSet", + "io.k8s.api.apps.v1.RollingUpdateDeployment", + "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy", + "io.k8s.api.apps.v1.StatefulSet", + "io.k8s.api.apps.v1.StatefulSetCondition", + "io.k8s.api.apps.v1.StatefulSetList", + "io.k8s.api.apps.v1.StatefulSetOrdinals", + "io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy", + "io.k8s.api.apps.v1.StatefulSetSpec", + "io.k8s.api.apps.v1.StatefulSetStatus", + "io.k8s.api.apps.v1.StatefulSetUpdateStrategy", + "io.k8s.api.authentication.v1.BoundObjectReference", + "io.k8s.api.authentication.v1.SelfSubjectReview", + "io.k8s.api.authentication.v1.SelfSubjectReviewStatus", + "io.k8s.api.authentication.v1.TokenRequest", + "io.k8s.api.authentication.v1.TokenRequestSpec", + "io.k8s.api.authentication.v1.TokenRequestStatus", + "io.k8s.api.authentication.v1.TokenReview", + "io.k8s.api.authentication.v1.TokenReviewSpec", + "io.k8s.api.authentication.v1.TokenReviewStatus", + "io.k8s.api.authentication.v1.UserInfo", + "io.k8s.api.authorization.v1.FieldSelectorAttributes", + "io.k8s.api.authorization.v1.LabelSelectorAttributes", + "io.k8s.api.authorization.v1.LocalSubjectAccessReview", + "io.k8s.api.authorization.v1.NonResourceAttributes", + "io.k8s.api.authorization.v1.NonResourceRule", + "io.k8s.api.authorization.v1.ResourceAttributes", + "io.k8s.api.authorization.v1.ResourceRule", + "io.k8s.api.authorization.v1.SelfSubjectAccessReview", + "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec", + "io.k8s.api.authorization.v1.SelfSubjectRulesReview", + "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec", + "io.k8s.api.authorization.v1.SubjectAccessReview", + "io.k8s.api.authorization.v1.SubjectAccessReviewSpec", + "io.k8s.api.authorization.v1.SubjectAccessReviewStatus", + "io.k8s.api.authorization.v1.SubjectRulesReviewStatus", + "io.k8s.api.autoscaling.v1.CrossVersionObjectReference", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec", + "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus", + "io.k8s.api.autoscaling.v1.Scale", + "io.k8s.api.autoscaling.v1.ScaleSpec", + "io.k8s.api.autoscaling.v1.ScaleStatus", + "io.k8s.api.autoscaling.v2.ContainerResourceMetricSource", + "io.k8s.api.autoscaling.v2.ContainerResourceMetricStatus", + "io.k8s.api.autoscaling.v2.CrossVersionObjectReference", + "io.k8s.api.autoscaling.v2.ExternalMetricSource", + "io.k8s.api.autoscaling.v2.ExternalMetricStatus", + "io.k8s.api.autoscaling.v2.HPAScalingPolicy", + "io.k8s.api.autoscaling.v2.HPAScalingRules", + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler", + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior", + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerCondition", + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList", + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerSpec", + "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerStatus", + "io.k8s.api.autoscaling.v2.MetricIdentifier", + "io.k8s.api.autoscaling.v2.MetricSpec", + "io.k8s.api.autoscaling.v2.MetricStatus", + "io.k8s.api.autoscaling.v2.MetricTarget", + "io.k8s.api.autoscaling.v2.MetricValueStatus", + "io.k8s.api.autoscaling.v2.ObjectMetricSource", + "io.k8s.api.autoscaling.v2.ObjectMetricStatus", + "io.k8s.api.autoscaling.v2.PodsMetricSource", + "io.k8s.api.autoscaling.v2.PodsMetricStatus", + "io.k8s.api.autoscaling.v2.ResourceMetricSource", + "io.k8s.api.autoscaling.v2.ResourceMetricStatus", + "io.k8s.api.batch.v1.CronJob", + "io.k8s.api.batch.v1.CronJobList", + "io.k8s.api.batch.v1.CronJobSpec", + "io.k8s.api.batch.v1.CronJobStatus", + "io.k8s.api.batch.v1.Job", + "io.k8s.api.batch.v1.JobCondition", + "io.k8s.api.batch.v1.JobList", + "io.k8s.api.batch.v1.JobSpec", + "io.k8s.api.batch.v1.JobStatus", + "io.k8s.api.batch.v1.JobTemplateSpec", + "io.k8s.api.batch.v1.PodFailurePolicy", + "io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement", + "io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern", + "io.k8s.api.batch.v1.PodFailurePolicyRule", + "io.k8s.api.batch.v1.SuccessPolicy", + "io.k8s.api.batch.v1.SuccessPolicyRule", + "io.k8s.api.batch.v1.UncountedTerminatedPods", + "io.k8s.api.certificates.v1.CertificateSigningRequest", + "io.k8s.api.certificates.v1.CertificateSigningRequestCondition", + "io.k8s.api.certificates.v1.CertificateSigningRequestList", + "io.k8s.api.certificates.v1.CertificateSigningRequestSpec", + "io.k8s.api.certificates.v1.CertificateSigningRequestStatus", + "io.k8s.api.coordination.v1.Lease", + "io.k8s.api.coordination.v1.LeaseList", + "io.k8s.api.coordination.v1.LeaseSpec", + "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", + "io.k8s.api.core.v1.Affinity", + "io.k8s.api.core.v1.AppArmorProfile", + "io.k8s.api.core.v1.AttachedVolume", + "io.k8s.api.core.v1.AzureDiskVolumeSource", + "io.k8s.api.core.v1.AzureFilePersistentVolumeSource", + "io.k8s.api.core.v1.AzureFileVolumeSource", + "io.k8s.api.core.v1.Binding", + "io.k8s.api.core.v1.CSIPersistentVolumeSource", + "io.k8s.api.core.v1.CSIVolumeSource", + "io.k8s.api.core.v1.Capabilities", + "io.k8s.api.core.v1.CephFSPersistentVolumeSource", + "io.k8s.api.core.v1.CephFSVolumeSource", + "io.k8s.api.core.v1.CinderPersistentVolumeSource", + "io.k8s.api.core.v1.CinderVolumeSource", + "io.k8s.api.core.v1.ClientIPConfig", + "io.k8s.api.core.v1.ClusterTrustBundleProjection", + "io.k8s.api.core.v1.ComponentCondition", + "io.k8s.api.core.v1.ComponentStatus", + "io.k8s.api.core.v1.ComponentStatusList", + "io.k8s.api.core.v1.ConfigMap", + "io.k8s.api.core.v1.ConfigMapEnvSource", + "io.k8s.api.core.v1.ConfigMapKeySelector", + "io.k8s.api.core.v1.ConfigMapList", + "io.k8s.api.core.v1.ConfigMapNodeConfigSource", + "io.k8s.api.core.v1.ConfigMapProjection", + "io.k8s.api.core.v1.ConfigMapVolumeSource", + "io.k8s.api.core.v1.Container", + "io.k8s.api.core.v1.ContainerImage", + "io.k8s.api.core.v1.ContainerPort", + "io.k8s.api.core.v1.ContainerResizePolicy", + "io.k8s.api.core.v1.ContainerState", + "io.k8s.api.core.v1.ContainerStateRunning", + "io.k8s.api.core.v1.ContainerStateTerminated", + "io.k8s.api.core.v1.ContainerStateWaiting", + "io.k8s.api.core.v1.ContainerStatus", + "io.k8s.api.core.v1.ContainerUser", + "io.k8s.api.core.v1.DaemonEndpoint", + "io.k8s.api.core.v1.DownwardAPIProjection", + "io.k8s.api.core.v1.DownwardAPIVolumeFile", + "io.k8s.api.core.v1.DownwardAPIVolumeSource", + "io.k8s.api.core.v1.EmptyDirVolumeSource", + "io.k8s.api.core.v1.EndpointAddress", + "io.k8s.api.core.v1.EndpointPort", + "io.k8s.api.core.v1.EndpointSubset", + "io.k8s.api.core.v1.Endpoints", + "io.k8s.api.core.v1.EndpointsList", + "io.k8s.api.core.v1.EnvFromSource", + "io.k8s.api.core.v1.EnvVar", + "io.k8s.api.core.v1.EnvVarSource", + "io.k8s.api.core.v1.EphemeralContainer", + "io.k8s.api.core.v1.EphemeralVolumeSource", + "io.k8s.api.core.v1.Event", + "io.k8s.api.core.v1.EventList", + "io.k8s.api.core.v1.EventSeries", + "io.k8s.api.core.v1.EventSource", + "io.k8s.api.core.v1.ExecAction", + "io.k8s.api.core.v1.FCVolumeSource", + "io.k8s.api.core.v1.FlexPersistentVolumeSource", + "io.k8s.api.core.v1.FlexVolumeSource", + "io.k8s.api.core.v1.FlockerVolumeSource", + "io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", + "io.k8s.api.core.v1.GRPCAction", + "io.k8s.api.core.v1.GitRepoVolumeSource", + "io.k8s.api.core.v1.GlusterfsPersistentVolumeSource", + "io.k8s.api.core.v1.GlusterfsVolumeSource", + "io.k8s.api.core.v1.HTTPGetAction", + "io.k8s.api.core.v1.HTTPHeader", + "io.k8s.api.core.v1.HostAlias", + "io.k8s.api.core.v1.HostIP", + "io.k8s.api.core.v1.HostPathVolumeSource", + "io.k8s.api.core.v1.ISCSIPersistentVolumeSource", + "io.k8s.api.core.v1.ISCSIVolumeSource", + "io.k8s.api.core.v1.ImageVolumeSource", + "io.k8s.api.core.v1.KeyToPath", + "io.k8s.api.core.v1.Lifecycle", + "io.k8s.api.core.v1.LifecycleHandler", + "io.k8s.api.core.v1.LimitRange", + "io.k8s.api.core.v1.LimitRangeItem", + "io.k8s.api.core.v1.LimitRangeList", + "io.k8s.api.core.v1.LimitRangeSpec", + "io.k8s.api.core.v1.LinuxContainerUser", + "io.k8s.api.core.v1.LoadBalancerIngress", + "io.k8s.api.core.v1.LoadBalancerStatus", + "io.k8s.api.core.v1.LocalObjectReference", + "io.k8s.api.core.v1.LocalVolumeSource", + "io.k8s.api.core.v1.ModifyVolumeStatus", + "io.k8s.api.core.v1.NFSVolumeSource", + "io.k8s.api.core.v1.Namespace", + "io.k8s.api.core.v1.NamespaceCondition", + "io.k8s.api.core.v1.NamespaceList", + "io.k8s.api.core.v1.NamespaceSpec", + "io.k8s.api.core.v1.NamespaceStatus", + "io.k8s.api.core.v1.Node", + "io.k8s.api.core.v1.NodeAddress", + "io.k8s.api.core.v1.NodeAffinity", + "io.k8s.api.core.v1.NodeCondition", + "io.k8s.api.core.v1.NodeConfigSource", + "io.k8s.api.core.v1.NodeConfigStatus", + "io.k8s.api.core.v1.NodeDaemonEndpoints", + "io.k8s.api.core.v1.NodeFeatures", + "io.k8s.api.core.v1.NodeList", + "io.k8s.api.core.v1.NodeRuntimeHandler", + "io.k8s.api.core.v1.NodeRuntimeHandlerFeatures", + "io.k8s.api.core.v1.NodeSelector", + "io.k8s.api.core.v1.NodeSelectorRequirement", + "io.k8s.api.core.v1.NodeSelectorTerm", + "io.k8s.api.core.v1.NodeSpec", + "io.k8s.api.core.v1.NodeStatus", + "io.k8s.api.core.v1.NodeSystemInfo", + "io.k8s.api.core.v1.ObjectFieldSelector", + "io.k8s.api.core.v1.ObjectReference", + "io.k8s.api.core.v1.PersistentVolume", + "io.k8s.api.core.v1.PersistentVolumeClaim", + "io.k8s.api.core.v1.PersistentVolumeClaimCondition", + "io.k8s.api.core.v1.PersistentVolumeClaimList", + "io.k8s.api.core.v1.PersistentVolumeClaimSpec", + "io.k8s.api.core.v1.PersistentVolumeClaimStatus", + "io.k8s.api.core.v1.PersistentVolumeClaimTemplate", + "io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource", + "io.k8s.api.core.v1.PersistentVolumeList", + "io.k8s.api.core.v1.PersistentVolumeSpec", + "io.k8s.api.core.v1.PersistentVolumeStatus", + "io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", + "io.k8s.api.core.v1.Pod", + "io.k8s.api.core.v1.PodAffinity", + "io.k8s.api.core.v1.PodAffinityTerm", + "io.k8s.api.core.v1.PodAntiAffinity", + "io.k8s.api.core.v1.PodCondition", + "io.k8s.api.core.v1.PodDNSConfig", + "io.k8s.api.core.v1.PodDNSConfigOption", + "io.k8s.api.core.v1.PodIP", + "io.k8s.api.core.v1.PodList", + "io.k8s.api.core.v1.PodOS", + "io.k8s.api.core.v1.PodReadinessGate", + "io.k8s.api.core.v1.PodResourceClaim", + "io.k8s.api.core.v1.PodResourceClaimStatus", + "io.k8s.api.core.v1.PodSchedulingGate", + "io.k8s.api.core.v1.PodSecurityContext", + "io.k8s.api.core.v1.PodSpec", + "io.k8s.api.core.v1.PodStatus", + "io.k8s.api.core.v1.PodTemplate", + "io.k8s.api.core.v1.PodTemplateList", + "io.k8s.api.core.v1.PodTemplateSpec", + "io.k8s.api.core.v1.PortStatus", + "io.k8s.api.core.v1.PortworxVolumeSource", + "io.k8s.api.core.v1.PreferredSchedulingTerm", + "io.k8s.api.core.v1.Probe", + "io.k8s.api.core.v1.ProjectedVolumeSource", + "io.k8s.api.core.v1.QuobyteVolumeSource", + "io.k8s.api.core.v1.RBDPersistentVolumeSource", + "io.k8s.api.core.v1.RBDVolumeSource", + "io.k8s.api.core.v1.ReplicationController", + "io.k8s.api.core.v1.ReplicationControllerCondition", + "io.k8s.api.core.v1.ReplicationControllerList", + "io.k8s.api.core.v1.ReplicationControllerSpec", + "io.k8s.api.core.v1.ReplicationControllerStatus", + "io.k8s.api.core.v1.ResourceClaim", + "io.k8s.api.core.v1.ResourceFieldSelector", + "io.k8s.api.core.v1.ResourceHealth", + "io.k8s.api.core.v1.ResourceQuota", + "io.k8s.api.core.v1.ResourceQuotaList", + "io.k8s.api.core.v1.ResourceQuotaSpec", + "io.k8s.api.core.v1.ResourceQuotaStatus", + "io.k8s.api.core.v1.ResourceRequirements", + "io.k8s.api.core.v1.ResourceStatus", + "io.k8s.api.core.v1.SELinuxOptions", + "io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", + "io.k8s.api.core.v1.ScaleIOVolumeSource", + "io.k8s.api.core.v1.ScopeSelector", + "io.k8s.api.core.v1.ScopedResourceSelectorRequirement", + "io.k8s.api.core.v1.SeccompProfile", + "io.k8s.api.core.v1.Secret", + "io.k8s.api.core.v1.SecretEnvSource", + "io.k8s.api.core.v1.SecretKeySelector", + "io.k8s.api.core.v1.SecretList", + "io.k8s.api.core.v1.SecretProjection", + "io.k8s.api.core.v1.SecretReference", + "io.k8s.api.core.v1.SecretVolumeSource", + "io.k8s.api.core.v1.SecurityContext", + "io.k8s.api.core.v1.Service", + "io.k8s.api.core.v1.ServiceAccount", + "io.k8s.api.core.v1.ServiceAccountList", + "io.k8s.api.core.v1.ServiceAccountTokenProjection", + "io.k8s.api.core.v1.ServiceList", + "io.k8s.api.core.v1.ServicePort", + "io.k8s.api.core.v1.ServiceSpec", + "io.k8s.api.core.v1.ServiceStatus", + "io.k8s.api.core.v1.SessionAffinityConfig", + "io.k8s.api.core.v1.SleepAction", + "io.k8s.api.core.v1.StorageOSPersistentVolumeSource", + "io.k8s.api.core.v1.StorageOSVolumeSource", + "io.k8s.api.core.v1.Sysctl", + "io.k8s.api.core.v1.TCPSocketAction", + "io.k8s.api.core.v1.Taint", + "io.k8s.api.core.v1.Toleration", + "io.k8s.api.core.v1.TopologySelectorLabelRequirement", + "io.k8s.api.core.v1.TopologySelectorTerm", + "io.k8s.api.core.v1.TopologySpreadConstraint", + "io.k8s.api.core.v1.TypedLocalObjectReference", + "io.k8s.api.core.v1.TypedObjectReference", + "io.k8s.api.core.v1.Volume", + "io.k8s.api.core.v1.VolumeDevice", + "io.k8s.api.core.v1.VolumeMount", + "io.k8s.api.core.v1.VolumeMountStatus", + "io.k8s.api.core.v1.VolumeNodeAffinity", + "io.k8s.api.core.v1.VolumeProjection", + "io.k8s.api.core.v1.VolumeResourceRequirements", + "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", + "io.k8s.api.core.v1.WeightedPodAffinityTerm", + "io.k8s.api.core.v1.WindowsSecurityContextOptions", + "io.k8s.api.discovery.v1.Endpoint", + "io.k8s.api.discovery.v1.EndpointConditions", + "io.k8s.api.discovery.v1.EndpointHints", + "io.k8s.api.discovery.v1.EndpointPort", + "io.k8s.api.discovery.v1.EndpointSlice", + "io.k8s.api.discovery.v1.EndpointSliceList", + "io.k8s.api.discovery.v1.ForZone", + "io.k8s.api.events.v1.Event", + "io.k8s.api.events.v1.EventList", + "io.k8s.api.events.v1.EventSeries", + "io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration", + "io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod", + "io.k8s.api.flowcontrol.v1.FlowSchema", + "io.k8s.api.flowcontrol.v1.FlowSchemaCondition", + "io.k8s.api.flowcontrol.v1.FlowSchemaList", + "io.k8s.api.flowcontrol.v1.FlowSchemaSpec", + "io.k8s.api.flowcontrol.v1.FlowSchemaStatus", + "io.k8s.api.flowcontrol.v1.GroupSubject", + "io.k8s.api.flowcontrol.v1.LimitResponse", + "io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration", + "io.k8s.api.flowcontrol.v1.NonResourcePolicyRule", + "io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects", + "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration", + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition", + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList", + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference", + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec", + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus", + "io.k8s.api.flowcontrol.v1.QueuingConfiguration", + "io.k8s.api.flowcontrol.v1.ResourcePolicyRule", + "io.k8s.api.flowcontrol.v1.ServiceAccountSubject", + "io.k8s.api.flowcontrol.v1.Subject", + "io.k8s.api.flowcontrol.v1.UserSubject", + "io.k8s.api.networking.v1.HTTPIngressPath", + "io.k8s.api.networking.v1.HTTPIngressRuleValue", + "io.k8s.api.networking.v1.IPBlock", + "io.k8s.api.networking.v1.Ingress", + "io.k8s.api.networking.v1.IngressBackend", + "io.k8s.api.networking.v1.IngressClass", + "io.k8s.api.networking.v1.IngressClassList", + "io.k8s.api.networking.v1.IngressClassParametersReference", + "io.k8s.api.networking.v1.IngressClassSpec", + "io.k8s.api.networking.v1.IngressList", + "io.k8s.api.networking.v1.IngressLoadBalancerIngress", + "io.k8s.api.networking.v1.IngressLoadBalancerStatus", + "io.k8s.api.networking.v1.IngressPortStatus", + "io.k8s.api.networking.v1.IngressRule", + "io.k8s.api.networking.v1.IngressServiceBackend", + "io.k8s.api.networking.v1.IngressSpec", + "io.k8s.api.networking.v1.IngressStatus", + "io.k8s.api.networking.v1.IngressTLS", + "io.k8s.api.networking.v1.NetworkPolicy", + "io.k8s.api.networking.v1.NetworkPolicyEgressRule", + "io.k8s.api.networking.v1.NetworkPolicyIngressRule", + "io.k8s.api.networking.v1.NetworkPolicyList", + "io.k8s.api.networking.v1.NetworkPolicyPeer", + "io.k8s.api.networking.v1.NetworkPolicyPort", + "io.k8s.api.networking.v1.NetworkPolicySpec", + "io.k8s.api.networking.v1.ServiceBackendPort", + "io.k8s.api.node.v1.Overhead", + "io.k8s.api.node.v1.RuntimeClass", + "io.k8s.api.node.v1.RuntimeClassList", + "io.k8s.api.node.v1.Scheduling", + "io.k8s.api.policy.v1.Eviction", + "io.k8s.api.policy.v1.PodDisruptionBudget", + "io.k8s.api.policy.v1.PodDisruptionBudgetList", + "io.k8s.api.policy.v1.PodDisruptionBudgetSpec", + "io.k8s.api.policy.v1.PodDisruptionBudgetStatus", + "io.k8s.api.rbac.v1.AggregationRule", + "io.k8s.api.rbac.v1.ClusterRole", + "io.k8s.api.rbac.v1.ClusterRoleBinding", + "io.k8s.api.rbac.v1.ClusterRoleBindingList", + "io.k8s.api.rbac.v1.ClusterRoleList", + "io.k8s.api.rbac.v1.PolicyRule", + "io.k8s.api.rbac.v1.Role", + "io.k8s.api.rbac.v1.RoleBinding", + "io.k8s.api.rbac.v1.RoleBindingList", + "io.k8s.api.rbac.v1.RoleList", + "io.k8s.api.rbac.v1.RoleRef", + "io.k8s.api.rbac.v1.Subject", + "io.k8s.api.scheduling.v1.PriorityClass", + "io.k8s.api.scheduling.v1.PriorityClassList", + "io.k8s.api.storage.v1.CSIDriver", + "io.k8s.api.storage.v1.CSIDriverList", + "io.k8s.api.storage.v1.CSIDriverSpec", + "io.k8s.api.storage.v1.CSINode", + "io.k8s.api.storage.v1.CSINodeDriver", + "io.k8s.api.storage.v1.CSINodeList", + "io.k8s.api.storage.v1.CSINodeSpec", + "io.k8s.api.storage.v1.CSIStorageCapacity", + "io.k8s.api.storage.v1.CSIStorageCapacityList", + "io.k8s.api.storage.v1.StorageClass", + "io.k8s.api.storage.v1.StorageClassList", + "io.k8s.api.storage.v1.TokenRequest", + "io.k8s.api.storage.v1.VolumeAttachment", + "io.k8s.api.storage.v1.VolumeAttachmentList", + "io.k8s.api.storage.v1.VolumeAttachmentSource", + "io.k8s.api.storage.v1.VolumeAttachmentSpec", + "io.k8s.api.storage.v1.VolumeAttachmentStatus", + "io.k8s.api.storage.v1.VolumeError", + "io.k8s.api.storage.v1.VolumeNodeResources", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig", + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion", + "io.k8s.apimachinery.pkg.api.resource.Quantity", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList", + "io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions", + "io.k8s.apimachinery.pkg.apis.meta.v1.Condition", + "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions", + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement", + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1", + "io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery", + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement", + "io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry", + "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference", + "io.k8s.apimachinery.pkg.apis.meta.v1.Patch", + "io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions", + "io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR", + "io.k8s.apimachinery.pkg.apis.meta.v1.Status", + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause", + "io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails", + "io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent", + "io.k8s.apimachinery.pkg.runtime.RawExtension", + "io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "io.k8s.apimachinery.pkg.version.Info", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus", + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference" +] \ No newline at end of file diff --git a/packages/schema-sdk/__tests__/__snapshots__/openapi.extended.generate.test.ts.snap b/packages/schema-sdk/__tests__/__snapshots__/openapi.extended.generate.test.ts.snap new file mode 100644 index 0000000..bd735b5 --- /dev/null +++ b/packages/schema-sdk/__tests__/__snapshots__/openapi.extended.generate.test.ts.snap @@ -0,0 +1,80431 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`merged 1`] = ` +"import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; +export interface Alertmanager { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalPeers?: string[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertmanagerConfigMatcherStrategy?: { + type?: "OnNamespace" | "OnNamespaceExceptForAlertmanagerNamespace" | "None"; + }; + alertmanagerConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfiguration?: { + global?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + jira?: { + apiURL?: string; + }; + opsGenieApiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + opsGenieApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + pagerdutyUrl?: string; + resolveTimeout?: string; + rocketChat?: { + apiURL?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + slackApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + smtp?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + hello?: string; + requireTLS?: boolean; + smartHost?: { + host: string; + port: string; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + telegram?: { + apiURL?: string; + }; + victorops?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + webex?: { + apiURL?: string; + }; + wechat?: { + apiCorpID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + }; + name?: string; + templates?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + clusterAdvertiseAddress?: string; + clusterGossipInterval?: string; + clusterLabel?: string; + clusterPeerTimeout?: string; + clusterPushpullInterval?: string; + clusterTLS?: { + client: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + server: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + configMaps?: string[]; + configSecret?: string; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + externalUrl?: string; + forceEnableClusterMode?: boolean; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + limits?: { + maxPerSilenceBytes?: string; + maxSilences?: number; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + sha?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + getConcurrency?: number; + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + timeout?: number; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface AlertmanagerList { + apiVersion?: string; + items: Alertmanager[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podMetricsEndpoints?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + portNumber?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLimit?: number; + }; +} +export interface PodMonitorList { + apiVersion?: string; + items: PodMonitor[]; + kind?: string; + metadata?: ListMeta; +} +export interface Probe { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + interval?: string; + jobName?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + module?: string; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + name: string; + values?: string[]; + }[]; + prober?: { + noProxy?: string; + path?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scheme?: "http" | "https"; + url: string; + }; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + targetLimit?: number; + targets?: { + ingress?: { + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + staticConfig?: { + labels?: { + [key: string]: unknown; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + static?: string[]; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; +} +export interface ProbeList { + apiVersion?: string; + items: Probe[]; + kind?: string; + metadata?: ListMeta; +} +export interface Prometheus { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalAlertManagerConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalAlertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alerting?: { + alertmanagers: { + alertRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + apiVersion?: "v1" | "V1" | "v2" | "V2"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + enableHttp2?: boolean; + name: string; + namespace?: string; + noProxy?: string; + pathPrefix?: string; + port: any; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: string; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + }; + allowOverlappingBlocks?: boolean; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + disableCompaction?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableAdminAPI?: boolean; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + exemplars?: { + maxSize?: number; + }; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + query?: { + lookbackDelta?: string; + maxConcurrency?: number; + maxSamples?: number; + timeout?: string; + }; + queryLogFile?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteRead?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + filterExternalLabels?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + readRecent?: boolean; + remoteTimeout?: string; + requiredMatchers?: { + [key: string]: unknown; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + retentionSize?: string; + routePrefix?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + rules?: { + alert?: { + forGracePeriod?: string; + forOutageTolerance?: string; + resendDelay?: string; + }; + }; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + sha?: string; + shardRetentionPolicy?: { + retain?: { + retentionPeriod: string; + }; + whenScaled?: "Retain" | "Delete"; + }; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + thanos?: { + additionalArgs?: { + name: string; + value?: string; + }[]; + baseImage?: string; + blockSize?: string; + getConfigInterval?: string; + getConfigTimeout?: string; + grpcListenLocal?: boolean; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + httpListenLocal?: boolean; + image?: string; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minTime?: string; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + readyTimeout?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + sha?: string; + tag?: string; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + }; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface PrometheusList { + apiVersion?: string; + items: Prometheus[]; + kind?: string; + metadata?: ListMeta; +} +export interface PrometheusRule { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + groups?: { + interval?: string; + labels?: { + [key: string]: unknown; + }; + limit?: number; + name: string; + partial_response_strategy?: string; + query_offset?: string; + rules?: { + alert?: string; + annotations?: { + [key: string]: unknown; + }; + expr: any; + for?: string; + keep_firing_for?: string; + labels?: { + [key: string]: unknown; + }; + record?: string; + }[]; + }[]; + }; +} +export interface PrometheusRuleList { + apiVersion?: string; + items: PrometheusRule[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServiceMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + endpoints: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLabels?: string[]; + targetLimit?: number; + }; + status?: { + bindings?: { + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: "Accepted"; + }[]; + group: "monitoring.coreos.com"; + name: string; + namespace: string; + resource: "prometheuses" | "prometheusagents"; + }[]; + }; +} +export interface ServiceMonitorList { + apiVersion?: string; + items: ServiceMonitor[]; + kind?: string; + metadata?: ListMeta; +} +export interface ThanosRuler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertDropLabels?: string[]; + alertQueryUrl?: string; + alertRelabelConfigFile?: string; + alertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersUrl?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + enforcedNamespaceLabel?: string; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalPrefix?: string; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + labels?: { + [key: string]: unknown; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + paused?: boolean; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + queryConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + queryEndpoints?: string[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + replicas?: number; + resendDelay?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + ruleConcurrentEval?: number; + ruleGracePeriod?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleOutageTolerance?: string; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface ThanosRulerList { + apiVersion?: string; + items: ThanosRuler[]; + kind?: string; + metadata?: ListMeta; +} +export interface AlertmanagerConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + inhibitRules?: { + equal?: string[]; + sourceMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + targetMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + }[]; + muteTimeIntervals?: { + name: string; + timeIntervals?: { + daysOfMonth?: { + end?: number; + start?: number; + }[]; + months?: string[]; + times?: { + endTime?: string; + startTime?: string; + }[]; + weekdays?: string[]; + years?: string[]; + }[]; + }[]; + receivers?: { + discordConfigs?: { + apiURL: { + key: string; + name?: string; + optional?: boolean; + }; + avatarURL?: string; + content?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + sendResolved?: boolean; + title?: string; + username?: string; + }[]; + emailConfigs?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + headers?: { + key: string; + value: string; + }[]; + hello?: string; + html?: string; + requireTLS?: boolean; + sendResolved?: boolean; + smarthost?: string; + text?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + to?: string; + }[]; + msteamsConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + summary?: string; + text?: string; + title?: string; + webhookUrl: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + msteamsv2Configs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + text?: string; + title?: string; + webhookURL?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + name: string; + opsgenieConfigs?: { + actions?: string; + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + entity?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + note?: string; + priority?: string; + responders?: { + id?: string; + name?: string; + type: string; + username?: string; + }[]; + sendResolved?: boolean; + source?: string; + tags?: string; + updateAlerts?: boolean; + }[]; + pagerdutyConfigs?: { + class?: string; + client?: string; + clientURL?: string; + component?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + group?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + pagerDutyImageConfigs?: { + alt?: string; + href?: string; + src?: string; + }[]; + pagerDutyLinkConfigs?: { + alt?: string; + href?: string; + }[]; + routingKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sendResolved?: boolean; + serviceKey?: { + key: string; + name?: string; + optional?: boolean; + }; + severity?: string; + source?: string; + url?: string; + }[]; + pushoverConfigs?: { + device?: string; + expire?: string; + html?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + priority?: string; + retry?: string; + sendResolved?: boolean; + sound?: string; + title?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenFile?: string; + ttl?: string; + url?: string; + urlTitle?: string; + userKey?: { + key: string; + name?: string; + optional?: boolean; + }; + userKeyFile?: string; + }[]; + rocketchatConfigs?: { + actions?: { + msg?: string; + text?: string; + url?: string; + }[]; + apiURL?: string; + channel?: string; + color?: string; + emoji?: string; + fields?: { + short?: boolean; + title?: string; + value?: string; + }[]; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + token: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + slackConfigs?: { + actions?: { + confirm?: { + dismissText?: string; + okText?: string; + text: string; + title?: string; + }; + name?: string; + style?: string; + text: string; + type: string; + url?: string; + value?: string; + }[]; + apiURL?: { + key: string; + name?: string; + optional?: boolean; + }; + callbackId?: string; + channel?: string; + color?: string; + fallback?: string; + fields?: { + short?: boolean; + title: string; + value: string; + }[]; + footer?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconEmoji?: string; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + mrkdwnIn?: string[]; + pretext?: string; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + username?: string; + }[]; + snsConfigs?: { + apiURL?: string; + attributes?: { + [key: string]: unknown; + }; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + phoneNumber?: string; + sendResolved?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + subject?: string; + targetARN?: string; + topicARN?: string; + }[]; + telegramConfigs?: { + apiURL?: string; + botToken?: { + key: string; + name?: string; + optional?: boolean; + }; + botTokenFile?: string; + chatID: number; + disableNotifications?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageThreadID?: number; + parseMode?: "MarkdownV2" | "Markdown" | "HTML"; + sendResolved?: boolean; + }[]; + victoropsConfigs?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiUrl?: string; + customFields?: { + key: string; + value: string; + }[]; + entityDisplayName?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + messageType?: string; + monitoringTool?: string; + routingKey?: string; + sendResolved?: boolean; + stateMessage?: string; + }[]; + webexConfigs?: { + apiURL?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + roomID: string; + sendResolved?: boolean; + }[]; + webhookConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + maxAlerts?: number; + sendResolved?: boolean; + timeout?: string; + url?: string; + urlSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + wechatConfigs?: { + agentID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + corpID?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageType?: string; + sendResolved?: boolean; + toParty?: string; + toTag?: string; + toUser?: string; + }[]; + }[]; + route?: { + activeTimeIntervals?: string[]; + continue?: boolean; + groupBy?: string[]; + groupInterval?: string; + groupWait?: string; + matchers?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + muteTimeIntervals?: string[]; + receiver?: string; + repeatInterval?: string; + routes?: any[]; + }; + }; +} +export interface AlertmanagerConfigList { + apiVersion?: string; + items: AlertmanagerConfig[]; + kind?: string; + metadata?: ListMeta; +} +export interface PrometheusAgent { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + mode?: "StatefulSet" | "DaemonSet"; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + routePrefix?: string; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +export interface PrometheusAgentList { + apiVersion?: string; + items: PrometheusAgent[]; + kind?: string; + metadata?: ListMeta; +} +export interface ScrapeConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + azureSDConfigs?: { + authenticationMethod?: "OAuth" | "ManagedIdentity" | "SDK"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + clientSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + environment?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + resourceGroup?: string; + subscriptionID: string; + tenantID?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + consulSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + datacenter?: string; + enableHTTP2?: boolean; + filter?: string; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + nodeMeta?: { + [key: string]: unknown; + }; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + partition?: string; + pathPrefix?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + scheme?: "HTTP" | "HTTPS"; + server: string; + services?: string[]; + tagSeparator?: string; + tags?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + convertClassicHistogramsToNHCB?: boolean; + digitalOceanSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dnsSDConfigs?: { + names: string[]; + port?: number; + refreshInterval?: string; + type?: "A" | "AAAA" | "MX" | "NS" | "SRV"; + }[]; + dockerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + hostNetworkingHost?: string; + matchFirstNetwork?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dockerSwarmSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Services" | "Tasks" | "Nodes"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + ec2SDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + noProxy?: string; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + enableCompression?: boolean; + enableHTTP2?: boolean; + eurekaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + fileSDConfigs?: { + files: string[]; + refreshInterval?: string; + }[]; + gceSDConfigs?: { + filter?: string; + port?: number; + project: string; + refreshInterval?: string; + tagSeparator?: string; + zone: string; + }[]; + hetznerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + labelSelector?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "hcloud" | "Hcloud" | "robot" | "Robot"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + honorLabels?: boolean; + honorTimestamps?: boolean; + httpSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + ionosSDConfigs?: { + authorization: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + datacenterID: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + jobName?: string; + keepDroppedTargets?: number; + kubernetesSDConfigs?: { + apiServer?: string; + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespaces?: { + names?: string[]; + ownNamespace?: boolean; + }; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + selectors?: { + field?: string; + label?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + kumaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + enableHTTP2?: boolean; + fetchTimeout?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + lightSailSDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + endpoint?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + linodeSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + metricsPath?: string; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + noProxy?: string; + nomadSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + server: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + openstackSDConfigs?: { + allTenants?: boolean; + applicationCredentialId?: string; + applicationCredentialName?: string; + applicationCredentialSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + availability?: "Public" | "public" | "Admin" | "admin" | "Internal" | "internal"; + domainID?: string; + domainName?: string; + identityEndpoint?: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + port?: number; + projectID?: string; + projectName?: string; + refreshInterval?: string; + region: string; + role: "Instance" | "Hypervisor" | "LoadBalancer"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + userid?: string; + username?: string; + }[]; + ovhcloudSDConfigs?: { + applicationKey: string; + applicationSecret: { + key: string; + name?: string; + optional?: boolean; + }; + consumerKey: { + key: string; + name?: string; + optional?: boolean; + }; + endpoint?: string; + refreshInterval?: string; + service: string; + }[]; + params?: { + [key: string]: unknown; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + puppetDBSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + includeParameters?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + query: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + sampleLimit?: number; + scalewaySDConfigs?: { + accessKey: string; + apiURL?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + nameFilter?: string; + noProxy?: string; + port?: number; + projectID: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Instance" | "Baremetal"; + secretKey: { + key: string; + name?: string; + optional?: boolean; + }; + tagsFilter?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + zone?: string; + }[]; + scheme?: "HTTP" | "HTTPS"; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + staticConfigs?: { + labels?: { + [key: string]: unknown; + }; + targets: string[]; + }[]; + targetLimit?: number; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }; +} +export interface ScrapeConfigList { + apiVersion?: string; + items: ScrapeConfig[]; + kind?: string; + metadata?: ListMeta; +} +export interface Metric { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + panicWindow: number; + scrapeTarget: string; + stableWindow: number; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +export interface MetricList { + apiVersion?: string; + items: Metric[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + containerConcurrency?: number; + protocolType: string; + reachability?: string; + scaleTargetRef: { + apiVersion?: string; + kind?: string; + name?: string; + }; + }; + status?: { + actualScale?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + desiredScale?: number; + metricsServiceName: string; + observedGeneration?: number; + serviceName: string; + }; +} +export interface PodAutoscalerList { + apiVersion?: string; + items: PodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +export interface Image { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + image: string; + imagePullSecrets?: { + name?: string; + }[]; + serviceAccountName?: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +export interface ImageList { + apiVersion?: string; + items: Image[]; + kind?: string; + metadata?: ListMeta; +} +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + dnsNames: string[]; + domain?: string; + secretName: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + http01Challenges?: { + serviceName?: string; + serviceNamespace?: string; + servicePort?: any; + url?: string; + }[]; + notAfter?: string; + observedGeneration?: number; + }; +} +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterDomainClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + namespace: string; + }; +} +export interface ClusterDomainClaimList { + apiVersion?: string; + items: ClusterDomainClaim[]; + kind?: string; + metadata?: ListMeta; +} +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + httpOption?: string; + rules?: { + hosts?: string[]; + http?: { + paths: { + appendHeaders?: { + [key: string]: unknown; + }; + headers?: { + [key: string]: unknown; + }; + path?: string; + rewriteHost?: string; + splits: { + appendHeaders?: { + [key: string]: unknown; + }; + percent?: number; + serviceName: string; + serviceNamespace: string; + servicePort: any; + }[]; + }[]; + }; + visibility?: string; + }[]; + tls?: { + hosts?: string[]; + secretName?: string; + secretNamespace?: string; + }[]; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + publicLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + }; +} +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServerlessService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + mode?: string; + numActivators?: number; + objectRef: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + protocolType: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateServiceName?: string; + serviceName?: string; + }; +} +export interface ServerlessServiceList { + apiVersion?: string; + items: ServerlessService[]; + kind?: string; + metadata?: ListMeta; +} +export interface Configuration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + }; +} +export interface ConfigurationList { + apiVersion?: string; + items: Configuration[]; + kind?: string; + metadata?: ListMeta; +} +export interface Revision { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + status?: { + actualReplicas?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + containerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + desiredReplicas?: number; + initContainerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + logUrl?: string; + observedGeneration?: number; + }; +} +export interface RevisionList { + apiVersion?: string; + items: Revision[]; + kind?: string; + metadata?: ListMeta; +} +export interface Route { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +export interface RouteList { + apiVersion?: string; + items: Route[]; + kind?: string; + metadata?: ListMeta; +} +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +export interface DomainMapping { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + ref: { + address?: string; + apiVersion?: string; + group?: string; + kind: string; + name: string; + namespace?: string; + }; + tls?: { + secretName: string; + }; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + url?: string; + }; +} +export interface DomainMappingList { + apiVersion?: string; + items: DomainMapping[]; + kind?: string; + metadata?: ListMeta; +} +export interface Challenge { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + authorizationURL: string; + dnsName: string; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + key: string; + solver: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + token: string; + type: "HTTP-01" | "DNS-01"; + url: string; + wildcard?: boolean; + }; + status?: { + presented?: boolean; + processing?: boolean; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + }; +} +export interface ChallengeList { + apiVersion?: string; + items: Challenge[]; + kind?: string; + metadata?: ListMeta; +} +export interface Order { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + commonName?: string; + dnsNames?: string[]; + duration?: string; + ipAddresses?: string[]; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + }; + status?: { + authorizations?: { + challenges?: { + token: string; + type: string; + url: string; + }[]; + identifier?: string; + initialState?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url: string; + wildcard?: boolean; + }[]; + certificate?: string; + failureTime?: string; + finalizeURL?: string; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url?: string; + }; +} +export interface OrderList { + apiVersion?: string; + items: Order[]; + kind?: string; + metadata?: ListMeta; +} +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + additionalOutputFormats?: { + type: "DER" | "CombinedPEM"; + }[]; + commonName?: string; + dnsNames?: string[]; + duration?: string; + emailAddresses?: string[]; + encodeUsagesInRequest?: boolean; + ipAddresses?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + keystores?: { + jks?: { + alias?: string; + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + }; + pkcs12?: { + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + profile?: "LegacyRC2" | "LegacyDES" | "Modern2023"; + }; + }; + literalSubject?: string; + nameConstraints?: { + critical?: boolean; + excluded?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + permitted?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + }; + otherNames?: { + oid?: string; + utf8Value?: string; + }[]; + privateKey?: { + algorithm?: "RSA" | "ECDSA" | "Ed25519"; + encoding?: "PKCS1" | "PKCS8"; + rotationPolicy?: "Never" | "Always"; + size?: number; + }; + renewBefore?: string; + renewBeforePercentage?: number; + revisionHistoryLimit?: number; + secretName: string; + secretTemplate?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + subject?: { + countries?: string[]; + localities?: string[]; + organizationalUnits?: string[]; + organizations?: string[]; + postalCodes?: string[]; + provinces?: string[]; + serialNumber?: string; + streetAddresses?: string[]; + }; + uris?: string[]; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + }; + status?: { + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failedIssuanceAttempts?: number; + lastFailureTime?: string; + nextPrivateKeySecretName?: string; + notAfter?: string; + notBefore?: string; + renewalTime?: string; + revision?: number; + }; +} +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +export interface CertificateRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + duration?: string; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + uid?: string; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + username?: string; + }; + status?: { + ca?: string; + certificate?: string; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failureTime?: string; + }; +} +export interface CertificateRequestList { + apiVersion?: string; + items: CertificateRequest[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterIssuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +export interface ClusterIssuerList { + apiVersion?: string; + items: ClusterIssuer[]; + kind?: string; + metadata?: ListMeta; +} +export interface Issuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +export interface IssuerList { + apiVersion?: string; + items: Issuer[]; + kind?: string; + metadata?: ListMeta; +} +export interface Backup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + target?: "primary" | "prefer-standby"; + }; + status?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + backupId?: string; + backupLabelFile?: string; + backupName?: string; + beginLSN?: string; + beginWal?: string; + commandError?: string; + commandOutput?: string; + destinationPath?: string; + encryption?: string; + endLSN?: string; + endWal?: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + error?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + instanceID?: { + ContainerID?: string; + podName?: string; + }; + method?: string; + online?: boolean; + phase?: string; + pluginMetadata?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + snapshotBackupStatus?: { + elements?: { + name: string; + tablespaceName?: string; + type: string; + }[]; + }; + startedAt?: string; + stoppedAt?: string; + tablespaceMapFile?: string; + }; +} +export interface BackupList { + apiVersion?: string; + items: Backup[]; + kind?: string; + metadata?: ListMeta; +} +export interface Cluster { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + affinity?: { + additionalPodAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + additionalPodAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + enablePodAntiAffinity?: boolean; + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + nodeSelector?: { + [key: string]: unknown; + }; + podAntiAffinityType?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologyKey?: string; + }; + backup?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + retentionPolicy?: string; + target?: "primary" | "prefer-standby"; + volumeSnapshot?: { + annotations?: { + [key: string]: unknown; + }; + className?: string; + labels?: { + [key: string]: unknown; + }; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + snapshotOwnerReference?: "none" | "cluster" | "backup"; + tablespaceClassName?: { + [key: string]: unknown; + }; + walClassName?: string; + }; + }; + bootstrap?: { + initdb?: { + builtinLocale?: string; + dataChecksums?: boolean; + database?: string; + encoding?: string; + icuLocale?: string; + icuRules?: string; + import?: { + databases: string[]; + pgDumpExtraOptions?: string[]; + pgRestoreExtraOptions?: string[]; + postImportApplicationSQL?: string[]; + roles?: string[]; + schemaOnly?: boolean; + source: { + externalCluster: string; + }; + type: "microservice" | "monolith"; + }; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + options?: string[]; + owner?: string; + postInitApplicationSQL?: string[]; + postInitApplicationSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitSQL?: string[]; + postInitSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitTemplateSQL?: string[]; + postInitTemplateSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + secret?: { + name: string; + }; + walSegmentSize?: number; + }; + pg_basebackup?: { + database?: string; + owner?: string; + secret?: { + name: string; + }; + source: string; + }; + recovery?: { + backup?: { + endpointCA?: { + key: string; + name: string; + }; + name: string; + }; + database?: string; + owner?: string; + recoveryTarget?: { + backupID?: string; + exclusive?: boolean; + targetImmediate?: boolean; + targetLSN?: string; + targetName?: string; + targetTLI?: string; + targetTime?: string; + targetXID?: string; + }; + secret?: { + name: string; + }; + source?: string; + volumeSnapshots?: { + storage: { + apiGroup?: string; + kind: string; + name: string; + }; + tablespaceStorage?: { + [key: string]: unknown; + }; + walStorage?: { + apiGroup?: string; + kind: string; + name: string; + }; + }; + }; + }; + certificates?: { + clientCASecret?: string; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + description?: string; + enablePDB?: boolean; + enableSuperuserAccess?: boolean; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + ephemeralVolumeSource?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + ephemeralVolumesSizeLimit?: { + shm?: any; + temporaryData?: any; + }; + externalClusters?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + connectionParameters?: { + [key: string]: unknown; + }; + name: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + plugin?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + sslCert?: { + key: string; + name?: string; + optional?: boolean; + }; + sslKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sslRootCert?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + failoverDelay?: number; + imageCatalogRef?: { + apiGroup?: string; + kind: string; + major: number; + name: string; + }; + imageName?: string; + imagePullPolicy?: string; + imagePullSecrets?: { + name: string; + }[]; + inheritedMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + instances: number; + livenessProbeTimeout?: number; + logLevel?: "error" | "warning" | "info" | "debug" | "trace"; + managed?: { + roles?: { + bypassrls?: boolean; + comment?: string; + connectionLimit?: number; + createdb?: boolean; + createrole?: boolean; + disablePassword?: boolean; + ensure?: "present" | "absent"; + inRoles?: string[]; + inherit?: boolean; + login?: boolean; + name: string; + passwordSecret?: { + name: string; + }; + replication?: boolean; + superuser?: boolean; + validUntil?: string; + }[]; + services?: { + additional?: { + selectorType: "rw" | "r" | "ro"; + serviceTemplate: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + updateStrategy?: "patch" | "replace"; + }[]; + disabledDefaultServices?: ("rw" | "r" | "ro")[]; + }; + }; + maxSyncReplicas?: number; + minSyncReplicas?: number; + monitoring?: { + customQueriesConfigMap?: { + key: string; + name: string; + }[]; + customQueriesSecret?: { + key: string; + name: string; + }[]; + disableDefaultQueries?: boolean; + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tls?: { + enabled?: boolean; + }; + }; + nodeMaintenanceWindow?: { + inProgress?: boolean; + reusePVC?: boolean; + }; + plugins?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }[]; + postgresGID?: number; + postgresUID?: number; + postgresql?: { + enableAlterSystem?: boolean; + ldap?: { + bindAsAuth?: { + prefix?: string; + suffix?: string; + }; + bindSearchAuth?: { + baseDN?: string; + bindDN?: string; + bindPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + searchAttribute?: string; + searchFilter?: string; + }; + port?: number; + scheme?: "ldap" | "ldaps"; + server?: string; + tls?: boolean; + }; + parameters?: { + [key: string]: unknown; + }; + pg_hba?: string[]; + pg_ident?: string[]; + promotionTimeout?: number; + shared_preload_libraries?: string[]; + syncReplicaElectionConstraint?: { + enabled: boolean; + nodeLabelsAntiAffinity?: string[]; + }; + synchronous?: { + dataDurability?: "required" | "preferred"; + maxStandbyNamesFromCluster?: number; + method: "any" | "first"; + number: number; + standbyNamesPost?: string[]; + standbyNamesPre?: string[]; + }; + }; + primaryUpdateMethod?: "switchover" | "restart"; + primaryUpdateStrategy?: "unsupervised" | "supervised"; + priorityClassName?: string; + probes?: { + liveness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + readiness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + startup?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + }; + projectedVolumeTemplate?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + replica?: { + enabled?: boolean; + minApplyDelay?: string; + primary?: string; + promotionToken?: string; + self?: string; + source: string; + }; + replicationSlots?: { + highAvailability?: { + enabled?: boolean; + slotPrefix?: string; + }; + synchronizeReplicas?: { + enabled: boolean; + excludePatterns?: string[]; + }; + updateInterval?: number; + }; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + schedulerName?: string; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + serviceAccountTemplate?: { + metadata: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + }; + smartShutdownTimeout?: number; + startDelay?: number; + stopDelay?: number; + storage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + superuserSecret?: { + name: string; + }; + switchoverDelay?: number; + tablespaces?: { + name: string; + owner?: { + name?: string; + }; + storage: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + temporary?: boolean; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + walStorage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + }; + status?: { + availableArchitectures?: { + goArch: string; + hash: string; + }[]; + azurePVCUpdateEnabled?: boolean; + certificates?: { + clientCASecret?: string; + expirations?: { + [key: string]: unknown; + }; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + cloudNativePGCommitHash?: string; + cloudNativePGOperatorHash?: string; + conditions?: { + lastTransitionTime: string; + message: string; + observedGeneration?: number; + reason: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + configMapResourceVersion?: { + metrics?: { + [key: string]: unknown; + }; + }; + currentPrimary?: string; + currentPrimaryFailingSinceTimestamp?: string; + currentPrimaryTimestamp?: string; + danglingPVC?: string[]; + demotionToken?: string; + firstRecoverabilityPoint?: string; + firstRecoverabilityPointByMethod?: { + [key: string]: unknown; + }; + healthyPVC?: string[]; + image?: string; + initializingPVC?: string[]; + instanceNames?: string[]; + instances?: number; + instancesReportedState?: { + [key: string]: unknown; + }; + instancesStatus?: { + [key: string]: unknown; + }; + jobCount?: number; + lastFailedBackup?: string; + lastPromotionToken?: string; + lastSuccessfulBackup?: string; + lastSuccessfulBackupByMethod?: { + [key: string]: unknown; + }; + latestGeneratedNode?: number; + managedRolesStatus?: { + byStatus?: { + [key: string]: unknown; + }; + cannotReconcile?: { + [key: string]: unknown; + }; + passwordStatus?: { + [key: string]: unknown; + }; + }; + onlineUpdateEnabled?: boolean; + phase?: string; + phaseReason?: string; + pluginStatus?: { + backupCapabilities?: string[]; + capabilities?: string[]; + name: string; + operatorCapabilities?: string[]; + restoreJobHookCapabilities?: string[]; + status?: string; + version: string; + walCapabilities?: string[]; + }[]; + poolerIntegrations?: { + pgBouncerIntegration?: { + secrets?: string[]; + }; + }; + pvcCount?: number; + readService?: string; + readyInstances?: number; + resizingPVC?: string[]; + secretsResourceVersion?: { + applicationSecretVersion?: string; + barmanEndpointCA?: string; + caSecretVersion?: string; + clientCaSecretVersion?: string; + externalClusterSecretVersion?: { + [key: string]: unknown; + }; + managedRoleSecretVersion?: { + [key: string]: unknown; + }; + metrics?: { + [key: string]: unknown; + }; + replicationSecretVersion?: string; + serverCaSecretVersion?: string; + serverSecretVersion?: string; + superuserSecretVersion?: string; + }; + switchReplicaClusterStatus?: { + inProgress?: boolean; + }; + tablespacesStatus?: { + error?: string; + name: string; + owner?: string; + state: string; + }[]; + targetPrimary?: string; + targetPrimaryTimestamp?: string; + timelineID?: number; + topology?: { + instances?: { + [key: string]: unknown; + }; + nodesUsed?: number; + successfullyExtracted?: boolean; + }; + unusablePVC?: string[]; + writeService?: string; + }; +} +export interface ClusterImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +export interface ClusterImageCatalogList { + apiVersion?: string; + items: ClusterImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterList { + apiVersion?: string; + items: Cluster[]; + kind?: string; + metadata?: ListMeta; +} +export interface Database { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + allowConnections?: boolean; + builtinLocale?: string; + cluster: { + name?: string; + }; + collationVersion?: string; + connectionLimit?: number; + databaseReclaimPolicy?: "delete" | "retain"; + encoding?: string; + ensure?: "present" | "absent"; + icuLocale?: string; + icuRules?: string; + isTemplate?: boolean; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + name: string; + owner: string; + tablespace?: string; + template?: string; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +export interface DatabaseList { + apiVersion?: string; + items: Database[]; + kind?: string; + metadata?: ListMeta; +} +export interface ImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +export interface ImageCatalogList { + apiVersion?: string; + items: ImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +export interface Pooler { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + deploymentStrategy?: { + rollingUpdate?: { + maxSurge?: any; + maxUnavailable?: any; + }; + type?: string; + }; + instances?: number; + monitoring?: { + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }; + pgbouncer: { + authQuery?: string; + authQuerySecret?: { + name: string; + }; + parameters?: { + [key: string]: unknown; + }; + paused?: boolean; + pg_hba?: string[]; + poolMode?: "session" | "transaction"; + }; + serviceTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + template?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + activeDeadlineSeconds?: number; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + automountServiceAccountToken?: boolean; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name?: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: string; + enableServiceLinks?: boolean; + ephemeralContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + hostAliases?: { + hostnames?: string[]; + ip: string; + }[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: { + name: string; + }; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: string; + priority?: number; + priorityClassName?: string; + readinessGates?: { + conditionType: string; + }[]; + resourceClaims?: { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: { + name: string; + }[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + }; + }; + type?: "rw" | "ro" | "r"; + }; + status?: { + instances?: number; + secrets?: { + clientCA?: { + name?: string; + version?: string; + }; + pgBouncerSecrets?: { + authQuery?: { + name?: string; + version?: string; + }; + }; + serverCA?: { + name?: string; + version?: string; + }; + serverTLS?: { + name?: string; + version?: string; + }; + }; + }; +} +export interface PoolerList { + apiVersion?: string; + items: Pooler[]; + kind?: string; + metadata?: ListMeta; +} +export interface Publication { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationReclaimPolicy?: "delete" | "retain"; + target: { + allTables?: boolean; + objects?: { + table?: { + columns?: string[]; + name: string; + only?: boolean; + schema?: string; + }; + tablesInSchema?: string; + }[]; + }; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +export interface PublicationList { + apiVersion?: string; + items: Publication[]; + kind?: string; + metadata?: ListMeta; +} +export interface ScheduledBackup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + backupOwnerReference?: "none" | "self" | "cluster"; + cluster: { + name: string; + }; + immediate?: boolean; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + schedule: string; + suspend?: boolean; + target?: "primary" | "prefer-standby"; + }; + status?: { + lastCheckTime?: string; + lastScheduleTime?: string; + nextScheduleTime?: string; + }; +} +export interface ScheduledBackupList { + apiVersion?: string; + items: ScheduledBackup[]; + kind?: string; + metadata?: ListMeta; +} +export interface Subscription { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + externalClusterName: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationDBName?: string; + publicationName: string; + subscriptionReclaimPolicy?: "delete" | "retain"; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +export interface SubscriptionList { + apiVersion?: string; + items: Subscription[]; + kind?: string; + metadata?: ListMeta; +} +export interface AuditAnnotation { + key: string; + valueExpression: string; +} +export interface ExpressionWarning { + fieldRef: string; + warning: string; +} +export interface MatchCondition { + expression: string; + name: string; +} +export interface MatchResources { + excludeResourceRules?: NamedRuleWithOperations[]; + matchPolicy?: "Equivalent" | "Exact"; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + resourceRules?: NamedRuleWithOperations[]; +} +export interface MutatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + reinvocationPolicy?: "IfNeeded" | "Never"; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +export interface MutatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: MutatingWebhook[]; +} +export interface MutatingWebhookConfigurationList { + apiVersion?: string; + items: MutatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +export interface NamedRuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resourceNames?: string[]; + resources?: string[]; + scope?: string; +} +export interface ParamKind { + apiVersion?: string; + kind?: string; +} +export interface ParamRef { + name?: string; + namespace?: string; + parameterNotFoundAction?: string; + selector?: LabelSelector; +} +export interface RuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resources?: string[]; + scope?: string; +} +export interface ServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +export interface TypeChecking { + expressionWarnings?: ExpressionWarning[]; +} +export interface ValidatingAdmissionPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicySpec; + status?: ValidatingAdmissionPolicyStatus; +} +export interface ValidatingAdmissionPolicyBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicyBindingSpec; +} +export interface ValidatingAdmissionPolicyBindingList { + apiVersion?: string; + items: ValidatingAdmissionPolicyBinding[]; + kind?: string; + metadata?: ListMeta; +} +export interface ValidatingAdmissionPolicyBindingSpec { + matchResources?: MatchResources; + paramRef?: ParamRef; + policyName?: string; + validationActions?: ("Audit" | "Deny" | "Warn")[]; +} +export interface ValidatingAdmissionPolicyList { + apiVersion?: string; + items: ValidatingAdmissionPolicy[]; + kind?: string; + metadata?: ListMeta; +} +export interface ValidatingAdmissionPolicySpec { + auditAnnotations?: AuditAnnotation[]; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchConstraints?: MatchResources; + paramKind?: ParamKind; + validations?: Validation[]; + variables?: Variable[]; +} +export interface ValidatingAdmissionPolicyStatus { + conditions?: Condition[]; + observedGeneration?: number; + typeChecking?: TypeChecking; +} +export interface ValidatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +export interface ValidatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: ValidatingWebhook[]; +} +export interface ValidatingWebhookConfigurationList { + apiVersion?: string; + items: ValidatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +export interface Validation { + expression: string; + message?: string; + messageExpression?: string; + reason?: string; +} +export interface Variable { + expression: string; + name: string; +} +export interface WebhookClientConfig { + caBundle?: string; + service?: ServiceReference; + url?: string; +} +export interface ControllerRevision { + apiVersion?: string; + data?: RawExtension; + kind?: string; + metadata?: ObjectMeta; + revision: number; +} +export interface ControllerRevisionList { + apiVersion?: string; + items: ControllerRevision[]; + kind?: string; + metadata?: ListMeta; +} +export interface DaemonSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DaemonSetSpec; + status?: DaemonSetStatus; +} +export interface DaemonSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface DaemonSetList { + apiVersion?: string; + items: DaemonSet[]; + kind?: string; + metadata?: ListMeta; +} +export interface DaemonSetSpec { + minReadySeconds?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + template: PodTemplateSpec; + updateStrategy?: DaemonSetUpdateStrategy; +} +export interface DaemonSetStatus { + collisionCount?: number; + conditions?: DaemonSetCondition[]; + currentNumberScheduled: number; + desiredNumberScheduled: number; + numberAvailable?: number; + numberMisscheduled: number; + numberReady: number; + numberUnavailable?: number; + observedGeneration?: number; + updatedNumberScheduled?: number; +} +export interface DaemonSetUpdateStrategy { + rollingUpdate?: RollingUpdateDaemonSet; + type?: "OnDelete" | "RollingUpdate"; +} +export interface Deployment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DeploymentSpec; + status?: DeploymentStatus; +} +export interface DeploymentCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface DeploymentList { + apiVersion?: string; + items: Deployment[]; + kind?: string; + metadata?: ListMeta; +} +export interface DeploymentSpec { + minReadySeconds?: number; + paused?: boolean; + progressDeadlineSeconds?: number; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + strategy?: DeploymentStrategy; + template: PodTemplateSpec; +} +export interface DeploymentStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: DeploymentCondition[]; + observedGeneration?: number; + readyReplicas?: number; + replicas?: number; + unavailableReplicas?: number; + updatedReplicas?: number; +} +export interface DeploymentStrategy { + rollingUpdate?: RollingUpdateDeployment; + type?: "Recreate" | "RollingUpdate"; +} +export interface ReplicaSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicaSetSpec; + status?: ReplicaSetStatus; +} +export interface ReplicaSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface ReplicaSetList { + apiVersion?: string; + items: ReplicaSet[]; + kind?: string; + metadata?: ListMeta; +} +export interface ReplicaSetSpec { + minReadySeconds?: number; + replicas?: number; + selector: LabelSelector; + template?: PodTemplateSpec; +} +export interface ReplicaSetStatus { + availableReplicas?: number; + conditions?: ReplicaSetCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +export interface RollingUpdateDaemonSet { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +export interface RollingUpdateDeployment { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +export interface RollingUpdateStatefulSetStrategy { + maxUnavailable?: IntOrString; + partition?: number; +} +export interface StatefulSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: StatefulSetSpec; + status?: StatefulSetStatus; +} +export interface StatefulSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface StatefulSetList { + apiVersion?: string; + items: StatefulSet[]; + kind?: string; + metadata?: ListMeta; +} +export interface StatefulSetOrdinals { + start?: number; +} +export interface StatefulSetPersistentVolumeClaimRetentionPolicy { + whenDeleted?: string; + whenScaled?: string; +} +export interface StatefulSetSpec { + minReadySeconds?: number; + ordinals?: StatefulSetOrdinals; + persistentVolumeClaimRetentionPolicy?: StatefulSetPersistentVolumeClaimRetentionPolicy; + podManagementPolicy?: "OrderedReady" | "Parallel"; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + serviceName: string; + template: PodTemplateSpec; + updateStrategy?: StatefulSetUpdateStrategy; + volumeClaimTemplates?: PersistentVolumeClaim[]; +} +export interface StatefulSetStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: StatefulSetCondition[]; + currentReplicas?: number; + currentRevision?: string; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; + updateRevision?: string; + updatedReplicas?: number; +} +export interface StatefulSetUpdateStrategy { + rollingUpdate?: RollingUpdateStatefulSetStrategy; + type?: "OnDelete" | "RollingUpdate"; +} +export interface BoundObjectReference { + apiVersion?: string; + kind?: string; + name?: string; + uid?: string; +} +export interface SelfSubjectReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + status?: SelfSubjectReviewStatus; +} +export interface SelfSubjectReviewStatus { + userInfo?: UserInfo; +} +export interface TokenRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenRequestSpec; + status?: TokenRequestStatus; +} +export interface TokenRequestSpec { + audiences: string[]; + boundObjectRef?: BoundObjectReference; + expirationSeconds?: number; +} +export interface TokenRequestStatus { + expirationTimestamp: Time; + token: string; +} +export interface TokenReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenReviewSpec; + status?: TokenReviewStatus; +} +export interface TokenReviewSpec { + audiences?: string[]; + token?: string; +} +export interface TokenReviewStatus { + audiences?: string[]; + authenticated?: boolean; + error?: string; + user?: UserInfo; +} +export interface UserInfo { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + uid?: string; + username?: string; +} +export interface FieldSelectorAttributes { + rawSelector?: string; + requirements?: FieldSelectorRequirement[]; +} +export interface LabelSelectorAttributes { + rawSelector?: string; + requirements?: LabelSelectorRequirement[]; +} +export interface LocalSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +export interface NonResourceAttributes { + path?: string; + verb?: string; +} +export interface NonResourceRule { + nonResourceURLs?: string[]; + verbs: string[]; +} +export interface ResourceAttributes { + fieldSelector?: FieldSelectorAttributes; + group?: string; + labelSelector?: LabelSelectorAttributes; + name?: string; + namespace?: string; + resource?: string; + subresource?: string; + verb?: string; + version?: string; +} +export interface ResourceRule { + apiGroups?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +export interface SelfSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +export interface SelfSubjectAccessReviewSpec { + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; +} +export interface SelfSubjectRulesReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectRulesReviewSpec; + status?: SubjectRulesReviewStatus; +} +export interface SelfSubjectRulesReviewSpec { + namespace?: string; +} +export interface SubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +export interface SubjectAccessReviewSpec { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; + uid?: string; + user?: string; +} +export interface SubjectAccessReviewStatus { + allowed: boolean; + denied?: boolean; + evaluationError?: string; + reason?: string; +} +export interface SubjectRulesReviewStatus { + evaluationError?: string; + incomplete: boolean; + nonResourceRules: NonResourceRule[]; + resourceRules: ResourceRule[]; +} +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +export interface HorizontalPodAutoscalerSpec { + maxReplicas: number; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; + targetCPUUtilizationPercentage?: number; +} +export interface HorizontalPodAutoscalerStatus { + currentCPUUtilizationPercentage?: number; + currentReplicas: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +export interface Scale { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ScaleSpec; + status?: ScaleStatus; +} +export interface ScaleSpec { + replicas?: number; +} +export interface ScaleStatus { + replicas: number; + selector?: string; +} +export interface ContainerResourceMetricSource { + container: string; + name: string; + target: MetricTarget; +} +export interface ContainerResourceMetricStatus { + container: string; + current: MetricValueStatus; + name: string; +} +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +export interface ExternalMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +export interface ExternalMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +export interface HPAScalingPolicy { + periodSeconds: number; + type: string; + value: number; +} +export interface HPAScalingRules { + policies?: HPAScalingPolicy[]; + selectPolicy?: string; + stabilizationWindowSeconds?: number; +} +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +export interface HorizontalPodAutoscalerBehavior { + scaleDown?: HPAScalingRules; + scaleUp?: HPAScalingRules; +} +export interface HorizontalPodAutoscalerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +export interface HorizontalPodAutoscalerSpec { + behavior?: HorizontalPodAutoscalerBehavior; + maxReplicas: number; + metrics?: MetricSpec[]; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; +} +export interface HorizontalPodAutoscalerStatus { + conditions?: HorizontalPodAutoscalerCondition[]; + currentMetrics?: MetricStatus[]; + currentReplicas?: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +export interface MetricIdentifier { + name: string; + selector?: LabelSelector; +} +export interface MetricSpec { + containerResource?: ContainerResourceMetricSource; + external?: ExternalMetricSource; + object?: ObjectMetricSource; + pods?: PodsMetricSource; + resource?: ResourceMetricSource; + type: string; +} +export interface MetricStatus { + containerResource?: ContainerResourceMetricStatus; + external?: ExternalMetricStatus; + object?: ObjectMetricStatus; + pods?: PodsMetricStatus; + resource?: ResourceMetricStatus; + type: string; +} +export interface MetricTarget { + averageUtilization?: number; + averageValue?: Quantity; + type: string; + value?: Quantity; +} +export interface MetricValueStatus { + averageUtilization?: number; + averageValue?: Quantity; + value?: Quantity; +} +export interface ObjectMetricSource { + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; + target: MetricTarget; +} +export interface ObjectMetricStatus { + current: MetricValueStatus; + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; +} +export interface PodsMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +export interface PodsMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +export interface ResourceMetricSource { + name: string; + target: MetricTarget; +} +export interface ResourceMetricStatus { + current: MetricValueStatus; + name: string; +} +export interface CronJob { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: CronJobSpec; + status?: CronJobStatus; +} +export interface CronJobList { + apiVersion?: string; + items: CronJob[]; + kind?: string; + metadata?: ListMeta; +} +export interface CronJobSpec { + concurrencyPolicy?: "Allow" | "Forbid" | "Replace"; + failedJobsHistoryLimit?: number; + jobTemplate: JobTemplateSpec; + schedule: string; + startingDeadlineSeconds?: number; + successfulJobsHistoryLimit?: number; + suspend?: boolean; + timeZone?: string; +} +export interface CronJobStatus { + active?: ObjectReference[]; + lastScheduleTime?: Time; + lastSuccessfulTime?: Time; +} +export interface Job { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: JobSpec; + status?: JobStatus; +} +export interface JobCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface JobList { + apiVersion?: string; + items: Job[]; + kind?: string; + metadata?: ListMeta; +} +export interface JobSpec { + activeDeadlineSeconds?: number; + backoffLimit?: number; + backoffLimitPerIndex?: number; + completionMode?: "Indexed" | "NonIndexed"; + completions?: number; + managedBy?: string; + manualSelector?: boolean; + maxFailedIndexes?: number; + parallelism?: number; + podFailurePolicy?: PodFailurePolicy; + podReplacementPolicy?: "Failed" | "TerminatingOrFailed"; + selector?: LabelSelector; + successPolicy?: SuccessPolicy; + suspend?: boolean; + template: PodTemplateSpec; + ttlSecondsAfterFinished?: number; +} +export interface JobStatus { + active?: number; + completedIndexes?: string; + completionTime?: Time; + conditions?: JobCondition[]; + failed?: number; + failedIndexes?: string; + ready?: number; + startTime?: Time; + succeeded?: number; + terminating?: number; + uncountedTerminatedPods?: UncountedTerminatedPods; +} +export interface JobTemplateSpec { + metadata?: ObjectMeta; + spec?: JobSpec; +} +export interface PodFailurePolicy { + rules: PodFailurePolicyRule[]; +} +export interface PodFailurePolicyOnExitCodesRequirement { + containerName?: string; + operator: "In" | "NotIn"; + values: number[]; +} +export interface PodFailurePolicyOnPodConditionsPattern { + status: string; + type: string; +} +export interface PodFailurePolicyRule { + action: "Count" | "FailIndex" | "FailJob" | "Ignore"; + onExitCodes?: PodFailurePolicyOnExitCodesRequirement; + onPodConditions?: PodFailurePolicyOnPodConditionsPattern[]; +} +export interface SuccessPolicy { + rules: SuccessPolicyRule[]; +} +export interface SuccessPolicyRule { + succeededCount?: number; + succeededIndexes?: string; +} +export interface UncountedTerminatedPods { + failed?: string[]; + succeeded?: string[]; +} +export interface CertificateSigningRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CertificateSigningRequestSpec; + status?: CertificateSigningRequestStatus; +} +export interface CertificateSigningRequestCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface CertificateSigningRequestList { + apiVersion?: string; + items: CertificateSigningRequest[]; + kind?: string; + metadata?: ListMeta; +} +export interface CertificateSigningRequestSpec { + expirationSeconds?: number; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + request: string; + signerName: string; + uid?: string; + usages?: ("any" | "cert sign" | "client auth" | "code signing" | "content commitment" | "crl sign" | "data encipherment" | "decipher only" | "digital signature" | "email protection" | "encipher only" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "key agreement" | "key encipherment" | "microsoft sgc" | "netscape sgc" | "ocsp signing" | "s/mime" | "server auth" | "signing" | "timestamping")[]; + username?: string; +} +export interface CertificateSigningRequestStatus { + certificate?: string; + conditions?: CertificateSigningRequestCondition[]; +} +export interface Lease { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LeaseSpec; +} +export interface LeaseList { + apiVersion?: string; + items: Lease[]; + kind?: string; + metadata?: ListMeta; +} +export interface LeaseSpec { + acquireTime?: MicroTime; + holderIdentity?: string; + leaseDurationSeconds?: number; + leaseTransitions?: number; + preferredHolder?: string; + renewTime?: MicroTime; + strategy?: string; +} +export interface AWSElasticBlockStoreVolumeSource { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; +} +export interface Affinity { + nodeAffinity?: NodeAffinity; + podAffinity?: PodAffinity; + podAntiAffinity?: PodAntiAffinity; +} +export interface AppArmorProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +export interface AttachedVolume { + devicePath: string; + name: string; +} +export interface AzureDiskVolumeSource { + cachingMode?: "None" | "ReadOnly" | "ReadWrite"; + diskName: string; + diskURI: string; + fsType?: string; + kind?: "Dedicated" | "Managed" | "Shared"; + readOnly?: boolean; +} +export interface AzureFilePersistentVolumeSource { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; +} +export interface AzureFileVolumeSource { + readOnly?: boolean; + secretName: string; + shareName: string; +} +export interface Binding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + target: ObjectReference; +} +export interface CSIPersistentVolumeSource { + controllerExpandSecretRef?: SecretReference; + controllerPublishSecretRef?: SecretReference; + driver: string; + fsType?: string; + nodeExpandSecretRef?: SecretReference; + nodePublishSecretRef?: SecretReference; + nodeStageSecretRef?: SecretReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + volumeHandle: string; +} +export interface CSIVolumeSource { + driver: string; + fsType?: string; + nodePublishSecretRef?: LocalObjectReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; +} +export interface Capabilities { + add?: string[]; + drop?: string[]; +} +export interface CephFSPersistentVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: SecretReference; + user?: string; +} +export interface CephFSVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: LocalObjectReference; + user?: string; +} +export interface CinderPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: SecretReference; + volumeID: string; +} +export interface CinderVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeID: string; +} +export interface ClientIPConfig { + timeoutSeconds?: number; +} +export interface ClusterTrustBundleProjection { + labelSelector?: LabelSelector; + name?: string; + optional?: boolean; + path: string; + signerName?: string; +} +export interface ComponentCondition { + error?: string; + message?: string; + status: string; + type: string; +} +export interface ComponentStatus { + apiVersion?: string; + conditions?: ComponentCondition[]; + kind?: string; + metadata?: ObjectMeta; +} +export interface ComponentStatusList { + apiVersion?: string; + items: ComponentStatus[]; + kind?: string; + metadata?: ListMeta; +} +export interface ConfigMap { + apiVersion?: string; + binaryData?: { + [key: string]: unknown; + }; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; +} +export interface ConfigMapEnvSource { + name?: string; + optional?: boolean; +} +export interface ConfigMapKeySelector { + key: string; + name?: string; + optional?: boolean; +} +export interface ConfigMapList { + apiVersion?: string; + items: ConfigMap[]; + kind?: string; + metadata?: ListMeta; +} +export interface ConfigMapNodeConfigSource { + kubeletConfigKey: string; + name: string; + namespace: string; + resourceVersion?: string; + uid?: string; +} +export interface ConfigMapProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +export interface ConfigMapVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +export interface Container { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +export interface ContainerImage { + names?: string[]; + sizeBytes?: number; +} +export interface ContainerPort { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface ContainerResizePolicy { + resourceName: string; + restartPolicy: string; +} +export interface ContainerState { + running?: ContainerStateRunning; + terminated?: ContainerStateTerminated; + waiting?: ContainerStateWaiting; +} +export interface ContainerStateRunning { + startedAt?: Time; +} +export interface ContainerStateTerminated { + containerID?: string; + exitCode: number; + finishedAt?: Time; + message?: string; + reason?: string; + signal?: number; + startedAt?: Time; +} +export interface ContainerStateWaiting { + message?: string; + reason?: string; +} +export interface ContainerStatus { + allocatedResources?: { + [key: string]: unknown; + }; + allocatedResourcesStatus?: ResourceStatus[]; + containerID?: string; + image: string; + imageID: string; + lastState?: ContainerState; + name: string; + ready: boolean; + resources?: ResourceRequirements; + restartCount: number; + started?: boolean; + state?: ContainerState; + user?: ContainerUser; + volumeMounts?: VolumeMountStatus[]; +} +export interface ContainerUser { + linux?: LinuxContainerUser; +} +export interface DaemonEndpoint { + Port: number; +} +export interface DownwardAPIProjection { + items?: DownwardAPIVolumeFile[]; +} +export interface DownwardAPIVolumeFile { + fieldRef?: ObjectFieldSelector; + mode?: number; + path: string; + resourceFieldRef?: ResourceFieldSelector; +} +export interface DownwardAPIVolumeSource { + defaultMode?: number; + items?: DownwardAPIVolumeFile[]; +} +export interface EmptyDirVolumeSource { + medium?: string; + sizeLimit?: Quantity; +} +export interface EndpointAddress { + hostname?: string; + ip: string; + nodeName?: string; + targetRef?: ObjectReference; +} +export interface EndpointPort { + appProtocol?: string; + name?: string; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface EndpointSubset { + addresses?: EndpointAddress[]; + notReadyAddresses?: EndpointAddress[]; + ports?: EndpointPort[]; +} +export interface Endpoints { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + subsets?: EndpointSubset[]; +} +export interface EndpointsList { + apiVersion?: string; + items: Endpoints[]; + kind?: string; + metadata?: ListMeta; +} +export interface EnvFromSource { + configMapRef?: ConfigMapEnvSource; + prefix?: string; + secretRef?: SecretEnvSource; +} +export interface EnvVar { + name: string; + value?: string; + valueFrom?: EnvVarSource; +} +export interface EnvVarSource { + configMapKeyRef?: ConfigMapKeySelector; + fieldRef?: ObjectFieldSelector; + resourceFieldRef?: ResourceFieldSelector; + secretKeyRef?: SecretKeySelector; +} +export interface EphemeralContainer { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +export interface EphemeralVolumeSource { + volumeClaimTemplate?: PersistentVolumeClaimTemplate; +} +export interface Event { + action?: string; + apiVersion?: string; + count?: number; + eventTime?: MicroTime; + firstTimestamp?: Time; + involvedObject: ObjectReference; + kind?: string; + lastTimestamp?: Time; + message?: string; + metadata: ObjectMeta; + reason?: string; + related?: ObjectReference; + reportingComponent?: string; + reportingInstance?: string; + series?: EventSeries; + source?: EventSource; + type?: string; +} +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +export interface EventSeries { + count?: number; + lastObservedTime?: MicroTime; +} +export interface EventSource { + component?: string; + host?: string; +} +export interface ExecAction { + command?: string[]; +} +export interface FCVolumeSource { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; +} +export interface FlexPersistentVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: SecretReference; +} +export interface FlexVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: LocalObjectReference; +} +export interface FlockerVolumeSource { + datasetName?: string; + datasetUUID?: string; +} +export interface GCEPersistentDiskVolumeSource { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; +} +export interface GRPCAction { + port: number; + service?: string; +} +export interface GitRepoVolumeSource { + directory?: string; + repository: string; + revision?: string; +} +export interface GlusterfsPersistentVolumeSource { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; +} +export interface GlusterfsVolumeSource { + endpoints: string; + path: string; + readOnly?: boolean; +} +export interface HTTPGetAction { + host?: string; + httpHeaders?: HTTPHeader[]; + path?: string; + port: IntOrString; + scheme?: "HTTP" | "HTTPS"; +} +export interface HTTPHeader { + name: string; + value: string; +} +export interface HostAlias { + hostnames?: string[]; + ip: string; +} +export interface HostIP { + ip: string; +} +export interface HostPathVolumeSource { + path: string; + type?: "" | "BlockDevice" | "CharDevice" | "Directory" | "DirectoryOrCreate" | "File" | "FileOrCreate" | "Socket"; +} +export interface ISCSIPersistentVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: SecretReference; + targetPortal: string; +} +export interface ISCSIVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: LocalObjectReference; + targetPortal: string; +} +export interface ImageVolumeSource { + pullPolicy?: "Always" | "IfNotPresent" | "Never"; + reference?: string; +} +export interface KeyToPath { + key: string; + mode?: number; + path: string; +} +export interface Lifecycle { + postStart?: LifecycleHandler; + preStop?: LifecycleHandler; +} +export interface LifecycleHandler { + exec?: ExecAction; + httpGet?: HTTPGetAction; + sleep?: SleepAction; + tcpSocket?: TCPSocketAction; +} +export interface LimitRange { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LimitRangeSpec; +} +export interface LimitRangeItem { + default?: { + [key: string]: unknown; + }; + defaultRequest?: { + [key: string]: unknown; + }; + max?: { + [key: string]: unknown; + }; + maxLimitRequestRatio?: { + [key: string]: unknown; + }; + min?: { + [key: string]: unknown; + }; + type: string; +} +export interface LimitRangeList { + apiVersion?: string; + items: LimitRange[]; + kind?: string; + metadata?: ListMeta; +} +export interface LimitRangeSpec { + limits: LimitRangeItem[]; +} +export interface LinuxContainerUser { + gid: number; + supplementalGroups?: number[]; + uid: number; +} +export interface LoadBalancerIngress { + hostname?: string; + ip?: string; + ipMode?: string; + ports?: PortStatus[]; +} +export interface LoadBalancerStatus { + ingress?: LoadBalancerIngress[]; +} +export interface LocalObjectReference { + name?: string; +} +export interface LocalVolumeSource { + fsType?: string; + path: string; +} +export interface ModifyVolumeStatus { + status: "InProgress" | "Infeasible" | "Pending"; + targetVolumeAttributesClassName?: string; +} +export interface NFSVolumeSource { + path: string; + readOnly?: boolean; + server: string; +} +export interface Namespace { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NamespaceSpec; + status?: NamespaceStatus; +} +export interface NamespaceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface NamespaceList { + apiVersion?: string; + items: Namespace[]; + kind?: string; + metadata?: ListMeta; +} +export interface NamespaceSpec { + finalizers?: string[]; +} +export interface NamespaceStatus { + conditions?: NamespaceCondition[]; + phase?: "Active" | "Terminating"; +} +export interface Node { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NodeSpec; + status?: NodeStatus; +} +export interface NodeAddress { + address: string; + type: string; +} +export interface NodeAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: PreferredSchedulingTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: NodeSelector; +} +export interface NodeCondition { + lastHeartbeatTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface NodeConfigSource { + configMap?: ConfigMapNodeConfigSource; +} +export interface NodeConfigStatus { + active?: NodeConfigSource; + assigned?: NodeConfigSource; + error?: string; + lastKnownGood?: NodeConfigSource; +} +export interface NodeDaemonEndpoints { + kubeletEndpoint?: DaemonEndpoint; +} +export interface NodeFeatures { + supplementalGroupsPolicy?: boolean; +} +export interface NodeList { + apiVersion?: string; + items: Node[]; + kind?: string; + metadata?: ListMeta; +} +export interface NodeRuntimeHandler { + features?: NodeRuntimeHandlerFeatures; + name?: string; +} +export interface NodeRuntimeHandlerFeatures { + recursiveReadOnlyMounts?: boolean; + userNamespaces?: boolean; +} +export interface NodeSelector { + nodeSelectorTerms: NodeSelectorTerm[]; +} +export interface NodeSelectorRequirement { + key: string; + operator: "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn"; + values?: string[]; +} +export interface NodeSelectorTerm { + matchExpressions?: NodeSelectorRequirement[]; + matchFields?: NodeSelectorRequirement[]; +} +export interface NodeSpec { + configSource?: NodeConfigSource; + externalID?: string; + podCIDR?: string; + podCIDRs?: string[]; + providerID?: string; + taints?: Taint[]; + unschedulable?: boolean; +} +export interface NodeStatus { + addresses?: NodeAddress[]; + allocatable?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: NodeCondition[]; + config?: NodeConfigStatus; + daemonEndpoints?: NodeDaemonEndpoints; + features?: NodeFeatures; + images?: ContainerImage[]; + nodeInfo?: NodeSystemInfo; + phase?: "Pending" | "Running" | "Terminated"; + runtimeHandlers?: NodeRuntimeHandler[]; + volumesAttached?: AttachedVolume[]; + volumesInUse?: string[]; +} +export interface NodeSystemInfo { + architecture: string; + bootID: string; + containerRuntimeVersion: string; + kernelVersion: string; + kubeProxyVersion: string; + kubeletVersion: string; + machineID: string; + operatingSystem: string; + osImage: string; + systemUUID: string; +} +export interface ObjectFieldSelector { + apiVersion?: string; + fieldPath: string; +} +export interface ObjectReference { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; +} +export interface PersistentVolume { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeSpec; + status?: PersistentVolumeStatus; +} +export interface PersistentVolumeClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeClaimSpec; + status?: PersistentVolumeClaimStatus; +} +export interface PersistentVolumeClaimCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface PersistentVolumeClaimList { + apiVersion?: string; + items: PersistentVolumeClaim[]; + kind?: string; + metadata?: ListMeta; +} +export interface PersistentVolumeClaimSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + dataSource?: TypedLocalObjectReference; + dataSourceRef?: TypedObjectReference; + resources?: VolumeResourceRequirements; + selector?: LabelSelector; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + volumeName?: string; +} +export interface PersistentVolumeClaimStatus { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: PersistentVolumeClaimCondition[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: ModifyVolumeStatus; + phase?: "Bound" | "Lost" | "Pending"; +} +export interface PersistentVolumeClaimTemplate { + metadata?: ObjectMeta; + spec: PersistentVolumeClaimSpec; +} +export interface PersistentVolumeClaimVolumeSource { + claimName: string; + readOnly?: boolean; +} +export interface PersistentVolumeList { + apiVersion?: string; + items: PersistentVolume[]; + kind?: string; + metadata?: ListMeta; +} +export interface PersistentVolumeSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFilePersistentVolumeSource; + capacity?: { + [key: string]: unknown; + }; + cephfs?: CephFSPersistentVolumeSource; + cinder?: CinderPersistentVolumeSource; + claimRef?: ObjectReference; + csi?: CSIPersistentVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexPersistentVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + glusterfs?: GlusterfsPersistentVolumeSource; + hostPath?: HostPathVolumeSource; + iscsi?: ISCSIPersistentVolumeSource; + local?: LocalVolumeSource; + mountOptions?: string[]; + nfs?: NFSVolumeSource; + nodeAffinity?: VolumeNodeAffinity; + persistentVolumeReclaimPolicy?: "Delete" | "Recycle" | "Retain"; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDPersistentVolumeSource; + scaleIO?: ScaleIOPersistentVolumeSource; + storageClassName?: string; + storageos?: StorageOSPersistentVolumeSource; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +export interface PersistentVolumeStatus { + lastPhaseTransitionTime?: Time; + message?: string; + phase?: "Available" | "Bound" | "Failed" | "Pending" | "Released"; + reason?: string; +} +export interface PhotonPersistentDiskVolumeSource { + fsType?: string; + pdID: string; +} +export interface Pod { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodSpec; + status?: PodStatus; +} +export interface PodAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +export interface PodAffinityTerm { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: LabelSelector; + namespaces?: string[]; + topologyKey: string; +} +export interface PodAntiAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +export interface PodCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface PodDNSConfig { + nameservers?: string[]; + options?: PodDNSConfigOption[]; + searches?: string[]; +} +export interface PodDNSConfigOption { + name?: string; + value?: string; +} +export interface PodIP { + ip: string; +} +export interface PodList { + apiVersion?: string; + items: Pod[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodOS { + name: string; +} +export interface PodReadinessGate { + conditionType: string; +} +export interface PodResourceClaim { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; +} +export interface PodResourceClaimStatus { + name: string; + resourceClaimName?: string; +} +export interface PodSchedulingGate { + name: string; +} +export interface PodSecurityContext { + appArmorProfile?: AppArmorProfile; + fsGroup?: number; + fsGroupChangePolicy?: "Always" | "OnRootMismatch"; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: "Merge" | "Strict"; + sysctls?: Sysctl[]; + windowsOptions?: WindowsSecurityContextOptions; +} +export interface PodSpec { + activeDeadlineSeconds?: number; + affinity?: Affinity; + automountServiceAccountToken?: boolean; + containers: Container[]; + dnsConfig?: PodDNSConfig; + dnsPolicy?: "ClusterFirst" | "ClusterFirstWithHostNet" | "Default" | "None"; + enableServiceLinks?: boolean; + ephemeralContainers?: EphemeralContainer[]; + hostAliases?: HostAlias[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: LocalObjectReference[]; + initContainers?: Container[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: PodOS; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + priority?: number; + priorityClassName?: string; + readinessGates?: PodReadinessGate[]; + resourceClaims?: PodResourceClaim[]; + resources?: ResourceRequirements; + restartPolicy?: "Always" | "Never" | "OnFailure"; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: PodSchedulingGate[]; + securityContext?: PodSecurityContext; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: Toleration[]; + topologySpreadConstraints?: TopologySpreadConstraint[]; + volumes?: Volume[]; +} +export interface PodStatus { + conditions?: PodCondition[]; + containerStatuses?: ContainerStatus[]; + ephemeralContainerStatuses?: ContainerStatus[]; + hostIP?: string; + hostIPs?: HostIP[]; + initContainerStatuses?: ContainerStatus[]; + message?: string; + nominatedNodeName?: string; + phase?: "Failed" | "Pending" | "Running" | "Succeeded" | "Unknown"; + podIP?: string; + podIPs?: PodIP[]; + qosClass?: "BestEffort" | "Burstable" | "Guaranteed"; + reason?: string; + resize?: string; + resourceClaimStatuses?: PodResourceClaimStatus[]; + startTime?: Time; +} +export interface PodTemplate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + template?: PodTemplateSpec; +} +export interface PodTemplateList { + apiVersion?: string; + items: PodTemplate[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodTemplateSpec { + metadata?: ObjectMeta; + spec?: PodSpec; +} +export interface PortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +export interface PortworxVolumeSource { + fsType?: string; + readOnly?: boolean; + volumeID: string; +} +export interface PreferredSchedulingTerm { + preference: NodeSelectorTerm; + weight: number; +} +export interface Probe { + exec?: ExecAction; + failureThreshold?: number; + grpc?: GRPCAction; + httpGet?: HTTPGetAction; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: TCPSocketAction; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; +} +export interface ProjectedVolumeSource { + defaultMode?: number; + sources?: VolumeProjection[]; +} +export interface QuobyteVolumeSource { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; +} +export interface RBDPersistentVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: SecretReference; + user?: string; +} +export interface RBDVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + user?: string; +} +export interface ReplicationController { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicationControllerSpec; + status?: ReplicationControllerStatus; +} +export interface ReplicationControllerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface ReplicationControllerList { + apiVersion?: string; + items: ReplicationController[]; + kind?: string; + metadata?: ListMeta; +} +export interface ReplicationControllerSpec { + minReadySeconds?: number; + replicas?: number; + selector?: { + [key: string]: unknown; + }; + template?: PodTemplateSpec; +} +export interface ReplicationControllerStatus { + availableReplicas?: number; + conditions?: ReplicationControllerCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +export interface ResourceClaim { + name: string; + request?: string; +} +export interface ResourceFieldSelector { + containerName?: string; + divisor?: Quantity; + resource: string; +} +export interface ResourceHealth { + health?: string; + resourceID: string; +} +export interface ResourceQuota { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ResourceQuotaSpec; + status?: ResourceQuotaStatus; +} +export interface ResourceQuotaList { + apiVersion?: string; + items: ResourceQuota[]; + kind?: string; + metadata?: ListMeta; +} +export interface ResourceQuotaSpec { + hard?: { + [key: string]: unknown; + }; + scopeSelector?: ScopeSelector; + scopes?: ("BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating")[]; +} +export interface ResourceQuotaStatus { + hard?: { + [key: string]: unknown; + }; + used?: { + [key: string]: unknown; + }; +} +export interface ResourceRequirements { + claims?: ResourceClaim[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +export interface ResourceStatus { + name: string; + resources?: ResourceHealth[]; +} +export interface SELinuxOptions { + level?: string; + role?: string; + type?: string; + user?: string; +} +export interface ScaleIOPersistentVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: SecretReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +export interface ScaleIOVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: LocalObjectReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +export interface ScopeSelector { + matchExpressions?: ScopedResourceSelectorRequirement[]; +} +export interface ScopedResourceSelectorRequirement { + operator: "DoesNotExist" | "Exists" | "In" | "NotIn"; + scopeName: "BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating"; + values?: string[]; +} +export interface SeccompProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +export interface Secret { + apiVersion?: string; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; + stringData?: { + [key: string]: unknown; + }; + type?: string; +} +export interface SecretEnvSource { + name?: string; + optional?: boolean; +} +export interface SecretKeySelector { + key: string; + name?: string; + optional?: boolean; +} +export interface SecretList { + apiVersion?: string; + items: Secret[]; + kind?: string; + metadata?: ListMeta; +} +export interface SecretProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +export interface SecretReference { + name?: string; + namespace?: string; +} +export interface SecretVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + optional?: boolean; + secretName?: string; +} +export interface SecurityContext { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: AppArmorProfile; + capabilities?: Capabilities; + privileged?: boolean; + procMount?: "Default" | "Unmasked"; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + windowsOptions?: WindowsSecurityContextOptions; +} +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ServiceSpec; + status?: ServiceStatus; +} +export interface ServiceAccount { + apiVersion?: string; + automountServiceAccountToken?: boolean; + imagePullSecrets?: LocalObjectReference[]; + kind?: string; + metadata?: ObjectMeta; + secrets?: ObjectReference[]; +} +export interface ServiceAccountList { + apiVersion?: string; + items: ServiceAccount[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServiceAccountTokenProjection { + audience?: string; + expirationSeconds?: number; + path: string; +} +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +export interface ServicePort { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; + targetPort?: IntOrString; +} +export interface ServiceSpec { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: "Cluster" | "Local"; + healthCheckNodePort?: number; + internalTrafficPolicy?: "Cluster" | "Local"; + ipFamilies?: ("" | "IPv4" | "IPv6")[]; + ipFamilyPolicy?: "PreferDualStack" | "RequireDualStack" | "SingleStack"; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: ServicePort[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: "ClientIP" | "None"; + sessionAffinityConfig?: SessionAffinityConfig; + trafficDistribution?: string; + type?: "ClusterIP" | "ExternalName" | "LoadBalancer" | "NodePort"; +} +export interface ServiceStatus { + conditions?: Condition[]; + loadBalancer?: LoadBalancerStatus; +} +export interface SessionAffinityConfig { + clientIP?: ClientIPConfig; +} +export interface SleepAction { + seconds: number; +} +export interface StorageOSPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: ObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +export interface StorageOSVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +export interface Sysctl { + name: string; + value: string; +} +export interface TCPSocketAction { + host?: string; + port: IntOrString; +} +export interface Taint { + effect: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key: string; + timeAdded?: Time; + value?: string; +} +export interface Toleration { + effect?: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key?: string; + operator?: "Equal" | "Exists"; + tolerationSeconds?: number; + value?: string; +} +export interface TopologySelectorLabelRequirement { + key: string; + values: string[]; +} +export interface TopologySelectorTerm { + matchLabelExpressions?: TopologySelectorLabelRequirement[]; +} +export interface TopologySpreadConstraint { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: "Honor" | "Ignore"; + nodeTaintsPolicy?: "Honor" | "Ignore"; + topologyKey: string; + whenUnsatisfiable: "DoNotSchedule" | "ScheduleAnyway"; +} +export interface TypedLocalObjectReference { + apiGroup?: string; + kind: string; + name: string; +} +export interface TypedObjectReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +export interface Volume { + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFileVolumeSource; + cephfs?: CephFSVolumeSource; + cinder?: CinderVolumeSource; + configMap?: ConfigMapVolumeSource; + csi?: CSIVolumeSource; + downwardAPI?: DownwardAPIVolumeSource; + emptyDir?: EmptyDirVolumeSource; + ephemeral?: EphemeralVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + gitRepo?: GitRepoVolumeSource; + glusterfs?: GlusterfsVolumeSource; + hostPath?: HostPathVolumeSource; + image?: ImageVolumeSource; + iscsi?: ISCSIVolumeSource; + name: string; + nfs?: NFSVolumeSource; + persistentVolumeClaim?: PersistentVolumeClaimVolumeSource; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + projected?: ProjectedVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDVolumeSource; + scaleIO?: ScaleIOVolumeSource; + secret?: SecretVolumeSource; + storageos?: StorageOSVolumeSource; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +export interface VolumeDevice { + devicePath: string; + name: string; +} +export interface VolumeMount { + mountPath: string; + mountPropagation?: "Bidirectional" | "HostToContainer" | "None"; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; +} +export interface VolumeMountStatus { + mountPath: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; +} +export interface VolumeNodeAffinity { + required?: NodeSelector; +} +export interface VolumeProjection { + clusterTrustBundle?: ClusterTrustBundleProjection; + configMap?: ConfigMapProjection; + downwardAPI?: DownwardAPIProjection; + secret?: SecretProjection; + serviceAccountToken?: ServiceAccountTokenProjection; +} +export interface VolumeResourceRequirements { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +export interface VsphereVirtualDiskVolumeSource { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; +} +export interface WeightedPodAffinityTerm { + podAffinityTerm: PodAffinityTerm; + weight: number; +} +export interface WindowsSecurityContextOptions { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; +} +export interface Endpoint { + addresses: string[]; + conditions?: EndpointConditions; + deprecatedTopology?: { + [key: string]: unknown; + }; + hints?: EndpointHints; + hostname?: string; + nodeName?: string; + targetRef?: ObjectReference; + zone?: string; +} +export interface EndpointConditions { + ready?: boolean; + serving?: boolean; + terminating?: boolean; +} +export interface EndpointHints { + forZones?: ForZone[]; +} +export interface EndpointPort { + appProtocol?: string; + name?: string; + port?: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface EndpointSlice { + addressType: "FQDN" | "IPv4" | "IPv6"; + apiVersion?: string; + endpoints: Endpoint[]; + kind?: string; + metadata?: ObjectMeta; + ports?: EndpointPort[]; +} +export interface EndpointSliceList { + apiVersion?: string; + items: EndpointSlice[]; + kind?: string; + metadata?: ListMeta; +} +export interface ForZone { + name: string; +} +export interface Event { + action?: string; + apiVersion?: string; + deprecatedCount?: number; + deprecatedFirstTimestamp?: Time; + deprecatedLastTimestamp?: Time; + deprecatedSource?: EventSource; + eventTime: MicroTime; + kind?: string; + metadata?: ObjectMeta; + note?: string; + reason?: string; + regarding?: ObjectReference; + related?: ObjectReference; + reportingController?: string; + reportingInstance?: string; + series?: EventSeries; + type?: string; +} +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +export interface EventSeries { + count: number; + lastObservedTime: MicroTime; +} +export interface ExemptPriorityLevelConfiguration { + lendablePercent?: number; + nominalConcurrencyShares?: number; +} +export interface FlowDistinguisherMethod { + type: string; +} +export interface FlowSchema { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: FlowSchemaSpec; + status?: FlowSchemaStatus; +} +export interface FlowSchemaCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status?: string; + type?: string; +} +export interface FlowSchemaList { + apiVersion?: string; + items: FlowSchema[]; + kind?: string; + metadata?: ListMeta; +} +export interface FlowSchemaSpec { + distinguisherMethod?: FlowDistinguisherMethod; + matchingPrecedence?: number; + priorityLevelConfiguration: PriorityLevelConfigurationReference; + rules?: PolicyRulesWithSubjects[]; +} +export interface FlowSchemaStatus { + conditions?: FlowSchemaCondition[]; +} +export interface GroupSubject { + name: string; +} +export interface LimitResponse { + queuing?: QueuingConfiguration; + type: string; +} +export interface LimitedPriorityLevelConfiguration { + borrowingLimitPercent?: number; + lendablePercent?: number; + limitResponse?: LimitResponse; + nominalConcurrencyShares?: number; +} +export interface NonResourcePolicyRule { + nonResourceURLs: string[]; + verbs: string[]; +} +export interface PolicyRulesWithSubjects { + nonResourceRules?: NonResourcePolicyRule[]; + resourceRules?: ResourcePolicyRule[]; + subjects: Subject[]; +} +export interface PriorityLevelConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PriorityLevelConfigurationSpec; + status?: PriorityLevelConfigurationStatus; +} +export interface PriorityLevelConfigurationCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status?: string; + type?: string; +} +export interface PriorityLevelConfigurationList { + apiVersion?: string; + items: PriorityLevelConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +export interface PriorityLevelConfigurationReference { + name: string; +} +export interface PriorityLevelConfigurationSpec { + exempt?: ExemptPriorityLevelConfiguration; + limited?: LimitedPriorityLevelConfiguration; + type: string; +} +export interface PriorityLevelConfigurationStatus { + conditions?: PriorityLevelConfigurationCondition[]; +} +export interface QueuingConfiguration { + handSize?: number; + queueLengthLimit?: number; + queues?: number; +} +export interface ResourcePolicyRule { + apiGroups: string[]; + clusterScope?: boolean; + namespaces?: string[]; + resources: string[]; + verbs: string[]; +} +export interface ServiceAccountSubject { + name: string; + namespace: string; +} +export interface Subject { + group?: GroupSubject; + kind: string; + serviceAccount?: ServiceAccountSubject; + user?: UserSubject; +} +export interface UserSubject { + name: string; +} +export interface HTTPIngressPath { + backend: IngressBackend; + path?: string; + pathType: "Exact" | "ImplementationSpecific" | "Prefix"; +} +export interface HTTPIngressRuleValue { + paths: HTTPIngressPath[]; +} +export interface IPBlock { + cidr: string; + except?: string[]; +} +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressSpec; + status?: IngressStatus; +} +export interface IngressBackend { + resource?: TypedLocalObjectReference; + service?: IngressServiceBackend; +} +export interface IngressClass { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressClassSpec; +} +export interface IngressClassList { + apiVersion?: string; + items: IngressClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface IngressClassParametersReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + scope?: string; +} +export interface IngressClassSpec { + controller?: string; + parameters?: IngressClassParametersReference; +} +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +export interface IngressLoadBalancerIngress { + hostname?: string; + ip?: string; + ports?: IngressPortStatus[]; +} +export interface IngressLoadBalancerStatus { + ingress?: IngressLoadBalancerIngress[]; +} +export interface IngressPortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +export interface IngressRule { + host?: string; + http?: HTTPIngressRuleValue; +} +export interface IngressServiceBackend { + name: string; + port?: ServiceBackendPort; +} +export interface IngressSpec { + defaultBackend?: IngressBackend; + ingressClassName?: string; + rules?: IngressRule[]; + tls?: IngressTLS[]; +} +export interface IngressStatus { + loadBalancer?: IngressLoadBalancerStatus; +} +export interface IngressTLS { + hosts?: string[]; + secretName?: string; +} +export interface NetworkPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NetworkPolicySpec; +} +export interface NetworkPolicyEgressRule { + ports?: NetworkPolicyPort[]; + to?: NetworkPolicyPeer[]; +} +export interface NetworkPolicyIngressRule { + from?: NetworkPolicyPeer[]; + ports?: NetworkPolicyPort[]; +} +export interface NetworkPolicyList { + apiVersion?: string; + items: NetworkPolicy[]; + kind?: string; + metadata?: ListMeta; +} +export interface NetworkPolicyPeer { + ipBlock?: IPBlock; + namespaceSelector?: LabelSelector; + podSelector?: LabelSelector; +} +export interface NetworkPolicyPort { + endPort?: number; + port?: IntOrString; + protocol?: "SCTP" | "TCP" | "UDP"; +} +export interface NetworkPolicySpec { + egress?: NetworkPolicyEgressRule[]; + ingress?: NetworkPolicyIngressRule[]; + podSelector: LabelSelector; + policyTypes?: ("Egress" | "Ingress")[]; +} +export interface ServiceBackendPort { + name?: string; + number?: number; +} +export interface Overhead { + podFixed?: { + [key: string]: unknown; + }; +} +export interface RuntimeClass { + apiVersion?: string; + handler: string; + kind?: string; + metadata?: ObjectMeta; + overhead?: Overhead; + scheduling?: Scheduling; +} +export interface RuntimeClassList { + apiVersion?: string; + items: RuntimeClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface Scheduling { + nodeSelector?: { + [key: string]: unknown; + }; + tolerations?: Toleration[]; +} +export interface Eviction { + apiVersion?: string; + deleteOptions?: DeleteOptions; + kind?: string; + metadata?: ObjectMeta; +} +export interface PodDisruptionBudget { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodDisruptionBudgetSpec; + status?: PodDisruptionBudgetStatus; +} +export interface PodDisruptionBudgetList { + apiVersion?: string; + items: PodDisruptionBudget[]; + kind?: string; + metadata?: ListMeta; +} +export interface PodDisruptionBudgetSpec { + maxUnavailable?: IntOrString; + minAvailable?: IntOrString; + selector?: LabelSelector; + unhealthyPodEvictionPolicy?: "AlwaysAllow" | "IfHealthyBudget"; +} +export interface PodDisruptionBudgetStatus { + conditions?: Condition[]; + currentHealthy: number; + desiredHealthy: number; + disruptedPods?: { + [key: string]: unknown; + }; + disruptionsAllowed: number; + expectedPods: number; + observedGeneration?: number; +} +export interface AggregationRule { + clusterRoleSelectors?: LabelSelector[]; +} +export interface ClusterRole { + aggregationRule?: AggregationRule; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +export interface ClusterRoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +export interface ClusterRoleBindingList { + apiVersion?: string; + items: ClusterRoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +export interface ClusterRoleList { + apiVersion?: string; + items: ClusterRole[]; + kind?: string; + metadata?: ListMeta; +} +export interface PolicyRule { + apiGroups?: string[]; + nonResourceURLs?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +export interface Role { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +export interface RoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +export interface RoleBindingList { + apiVersion?: string; + items: RoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +export interface RoleList { + apiVersion?: string; + items: Role[]; + kind?: string; + metadata?: ListMeta; +} +export interface RoleRef { + apiGroup: string; + kind: string; + name: string; +} +export interface Subject { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +export interface PriorityClass { + apiVersion?: string; + description?: string; + globalDefault?: boolean; + kind?: string; + metadata?: ObjectMeta; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + value: number; +} +export interface PriorityClassList { + apiVersion?: string; + items: PriorityClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface CSIDriver { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSIDriverSpec; +} +export interface CSIDriverList { + apiVersion?: string; + items: CSIDriver[]; + kind?: string; + metadata?: ListMeta; +} +export interface CSIDriverSpec { + attachRequired?: boolean; + fsGroupPolicy?: string; + podInfoOnMount?: boolean; + requiresRepublish?: boolean; + seLinuxMount?: boolean; + storageCapacity?: boolean; + tokenRequests?: TokenRequest[]; + volumeLifecycleModes?: string[]; +} +export interface CSINode { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSINodeSpec; +} +export interface CSINodeDriver { + allocatable?: VolumeNodeResources; + name: string; + nodeID: string; + topologyKeys?: string[]; +} +export interface CSINodeList { + apiVersion?: string; + items: CSINode[]; + kind?: string; + metadata?: ListMeta; +} +export interface CSINodeSpec { + drivers: CSINodeDriver[]; +} +export interface CSIStorageCapacity { + apiVersion?: string; + capacity?: Quantity; + kind?: string; + maximumVolumeSize?: Quantity; + metadata?: ObjectMeta; + nodeTopology?: LabelSelector; + storageClassName: string; +} +export interface CSIStorageCapacityList { + apiVersion?: string; + items: CSIStorageCapacity[]; + kind?: string; + metadata?: ListMeta; +} +export interface StorageClass { + allowVolumeExpansion?: boolean; + allowedTopologies?: TopologySelectorTerm[]; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + mountOptions?: string[]; + parameters?: { + [key: string]: unknown; + }; + provisioner: string; + reclaimPolicy?: "Delete" | "Recycle" | "Retain"; + volumeBindingMode?: "Immediate" | "WaitForFirstConsumer"; +} +export interface StorageClassList { + apiVersion?: string; + items: StorageClass[]; + kind?: string; + metadata?: ListMeta; +} +export interface TokenRequest { + audience: string; + expirationSeconds?: number; +} +export interface VolumeAttachment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: VolumeAttachmentSpec; + status?: VolumeAttachmentStatus; +} +export interface VolumeAttachmentList { + apiVersion?: string; + items: VolumeAttachment[]; + kind?: string; + metadata?: ListMeta; +} +export interface VolumeAttachmentSource { + inlineVolumeSpec?: PersistentVolumeSpec; + persistentVolumeName?: string; +} +export interface VolumeAttachmentSpec { + attacher: string; + nodeName: string; + source: VolumeAttachmentSource; +} +export interface VolumeAttachmentStatus { + attachError?: VolumeError; + attached: boolean; + attachmentMetadata?: { + [key: string]: unknown; + }; + detachError?: VolumeError; +} +export interface VolumeError { + message?: string; + time?: Time; +} +export interface VolumeNodeResources { + count?: number; +} +export interface CustomResourceColumnDefinition { + description?: string; + format?: string; + jsonPath: string; + name: string; + priority?: number; + type: string; +} +export interface CustomResourceConversion { + strategy: string; + webhook?: WebhookConversion; +} +export interface CustomResourceDefinition { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CustomResourceDefinitionSpec; + status?: CustomResourceDefinitionStatus; +} +export interface CustomResourceDefinitionCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface CustomResourceDefinitionList { + apiVersion?: string; + items: CustomResourceDefinition[]; + kind?: string; + metadata?: ListMeta; +} +export interface CustomResourceDefinitionNames { + categories?: string[]; + kind: string; + listKind?: string; + plural: string; + shortNames?: string[]; + singular?: string; +} +export interface CustomResourceDefinitionSpec { + conversion?: CustomResourceConversion; + group: string; + names: CustomResourceDefinitionNames; + preserveUnknownFields?: boolean; + scope: string; + versions: CustomResourceDefinitionVersion[]; +} +export interface CustomResourceDefinitionStatus { + acceptedNames?: CustomResourceDefinitionNames; + conditions?: CustomResourceDefinitionCondition[]; + storedVersions?: string[]; +} +export interface CustomResourceDefinitionVersion { + additionalPrinterColumns?: CustomResourceColumnDefinition[]; + deprecated?: boolean; + deprecationWarning?: string; + name: string; + schema?: CustomResourceValidation; + selectableFields?: SelectableField[]; + served: boolean; + storage: boolean; + subresources?: CustomResourceSubresources; +} +export interface CustomResourceSubresourceScale { + labelSelectorPath?: string; + specReplicasPath: string; + statusReplicasPath: string; +} +export type CustomResourceSubresourceStatus = { + [key: string]: unknown; +}; +export interface CustomResourceSubresources { + scale?: CustomResourceSubresourceScale; + status?: CustomResourceSubresourceStatus; +} +export interface CustomResourceValidation { + openAPIV3Schema?: JSONSchemaProps; +} +export interface ExternalDocumentation { + description?: string; + url?: string; +} +export type JSON = any; +export interface JSONSchemaProps { + $ref?: string; + $schema?: string; + additionalItems?: JSONSchemaPropsOrBool; + additionalProperties?: JSONSchemaPropsOrBool; + allOf?: JSONSchemaProps[]; + anyOf?: JSONSchemaProps[]; + default?: JSON; + definitions?: { + [key: string]: unknown; + }; + dependencies?: { + [key: string]: unknown; + }; + description?: string; + enum?: JSON[]; + example?: JSON; + exclusiveMaximum?: boolean; + exclusiveMinimum?: boolean; + externalDocs?: ExternalDocumentation; + format?: string; + id?: string; + items?: JSONSchemaPropsOrArray; + maxItems?: number; + maxLength?: number; + maxProperties?: number; + maximum?: number; + minItems?: number; + minLength?: number; + minProperties?: number; + minimum?: number; + multipleOf?: number; + not?: JSONSchemaProps; + nullable?: boolean; + oneOf?: JSONSchemaProps[]; + pattern?: string; + patternProperties?: { + [key: string]: unknown; + }; + properties?: { + [key: string]: unknown; + }; + required?: string[]; + title?: string; + type?: string; + uniqueItems?: boolean; + "x-kubernetes-embedded-resource"?: boolean; + "x-kubernetes-int-or-string"?: boolean; + "x-kubernetes-list-map-keys"?: string[]; + "x-kubernetes-list-type"?: string; + "x-kubernetes-map-type"?: string; + "x-kubernetes-preserve-unknown-fields"?: boolean; + "x-kubernetes-validations"?: ValidationRule[]; +} +export type JSONSchemaPropsOrArray = any; +export type JSONSchemaPropsOrBool = any; +export type JSONSchemaPropsOrStringArray = any; +export interface SelectableField { + jsonPath: string; +} +export interface ServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +export interface ValidationRule { + fieldPath?: string; + message?: string; + messageExpression?: string; + optionalOldSelf?: boolean; + reason?: "FieldValueDuplicate" | "FieldValueForbidden" | "FieldValueInvalid" | "FieldValueRequired"; + rule: string; +} +export interface WebhookClientConfig { + caBundle?: string; + service?: ServiceReference; + url?: string; +} +export interface WebhookConversion { + clientConfig?: WebhookClientConfig; + conversionReviewVersions: string[]; +} +export type Quantity = string; +export interface APIGroup { + apiVersion?: string; + kind?: string; + name: string; + preferredVersion?: GroupVersionForDiscovery; + serverAddressByClientCIDRs?: ServerAddressByClientCIDR[]; + versions: GroupVersionForDiscovery[]; +} +export interface APIGroupList { + apiVersion?: string; + groups: APIGroup[]; + kind?: string; +} +export interface APIResource { + categories?: string[]; + group?: string; + kind: string; + name: string; + namespaced: boolean; + shortNames?: string[]; + singularName: string; + storageVersionHash?: string; + verbs: string[]; + version?: string; +} +export interface APIResourceList { + apiVersion?: string; + groupVersion: string; + kind?: string; + resources: APIResource[]; +} +export interface APIVersions { + apiVersion?: string; + kind?: string; + serverAddressByClientCIDRs: ServerAddressByClientCIDR[]; + versions: string[]; +} +export interface Condition { + lastTransitionTime: Time; + message: string; + observedGeneration?: number; + reason: string; + status: string; + type: string; +} +export interface DeleteOptions { + apiVersion?: string; + dryRun?: string[]; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + kind?: string; + orphanDependents?: boolean; + preconditions?: Preconditions; + propagationPolicy?: string; +} +export interface FieldSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +export type FieldsV1 = { + [key: string]: unknown; +}; +export interface GroupVersionForDiscovery { + groupVersion: string; + version: string; +} +export interface LabelSelector { + matchExpressions?: LabelSelectorRequirement[]; + matchLabels?: { + [key: string]: unknown; + }; +} +export interface LabelSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +export interface ListMeta { + continue?: string; + remainingItemCount?: number; + resourceVersion?: string; + selfLink?: string; +} +export interface ManagedFieldsEntry { + apiVersion?: string; + fieldsType?: string; + fieldsV1?: FieldsV1; + manager?: string; + operation?: string; + subresource?: string; + time?: Time; +} +export type MicroTime = string; +export interface ObjectMeta { + annotations?: { + [key: string]: unknown; + }; + creationTimestamp?: Time; + deletionGracePeriodSeconds?: number; + deletionTimestamp?: Time; + finalizers?: string[]; + generateName?: string; + generation?: number; + labels?: { + [key: string]: unknown; + }; + managedFields?: ManagedFieldsEntry[]; + name?: string; + namespace?: string; + ownerReferences?: OwnerReference[]; + resourceVersion?: string; + selfLink?: string; + uid?: string; +} +export interface OwnerReference { + apiVersion: string; + blockOwnerDeletion?: boolean; + controller?: boolean; + kind: string; + name: string; + uid: string; +} +export type Patch = { + [key: string]: unknown; +}; +export interface Preconditions { + resourceVersion?: string; + uid?: string; +} +export interface ServerAddressByClientCIDR { + clientCIDR: string; + serverAddress: string; +} +export interface Status { + apiVersion?: string; + code?: number; + details?: StatusDetails; + kind?: string; + message?: string; + metadata?: ListMeta; + reason?: string; + status?: string; +} +export interface StatusCause { + field?: string; + message?: string; + reason?: string; +} +export interface StatusDetails { + causes?: StatusCause[]; + group?: string; + kind?: string; + name?: string; + retryAfterSeconds?: number; + uid?: string; +} +export type Time = string; +export interface WatchEvent { + object: RawExtension; + type: string; +} +export type RawExtension = { + [key: string]: unknown; +}; +export type IntOrString = string; +export interface Info { + buildDate: string; + compiler: string; + gitCommit: string; + gitTreeState: string; + gitVersion: string; + goVersion: string; + major: string; + minor: string; + platform: string; +} +export interface APIService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: APIServiceSpec; + status?: APIServiceStatus; +} +export interface APIServiceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +export interface APIServiceList { + apiVersion?: string; + items: APIService[]; + kind?: string; + metadata?: ListMeta; +} +export interface APIServiceSpec { + caBundle?: string; + group?: string; + groupPriorityMinimum: number; + insecureSkipTLSVerify?: boolean; + service?: ServiceReference; + version?: string; + versionPriority: number; +} +export interface APIServiceStatus { + conditions?: APIServiceCondition[]; +} +export interface ServiceReference { + name?: string; + namespace?: string; + port?: number; +} +export interface GetServiceAccountIssuerOpenIDConfigurationRequest {} +export interface GetCoreAPIVersionsRequest {} +export interface GetCoreV1APIResourcesRequest {} +export interface ListCoreV1ComponentStatusRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadCoreV1ComponentStatusRequest { + pretty?: string; + name: string; +} +export interface ListCoreV1ConfigMapForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1EndpointsForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1EventForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1LimitRangeForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1NamespaceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: Namespace; +} +export interface CreateCoreV1NamespacedBindingRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + namespace: string; + body: Binding; +} +export interface ListCoreV1NamespacedConfigMapRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ConfigMap; +} +export interface DeleteCoreV1CollectionNamespacedConfigMapRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedConfigMapRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ConfigMap; +} +export interface DeleteCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedConfigMapRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedEndpointsRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Endpoints; +} +export interface DeleteCoreV1CollectionNamespacedEndpointsRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedEndpointsRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Endpoints; +} +export interface DeleteCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedEndpointsRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedEventRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Event; +} +export interface DeleteCoreV1CollectionNamespacedEventRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedEventRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Event; +} +export interface DeleteCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedLimitRangeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: LimitRange; +} +export interface DeleteCoreV1CollectionNamespacedLimitRangeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedLimitRangeRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: LimitRange; +} +export interface DeleteCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedLimitRangeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PersistentVolumeClaim; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedPodRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Pod; +} +export interface DeleteCoreV1CollectionNamespacedPodRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedPodRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pod; +} +export interface DeleteCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedPodRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedPodAttachRequest { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodAttachRequest { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface CreateCoreV1NamespacedPodBindingRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + namespace: string; + body: Binding; +} +export interface ReadCoreV1NamespacedPodEphemeralcontainersRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodEphemeralcontainersRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pod; +} +export interface PatchCoreV1NamespacedPodEphemeralcontainersRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface CreateCoreV1NamespacedPodEvictionRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + namespace: string; + body: Eviction; +} +export interface ConnectCoreV1GetNamespacedPodExecRequest { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodExecRequest { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + name: string; + namespace: string; +} +export interface ReadCoreV1NamespacedPodLogRequest { + container?: string; + follow?: boolean; + insecureSkipTLSVerifyBackend?: boolean; + limitBytes?: number; + pretty?: string; + previous?: boolean; + sinceSeconds?: number; + stream?: string; + tailLines?: number; + timestamps?: boolean; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedPodPortforwardRequest { + ports?: number; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodPortforwardRequest { + ports?: number; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PutNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1OptionsNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1HeadNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PatchNamespacedPodProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PostNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PutNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1HeadNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PatchNamespacedPodProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ReadCoreV1NamespacedPodStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pod; +} +export interface PatchCoreV1NamespacedPodStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedPodTemplateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodTemplate; +} +export interface DeleteCoreV1CollectionNamespacedPodTemplateRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedPodTemplateRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodTemplate; +} +export interface DeleteCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedPodTemplateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ReplicationController; +} +export interface DeleteCoreV1CollectionNamespacedReplicationControllerRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicationController; +} +export interface DeleteCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedReplicationControllerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedReplicationControllerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchCoreV1NamespacedReplicationControllerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedReplicationControllerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicationController; +} +export interface PatchCoreV1NamespacedReplicationControllerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ResourceQuota; +} +export interface DeleteCoreV1CollectionNamespacedResourceQuotaRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ResourceQuota; +} +export interface DeleteCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedResourceQuotaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespacedResourceQuotaStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedResourceQuotaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ResourceQuota; +} +export interface PatchCoreV1NamespacedResourceQuotaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedSecretRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Secret; +} +export interface DeleteCoreV1CollectionNamespacedSecretRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedSecretRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Secret; +} +export interface DeleteCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedSecretRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCoreV1NamespacedServiceAccountRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ServiceAccount; +} +export interface DeleteCoreV1CollectionNamespacedServiceAccountRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedServiceAccountRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServiceAccount; +} +export interface DeleteCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedServiceAccountRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface CreateCoreV1NamespacedServiceAccountTokenRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + namespace: string; + body: TokenRequest; +} +export interface ListCoreV1NamespacedServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Service; +} +export interface DeleteCoreV1CollectionNamespacedServiceRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoreV1NamespacedServiceRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface DeleteCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoreV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PostNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PutNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1OptionsNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1HeadNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyRequest { + path?: string; + name: string; + namespace: string; +} +export interface ConnectCoreV1GetNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PostNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PutNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest { + path?: string; + name: string; + namespace: string; + path: string; +} +export interface ReadCoreV1NamespacedServiceStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoreV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface PatchCoreV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCoreV1NamespaceRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Namespace; +} +export interface DeleteCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCoreV1NamespaceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReplaceCoreV1NamespaceFinalizeRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + name: string; + body: Namespace; +} +export interface ReadCoreV1NamespaceStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NamespaceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Namespace; +} +export interface PatchCoreV1NamespaceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCoreV1NodeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: Node; +} +export interface DeleteCoreV1CollectionNodeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadCoreV1NodeRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Node; +} +export interface DeleteCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCoreV1NodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ConnectCoreV1GetNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1PostNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1PutNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1DeleteNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1OptionsNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1HeadNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1PatchNodeProxyRequest { + path?: string; + name: string; +} +export interface ConnectCoreV1GetNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1PostNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1PutNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1DeleteNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1OptionsNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1HeadNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ConnectCoreV1PatchNodeProxyWithPathRequest { + path?: string; + name: string; + path: string; +} +export interface ReadCoreV1NodeStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1NodeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: Node; +} +export interface PatchCoreV1NodeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCoreV1PersistentVolumeClaimForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1PersistentVolumeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: PersistentVolume; +} +export interface DeleteCoreV1CollectionPersistentVolumeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadCoreV1PersistentVolumeRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PersistentVolume; +} +export interface DeleteCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCoreV1PersistentVolumeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCoreV1PersistentVolumeStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCoreV1PersistentVolumeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PersistentVolume; +} +export interface PatchCoreV1PersistentVolumeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCoreV1PodForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1PodTemplateForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ReplicationControllerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ResourceQuotaForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1SecretForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ServiceAccountForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoreV1ServiceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ConfigMapListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1EndpointsListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1EventListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1LimitRangeListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1NamespaceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1NamespacedConfigMapListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedConfigMapRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedEndpointsListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedEndpointsRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedEventListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedEventRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedLimitRangeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedLimitRangeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedPodListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedPodRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedPodTemplateListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedPodTemplateRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedReplicationControllerListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedReplicationControllerRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedResourceQuotaListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedResourceQuotaRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedSecretListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedSecretRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceAccountListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceAccountRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoreV1NamespacedServiceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchCoreV1NamespaceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchCoreV1NodeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1NodeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1PersistentVolumeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1PersistentVolumeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchCoreV1PodListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1PodTemplateListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ReplicationControllerListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ResourceQuotaListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1SecretListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ServiceAccountListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoreV1ServiceListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAPIVersionsRequest {} +export interface ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Challenge; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Order; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAcmeCertManagerIoV1OrderForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAdmissionregistrationAPIGroupRequest {} +export interface GetAdmissionregistrationV1APIResourcesRequest {} +export interface ListAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingAdmissionPolicy; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + name: string; +} +export interface ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetApiextensionsAPIGroupRequest {} +export interface GetApiextensionsV1APIResourcesRequest {} +export interface ListApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchApiextensionsV1CustomResourceDefinitionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadApiextensionsV1CustomResourceDefinitionStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CustomResourceDefinition; +} +export interface PatchApiextensionsV1CustomResourceDefinitionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchApiextensionsV1CustomResourceDefinitionListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchApiextensionsV1CustomResourceDefinitionRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetApiregistrationAPIGroupRequest {} +export interface GetApiregistrationV1APIResourcesRequest {} +export interface ListApiregistrationV1APIServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: APIService; +} +export interface DeleteApiregistrationV1CollectionAPIServiceRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadApiregistrationV1APIServiceRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: APIService; +} +export interface DeleteApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchApiregistrationV1APIServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadApiregistrationV1APIServiceStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceApiregistrationV1APIServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: APIService; +} +export interface PatchApiregistrationV1APIServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchApiregistrationV1APIServiceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchApiregistrationV1APIServiceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetAppsAPIGroupRequest {} +export interface GetAppsV1APIResourcesRequest {} +export interface ListAppsV1ControllerRevisionForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1DaemonSetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1DeploymentForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ControllerRevision; +} +export interface DeleteAppsV1CollectionNamespacedControllerRevisionRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ControllerRevision; +} +export interface DeleteAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedControllerRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedDaemonSetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: DaemonSet; +} +export interface DeleteAppsV1CollectionNamespacedDaemonSetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedDaemonSetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DaemonSet; +} +export interface DeleteAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedDaemonSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedDaemonSetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDaemonSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DaemonSet; +} +export interface PatchAppsV1NamespacedDaemonSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedDeploymentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Deployment; +} +export interface DeleteAppsV1CollectionNamespacedDeploymentRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedDeploymentRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Deployment; +} +export interface DeleteAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedDeploymentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDeploymentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchAppsV1NamespacedDeploymentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedDeploymentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Deployment; +} +export interface PatchAppsV1NamespacedDeploymentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedReplicaSetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ReplicaSet; +} +export interface DeleteAppsV1CollectionNamespacedReplicaSetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedReplicaSetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicaSet; +} +export interface DeleteAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedReplicaSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedReplicaSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchAppsV1NamespacedReplicaSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedReplicaSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ReplicaSet; +} +export interface PatchAppsV1NamespacedReplicaSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1NamespacedStatefulSetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: StatefulSet; +} +export interface DeleteAppsV1CollectionNamespacedStatefulSetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAppsV1NamespacedStatefulSetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: StatefulSet; +} +export interface DeleteAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAppsV1NamespacedStatefulSetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetScaleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedStatefulSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchAppsV1NamespacedStatefulSetScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAppsV1NamespacedStatefulSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: StatefulSet; +} +export interface PatchAppsV1NamespacedStatefulSetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAppsV1ReplicaSetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAppsV1StatefulSetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1ControllerRevisionListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1DaemonSetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1DeploymentListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1NamespacedControllerRevisionListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedControllerRevisionRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedDaemonSetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedDaemonSetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedDeploymentListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedDeploymentRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedReplicaSetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedReplicaSetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1NamespacedStatefulSetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAppsV1NamespacedStatefulSetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchAppsV1ReplicaSetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAppsV1StatefulSetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAuthenticationAPIGroupRequest {} +export interface GetAuthenticationV1APIResourcesRequest {} +export interface CreateAuthenticationV1SelfSubjectReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SelfSubjectReview; +} +export interface CreateAuthenticationV1TokenReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: TokenReview; +} +export interface GetAuthorizationAPIGroupRequest {} +export interface GetAuthorizationV1APIResourcesRequest {} +export interface CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + namespace: string; + body: LocalSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectAccessReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SelfSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectRulesReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SelfSubjectRulesReview; +} +export interface CreateAuthorizationV1SubjectAccessReviewRequest { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + body: SubjectAccessReview; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Metric; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodAutoscaler; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetAutoscalingAPIGroupRequest {} +export interface GetAutoscalingV1APIResourcesRequest {} +export interface ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetAutoscalingV2APIResourcesRequest {} +export interface ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetBatchAPIGroupRequest {} +export interface GetBatchV1APIResourcesRequest {} +export interface ListBatchV1CronJobForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListBatchV1JobForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListBatchV1NamespacedCronJobRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: CronJob; +} +export interface DeleteBatchV1CollectionNamespacedCronJobRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadBatchV1NamespacedCronJobRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CronJob; +} +export interface DeleteBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchBatchV1NamespacedCronJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadBatchV1NamespacedCronJobStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedCronJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CronJob; +} +export interface PatchBatchV1NamespacedCronJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListBatchV1NamespacedJobRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Job; +} +export interface DeleteBatchV1CollectionNamespacedJobRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadBatchV1NamespacedJobRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Job; +} +export interface DeleteBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchBatchV1NamespacedJobRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadBatchV1NamespacedJobStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceBatchV1NamespacedJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Job; +} +export interface PatchBatchV1NamespacedJobStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchBatchV1CronJobListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchBatchV1JobListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchBatchV1NamespacedCronJobListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchBatchV1NamespacedCronJobRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchBatchV1NamespacedJobListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchBatchV1NamespacedJobRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Image; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCertManagerIoV1CertificateRequestForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCertManagerIoV1CertificateForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1CollectionClusterIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCertManagerIoV1ClusterIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCertManagerIoV1ClusterIssuerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceCertManagerIoV1ClusterIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterIssuer; +} +export interface PatchCertManagerIoV1ClusterIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListCertManagerIoV1IssuerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CertificateRequest; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Certificate; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface PatchCertManagerIoV1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Issuer; +} +export interface DeleteCertManagerIoV1CollectionNamespacedIssuerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Issuer; +} +export interface DeleteCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCertManagerIoV1NamespacedIssuerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedIssuerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Issuer; +} +export interface PatchCertManagerIoV1NamespacedIssuerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface GetCertificatesAPIGroupRequest {} +export interface GetCertificatesV1APIResourcesRequest {} +export interface ListCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CollectionCertificateSigningRequestRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + name: string; +} +export interface ReplaceCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchCertificatesV1CertificateSigningRequestRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestApprovalRequest { + pretty?: string; + name: string; +} +export interface ReplaceCertificatesV1CertificateSigningRequestApprovalRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestApprovalRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceCertificatesV1CertificateSigningRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchCertificatesV1CertificateSigningRequestListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCertificatesV1CertificateSigningRequestRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetCoordinationAPIGroupRequest {} +export interface GetCoordinationV1APIResourcesRequest {} +export interface ListCoordinationV1LeaseForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListCoordinationV1NamespacedLeaseRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Lease; +} +export interface DeleteCoordinationV1CollectionNamespacedLeaseRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadCoordinationV1NamespacedLeaseRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Lease; +} +export interface DeleteCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchCoordinationV1NamespacedLeaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchCoordinationV1LeaseListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchCoordinationV1NamespacedLeaseListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchCoordinationV1NamespacedLeaseRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetDiscoveryAPIGroupRequest {} +export interface GetDiscoveryV1APIResourcesRequest {} +export interface ListDiscoveryV1EndpointSliceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchDiscoveryV1NamespacedEndpointSliceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetEventsAPIGroupRequest {} +export interface GetEventsV1APIResourcesRequest {} +export interface ListEventsV1EventForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListEventsV1NamespacedEventRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Event; +} +export interface DeleteEventsV1CollectionNamespacedEventRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadEventsV1NamespacedEventRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Event; +} +export interface DeleteEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchEventsV1NamespacedEventRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface WatchEventsV1EventListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchEventsV1NamespacedEventListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchEventsV1NamespacedEventRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface GetFlowcontrolApiserverAPIGroupRequest {} +export interface GetFlowcontrolApiserverV1APIResourcesRequest {} +export interface ListFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: FlowSchema; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PriorityLevelConfiguration; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Alertmanager; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedPodMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedProbeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Prometheus; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServiceMonitor; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ThanosRuler; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1ProbeForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PrometheusAgent; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterDomainClaim; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Certificate; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ServerlessService; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetNetworkingAPIGroupRequest {} +export interface GetNetworkingV1APIResourcesRequest {} +export interface ListNetworkingV1IngressClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: IngressClass; +} +export interface DeleteNetworkingV1CollectionIngressClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadNetworkingV1IngressClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: IngressClass; +} +export interface DeleteNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchNetworkingV1IngressClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListNetworkingV1IngressForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListNetworkingV1NamespacedIngressRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingV1CollectionNamespacedIngressRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadNetworkingV1NamespacedIngressRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface DeleteNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingV1NamespacedIngressRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadNetworkingV1NamespacedIngressStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingV1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Ingress; +} +export interface PatchNetworkingV1NamespacedIngressStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchNetworkingV1NamespacedNetworkPolicyRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListNetworkingV1NetworkPolicyForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNetworkingV1IngressClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNetworkingV1IngressClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchNetworkingV1IngressListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNetworkingV1NamespacedIngressListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchNetworkingV1NamespacedIngressRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetNodeAPIGroupRequest {} +export interface GetNodeV1APIResourcesRequest {} +export interface ListNodeV1RuntimeClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: RuntimeClass; +} +export interface DeleteNodeV1CollectionRuntimeClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadNodeV1RuntimeClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: RuntimeClass; +} +export interface DeleteNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchNodeV1RuntimeClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchNodeV1RuntimeClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchNodeV1RuntimeClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetPolicyAPIGroupRequest {} +export interface GetPolicyV1APIResourcesRequest {} +export interface ListPolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: PodDisruptionBudget; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + resourceVersion?: string; + name: string; +} +export interface ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Backup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Cluster; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Database; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Pooler; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Publication; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: ScheduledBackup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Subscription; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetRbacAuthorizationAPIGroupRequest {} +export interface GetRbacAuthorizationV1APIResourcesRequest {} +export interface ListRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + name: string; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchRbacAuthorizationV1ClusterRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + name: string; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchRbacAuthorizationV1ClusterRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchRbacAuthorizationV1NamespacedRoleBindingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Role; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Role; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchRbacAuthorizationV1NamespacedRoleRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListRbacAuthorizationV1RoleForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchRbacAuthorizationV1ClusterRoleListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1ClusterRoleRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchRbacAuthorizationV1NamespacedRoleRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchRbacAuthorizationV1RoleListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface GetSchedulingAPIGroupRequest {} +export interface GetSchedulingV1APIResourcesRequest {} +export interface ListSchedulingV1PriorityClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: PriorityClass; +} +export interface DeleteSchedulingV1CollectionPriorityClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadSchedulingV1PriorityClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: PriorityClass; +} +export interface DeleteSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchSchedulingV1PriorityClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchSchedulingV1PriorityClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchSchedulingV1PriorityClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface ListServingKnativeDevV1ConfigurationForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Configuration; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Configuration; +} +export interface DeleteServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Configuration; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Revision; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Revision; +} +export interface DeleteServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedRevisionRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRevisionStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Revision; +} +export interface PatchServingKnativeDevV1NamespacedRevisionStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Route; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRouteRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Route; +} +export interface DeleteServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedRouteRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRouteStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Route; +} +export interface PatchServingKnativeDevV1NamespacedRouteStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: Service; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedServiceRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface DeleteServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1NamespacedServiceRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedServiceStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: Service; +} +export interface PatchServingKnativeDevV1NamespacedServiceStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListServingKnativeDevV1RevisionForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1RouteForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1ServiceForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1beta1DomainMappingForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: DomainMapping; +} +export interface DeleteServingKnativeDevV1beta1CollectionNamespacedDomainMappingRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface ReadServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DomainMapping; +} +export interface DeleteServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchServingKnativeDevV1beta1NamespacedDomainMappingRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ReadServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest { + pretty?: string; + resourceVersion?: string; + name: string; + namespace: string; +} +export interface ReplaceServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: DomainMapping; +} +export interface PatchServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface GetStorageAPIGroupRequest {} +export interface GetStorageV1APIResourcesRequest {} +export interface ListStorageV1CSIDriverRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CSIDriver; +} +export interface DeleteStorageV1CollectionCSIDriverRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1CSIDriverRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CSIDriver; +} +export interface DeleteStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1CSIDriverRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListStorageV1CSINodeRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: CSINode; +} +export interface DeleteStorageV1CollectionCSINodeRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1CSINodeRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: CSINode; +} +export interface DeleteStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1CSINodeRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListStorageV1CSIStorageCapacityForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface ListStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface CreateStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + namespace: string; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + namespace: string; +} +export interface ReadStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + name: string; + namespace: string; +} +export interface ReplaceStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + namespace: string; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; + namespace: string; +} +export interface PatchStorageV1NamespacedCSIStorageCapacityRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + namespace: string; + body: Patch; +} +export interface ListStorageV1StorageClassRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: StorageClass; +} +export interface DeleteStorageV1CollectionStorageClassRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1StorageClassRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: StorageClass; +} +export interface DeleteStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1StorageClassRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ListStorageV1VolumeAttachmentRequest { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface CreateStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + body: VolumeAttachment; +} +export interface DeleteStorageV1CollectionVolumeAttachmentRequest { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; +} +export interface ReadStorageV1VolumeAttachmentRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: VolumeAttachment; +} +export interface DeleteStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + name: string; +} +export interface PatchStorageV1VolumeAttachmentRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface ReadStorageV1VolumeAttachmentStatusRequest { + pretty?: string; + name: string; +} +export interface ReplaceStorageV1VolumeAttachmentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + name: string; + body: VolumeAttachment; +} +export interface PatchStorageV1VolumeAttachmentStatusRequest { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + name: string; + body: Patch; +} +export interface WatchStorageV1CSIDriverListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1CSIDriverRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchStorageV1CSINodeListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1CSINodeRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + namespace: string; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; + namespace: string; +} +export interface WatchStorageV1StorageClassListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1StorageClassRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface WatchStorageV1VolumeAttachmentListRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; +} +export interface WatchStorageV1VolumeAttachmentRequest { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + name: string; +} +export interface GetServiceAccountIssuerOpenIDKeysetRequest {} +export interface GetCodeVersionRequest {} +export class KubernetesClient extends APIClient { + constructor(options) { + super(options); + } + async getSwaggerJSON() { + const path = "/openapi/v2"; + return this.get(path); + } + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/.well-known/openid-configuration/\`; + return await this.get(path, null, null, opts); + } + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/\`; + return await this.get(path, null, null, opts); + } + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/componentstatuses\`; + return await this.get(path, null, null, opts); + } + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/componentstatuses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/configmaps\`; + return await this.get(path, null, null, opts); + } + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/endpoints\`; + return await this.get(path, null, null, opts); + } + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/events\`; + return await this.get(path, null, null, opts); + } + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/limitranges\`; + return await this.get(path, null, null, opts); + } + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces\`; + return await this.get(path, null, null, opts); + } + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces\`; + return await this.post(path, params.query, params.body, opts); + } + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/bindings\`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/configmaps/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/endpoints/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/limitranges/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/attach\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/attach\`; + return await this.post(path, null, null, opts); + } + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/binding\`; + return await this.post(path, null, params.body, opts); + } + async readCoreV1NamespacedPodEphemeralcontainers(params: ReadCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/ephemeralcontainers\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodEphemeralcontainers(params: ReplaceCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/ephemeralcontainers\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodEphemeralcontainers(params: PatchCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/ephemeralcontainers\`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/eviction\`; + return await this.post(path, null, params.body, opts); + } + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/exec\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/exec\`; + return await this.post(path, null, null, opts); + } + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/log\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/portforward\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/portforward\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedPodProxy(params: ConnectCoreV1OptionsNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedPodProxy(params: ConnectCoreV1HeadNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy\`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedPodProxyWithPath(params: ConnectCoreV1OptionsNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedPodProxyWithPath(params: ConnectCoreV1HeadNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/proxy/\${params.path}\`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/pods/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/resourcequotas/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/secrets/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/serviceaccounts/\${params.name}/token\`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedService(params: DeleteCoreV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedServiceProxy(params: ConnectCoreV1OptionsNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedServiceProxy(params: ConnectCoreV1HeadNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy\`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNamespacedServiceProxyWithPath(params: ConnectCoreV1OptionsNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNamespacedServiceProxyWithPath(params: ConnectCoreV1HeadNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/proxy/\${params.path}\`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}/finalize\`; + return await this.put(path, null, params.body, opts); + } + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes\`; + return await this.get(path, null, null, opts); + } + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNodeProxy(params: ConnectCoreV1OptionsNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNodeProxy(params: ConnectCoreV1HeadNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy\`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1OptionsNodeProxyWithPath(params: ConnectCoreV1OptionsNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.options(path, null, null, opts); + } + async connectCoreV1HeadNodeProxyWithPath(params: ConnectCoreV1HeadNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.head(path, null, null, opts); + } + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/proxy/\${params.path}\`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes\`; + return await this.get(path, null, null, opts); + } + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/pods\`; + return await this.get(path, null, null, opts); + } + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/podtemplates\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/secrets\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/services\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/configmaps\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/endpoints\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/events\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/limitranges\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/configmaps\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/configmaps/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/endpoints\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/endpoints/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/limitranges\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/limitranges/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/persistentvolumeclaims/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/pods\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/pods/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/podtemplates\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/podtemplates/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/replicationcontrollers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/resourcequotas/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/secrets\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/secrets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/serviceaccounts/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/services\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/nodes\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/nodes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/persistentvolumes\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/persistentvolumes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/pods\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/podtemplates\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/secrets\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/services\`; + return await this.get(path, null, null, opts); + } + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/\`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1ChallengeForAllNamespaces(params: ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/challenges\`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1NamespacedChallenge(params: ListAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges\`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedChallenge(params: CreateAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedChallenge(params: DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges\`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallenge(params: ReadAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallenge(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedChallenge(params: DeleteAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallenge(params: PatchAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallengeStatus(params: PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/challenges/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1NamespacedOrder(params: ListAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders\`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedOrder(params: CreateAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedOrder(params: DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders\`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrder(params: ReadAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrder(params: ReplaceAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedOrder(params: DeleteAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrder(params: PatchAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrderStatus(params: ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrderStatus(params: ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrderStatus(params: PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.namespace}/orders/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1OrderForAllNamespaces(params: ListAcmeCertManagerIoV1OrderForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/orders\`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicy(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicy(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicy(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicy(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBindingList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; + return await this.get(path, null, null, opts); + } + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; + return await this.delete(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions\`; + return await this.get(path, null, null, opts); + } + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; + return await this.get(path, null, null, opts); + } + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; + return await this.delete(path, params.query, null, opts); + } + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices\`; + return await this.get(path, null, null, opts); + } + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/\`; + return await this.get(path, null, null, opts); + } + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/\`; + return await this.get(path, null, null, opts); + } + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/daemonsets\`; + return await this.get(path, null, null, opts); + } + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/deployments\`; + return await this.get(path, null, null, opts); + } + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/daemonsets/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/deployments/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/replicasets/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.namespace}/statefulsets/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/replicasets\`; + return await this.get(path, null, null, opts); + } + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/statefulsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/daemonsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/deployments\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/controllerrevisions/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/daemonsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/daemonsets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/deployments\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/deployments/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/replicasets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/replicasets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/statefulsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.namespace}/statefulsets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/replicasets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/statefulsets\`; + return await this.get(path, null, null, opts); + } + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async createAuthenticationV1SelfSubjectReview(params: CreateAuthenticationV1SelfSubjectReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/v1/selfsubjectreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/v1/tokenreviews\`; + return await this.post(path, null, params.body, opts); + } + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/namespaces/\${params.namespace}/localsubjectaccessreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/selfsubjectaccessreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/selfsubjectrulesreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/subjectaccessreviews\`; + return await this.post(path, null, params.body, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/metrics\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics\`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/metrics/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers\`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/podautoscalers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/podautoscalers\`; + return await this.get(path, null, null, opts); + } + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/\`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/watch/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV2APIResources(params: GetAutoscalingV2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/watch/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/watch/namespaces/\${params.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/watch/namespaces/\${params.namespace}/horizontalpodautoscalers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/\`; + return await this.get(path, null, null, opts); + } + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/\`; + return await this.get(path, null, null, opts); + } + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/cronjobs\`; + return await this.get(path, null, null, opts); + } + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/jobs\`; + return await this.get(path, null, null, opts); + } + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs\`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs\`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/cronjobs/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs\`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs\`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.namespace}/jobs/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/cronjobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/jobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/cronjobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/cronjobs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/jobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.namespace}/jobs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1ImageForAllNamespaces(params: ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/images\`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1NamespacedImage(params: ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images\`; + return await this.get(path, null, null, opts); + } + async createCachingInternalKnativeDevV1alpha1NamespacedImage(params: CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images\`; + return await this.delete(path, null, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1NamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImage(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/images/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1CertificateRequestForAllNamespaces(params: ListCertManagerIoV1CertificateRequestForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/certificaterequests\`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1CertificateForAllNamespaces(params: ListCertManagerIoV1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/certificates\`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1ClusterIssuer(params: ListCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1ClusterIssuer(params: CreateCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionClusterIssuer(params: DeleteCertManagerIoV1CollectionClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1ClusterIssuer(params: ReadCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuer(params: ReplaceCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1ClusterIssuer(params: DeleteCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1ClusterIssuer(params: PatchCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1ClusterIssuerStatus(params: ReadCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuerStatus(params: ReplaceCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1ClusterIssuerStatus(params: PatchCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1IssuerForAllNamespaces(params: ListCertManagerIoV1IssuerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/issuers\`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1NamespacedCertificateRequest(params: ListCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificateRequest(params: CreateCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificateRequest(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequest(params: ReadCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequest(params: ReplaceCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificateRequest(params: DeleteCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequest(params: PatchCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequestStatus(params: ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequestStatus(params: ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequestStatus(params: PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificaterequests/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedCertificate(params: ListCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificate(params: CreateCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificate(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificate(params: ReadCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificate(params: ReplaceCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificate(params: DeleteCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificate(params: PatchCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateStatus(params: ReadCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateStatus(params: ReplaceCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateStatus(params: PatchCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/certificates/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedIssuer(params: ListCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedIssuer(params: CreateCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedIssuer(params: DeleteCertManagerIoV1CollectionNamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedIssuer(params: ReadCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuer(params: ReplaceCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedIssuer(params: DeleteCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedIssuer(params: PatchCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedIssuerStatus(params: ReadCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuerStatus(params: ReplaceCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedIssuerStatus(params: PatchCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.namespace}/issuers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; + return await this.get(path, null, null, opts); + } + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; + return await this.delete(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/approval\`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/approval\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/approval\`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests\`; + return await this.get(path, null, null, opts); + } + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/leases\`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases\`; + return await this.get(path, null, null, opts); + } + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases\`; + return await this.delete(path, params.query, null, opts); + } + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.namespace}/leases/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/watch/leases\`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.namespace}/leases\`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.namespace}/leases/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/endpointslices\`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices\`; + return await this.get(path, null, null, opts); + } + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices\`; + return await this.delete(path, params.query, null, opts); + } + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/watch/endpointslices\`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.namespace}/endpointslices\`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.namespace}/endpointslices/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/events\`; + return await this.get(path, null, null, opts); + } + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events\`; + return await this.delete(path, params.query, null, opts); + } + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/watch/events\`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.namespace}/events/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverV1APIResources(params: GetFlowcontrolApiserverV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listFlowcontrolApiserverV1FlowSchema(params: ListFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas\`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1FlowSchema(params: CreateFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas\`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchema(params: ReadFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchema(params: ReplaceFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1FlowSchema(params: DeleteFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1FlowSchema(params: PatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listFlowcontrolApiserverV1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations\`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations\`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchemaList(params: WatchFlowcontrolApiserverV1FlowSchemaListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas\`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchema(params: WatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations\`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1AlertmanagerForAllNamespaces(params: ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/alertmanagers\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1NamespacedAlertmanager(params: ListMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedAlertmanager(params: CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedAlertmanager(params: DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanager(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanager(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedAlertmanager(params: DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanager(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerScale(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/alertmanagers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPodMonitor(params: ListMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPodMonitor(params: CreateMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPodMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPodMonitor(params: ReadMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPodMonitor(params: ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPodMonitor(params: DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPodMonitor(params: PatchMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/podmonitors/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedProbe(params: ListMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedProbe(params: CreateMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedProbe(params: DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedProbe(params: ReadMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedProbe(params: ReplaceMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedProbe(params: DeleteMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedProbe(params: PatchMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/probes/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheus(params: ListMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheus(params: CreateMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheus(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheus(params: ReadMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheus(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheus(params: PatchMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusScale(params: ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusScale(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusScale(params: PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusStatus(params: PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheuses/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheusRule(params: ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheusRule(params: CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusRule(params: ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusRule(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusRule(params: PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/prometheusrules/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedServiceMonitor(params: ListMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedServiceMonitor(params: CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitor(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitor(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitor(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/servicemonitors/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedThanosRuler(params: ListMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedThanosRuler(params: CreateMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedThanosRuler(params: DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRuler(params: ReadMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRuler(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedThanosRuler(params: DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRuler(params: PatchMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRulerStatus(params: PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.namespace}/thanosrulers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1PodMonitorForAllNamespaces(params: ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/podmonitors\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ProbeForAllNamespaces(params: ListMonitoringCoreosComV1ProbeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/probes\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/prometheuses\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusRuleForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/prometheusrules\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ServiceMonitorForAllNamespaces(params: ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/servicemonitors\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ThanosRulerForAllNamespaces(params: ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/thanosrulers\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/alertmanagerconfigs\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/alertmanagerconfigs/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/prometheusagents/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.namespace}/scrapeconfigs/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespaces(params: ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/prometheusagents\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/scrapeconfigs\`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/certificates\`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1IngressForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/ingresses\`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/certificates/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.namespace}/serverlessservices/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/serverlessservices\`; + return await this.get(path, null, null, opts); + } + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingresses\`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses\`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses\`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/ingresses/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies\`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/ingresses\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/ingresses\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/ingresses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.namespace}/networkpolicies/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; + return await this.get(path, null, null, opts); + } + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses\`; + return await this.get(path, null, null, opts); + } + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/\`; + return await this.get(path, null, null, opts); + } + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/\`; + return await this.get(path, null, null, opts); + } + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets\`; + return await this.delete(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/watch/namespaces/\${params.namespace}/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/watch/namespaces/\${params.namespace}/poddisruptionbudgets/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/watch/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1BackupForAllNamespaces(params: ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/backups\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ClusterImageCatalog(params: ListPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1ClusterImageCatalog(params: CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionClusterImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1ClusterImageCatalog(params: ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1ClusterImageCatalog(params: ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1ClusterImageCatalog(params: DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1ClusterImageCatalog(params: PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1ClusterForAllNamespaces(params: ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusters\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1DatabaseForAllNamespaces(params: ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/databases\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ImageCatalogForAllNamespaces(params: ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/imagecatalogs\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedBackup(params: ListPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedBackup(params: CreatePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackup(params: ReadPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackup(params: ReplacePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedBackup(params: DeletePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackup(params: PatchPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/backups/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedCluster(params: ListPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedCluster(params: CreatePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedCluster(params: DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedCluster(params: ReadPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedCluster(params: ReplacePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedCluster(params: DeletePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedCluster(params: PatchPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterScale(params: ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterScale(params: ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterScale(params: PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterStatus(params: ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterStatus(params: ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterStatus(params: PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/clusters/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedDatabase(params: ListPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedDatabase(params: CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedDatabase(params: DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabase(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabase(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedDatabase(params: DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabase(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/databases/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedImageCatalog(params: ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedImageCatalog(params: CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedImageCatalog(params: ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedImageCatalog(params: ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedImageCatalog(params: PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/imagecatalogs/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPooler(params: ListPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPooler(params: CreatePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPooler(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPooler(params: ReadPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPooler(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPooler(params: DeletePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPooler(params: PatchPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerScale(params: ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerScale(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerScale(params: PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerStatus(params: PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/poolers/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPublication(params: ListPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPublication(params: CreatePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPublication(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublication(params: ReadPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublication(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPublication(params: DeletePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublication(params: PatchPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublicationStatus(params: PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/publications/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedScheduledBackup(params: CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackup(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/scheduledbackups/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedSubscription(params: ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedSubscription(params: CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedSubscription(params: DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscription(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscription(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedSubscription(params: DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscription(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.namespace}/subscriptions/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1PoolerForAllNamespaces(params: ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/poolers\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1PublicationForAllNamespaces(params: ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/publications\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ScheduledBackupForAllNamespaces(params: ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/scheduledbackups\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1SubscriptionForAllNamespaces(params: ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/subscriptions\`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.namespace}/roles/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/rolebindings\`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/roles\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/rolebindings\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/rolebindings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/roles\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.namespace}/roles/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/rolebindings\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/roles\`; + return await this.get(path, null, null, opts); + } + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; + return await this.get(path, null, null, opts); + } + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses\`; + return await this.get(path, null, null, opts); + } + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ConfigurationForAllNamespaces(params: ListServingKnativeDevV1ConfigurationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/configurations\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1NamespacedConfiguration(params: ListServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedConfiguration(params: CreateServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedConfiguration(params: DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedConfiguration(params: ReadServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfiguration(params: ReplaceServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedConfiguration(params: DeleteServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedConfiguration(params: PatchServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedConfigurationStatus(params: ReadServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfigurationStatus(params: ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedConfigurationStatus(params: PatchServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/configurations/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRevision(params: ListServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRevision(params: CreateServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRevision(params: DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRevision(params: ReadServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevision(params: ReplaceServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRevision(params: DeleteServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRevision(params: PatchServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRevisionStatus(params: ReadServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevisionStatus(params: ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRevisionStatus(params: PatchServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/revisions/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRoute(params: ListServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRoute(params: CreateServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRoute(params: DeleteServingKnativeDevV1CollectionNamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRoute(params: ReadServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRoute(params: ReplaceServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRoute(params: DeleteServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRoute(params: PatchServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRouteStatus(params: ReadServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRouteStatus(params: ReplaceServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRouteStatus(params: PatchServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/routes/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedService(params: ListServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedService(params: CreateServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedService(params: DeleteServingKnativeDevV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedService(params: ReadServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedService(params: ReplaceServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedService(params: DeleteServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedService(params: PatchServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedServiceStatus(params: ReadServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedServiceStatus(params: ReplaceServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedServiceStatus(params: PatchServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.namespace}/services/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1RevisionForAllNamespaces(params: ListServingKnativeDevV1RevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/revisions\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1RouteForAllNamespaces(params: ListServingKnativeDevV1RouteForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/routes\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ServiceForAllNamespaces(params: ListServingKnativeDevV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/services\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1beta1DomainMappingForAllNamespaces(params: ListServingKnativeDevV1beta1DomainMappingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/domainmappings\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1beta1NamespacedDomainMapping(params: ListServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1beta1NamespacedDomainMapping(params: CreateServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1beta1CollectionNamespacedDomainMapping(params: DeleteServingKnativeDevV1beta1CollectionNamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1beta1NamespacedDomainMapping(params: ReadServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1beta1NamespacedDomainMapping(params: ReplaceServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1beta1NamespacedDomainMapping(params: DeleteServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1beta1NamespacedDomainMapping(params: PatchServingKnativeDevV1beta1NamespacedDomainMappingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1beta1NamespacedDomainMappingStatus(params: ReadServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1beta1NamespacedDomainMappingStatus(params: ReplaceServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1beta1NamespacedDomainMappingStatus(params: PatchServingKnativeDevV1beta1NamespacedDomainMappingStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1beta1/namespaces/\${params.namespace}/domainmappings/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers\`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes\`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSIStorageCapacityForAllNamespaces(params: ListStorageV1CSIStorageCapacityForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async listStorageV1NamespacedCSIStorageCapacity(params: ListStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async createStorageV1NamespacedCSIStorageCapacity(params: CreateStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1NamespacedCSIStorageCapacity(params: ReadStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1NamespacedCSIStorageCapacity(params: ReplaceStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1NamespacedCSIStorageCapacity(params: DeleteStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1NamespacedCSIStorageCapacity(params: PatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses\`; + return await this.get(path, null, null, opts); + } + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; + return await this.get(path, null, null, opts); + } + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csidrivers\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csidrivers/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csinodes\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csinodes/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacityList(params: WatchStorageV1NamespacedCSIStorageCapacityListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/namespaces/\${params.namespace}/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacity(params: WatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/namespaces/\${params.namespace}/csistoragecapacities/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/storageclasses\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/storageclasses/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments/\${params.name}\`; + return await this.get(path, null, null, opts); + } + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/openid/v1/jwks/\`; + return await this.get(path, null, null, opts); + } + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/version/\`; + return await this.get(path, null, null, opts); + } +}" +`; + +exports[`swagger 1`] = ` +"import { APIClient, APIClientRequestOpts } from "@interweb/fetch-api-client"; +/* com.coreos.monitoring.v1.Alertmanager */ +/* The \`Alertmanager\` custom resource definition (CRD) defines a desired [Alertmanager](https://prometheus.io/docs/alerting) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage and many more. + +For each \`Alertmanager\` resource, the Operator deploys a \`StatefulSet\` in the same namespace. When there are two or more configured replicas, the Operator runs the Alertmanager instances in high-availability mode. + +The resource defines via label and namespace selectors which \`AlertmanagerConfig\` objects should be associated to the deployed Alertmanager instances. */ +export interface Alertmanager { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalPeers?: string[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertmanagerConfigMatcherStrategy?: { + type?: "OnNamespace" | "OnNamespaceExceptForAlertmanagerNamespace" | "None"; + }; + alertmanagerConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + alertmanagerConfiguration?: { + global?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + jira?: { + apiURL?: string; + }; + opsGenieApiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + opsGenieApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + pagerdutyUrl?: string; + resolveTimeout?: string; + rocketChat?: { + apiURL?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + slackApiUrl?: { + key: string; + name?: string; + optional?: boolean; + }; + smtp?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + hello?: string; + requireTLS?: boolean; + smartHost?: { + host: string; + port: string; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + telegram?: { + apiURL?: string; + }; + victorops?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + webex?: { + apiURL?: string; + }; + wechat?: { + apiCorpID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + }; + }; + name?: string; + templates?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + clusterAdvertiseAddress?: string; + clusterGossipInterval?: string; + clusterLabel?: string; + clusterPeerTimeout?: string; + clusterPushpullInterval?: string; + clusterTLS?: { + client: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + server: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + configMaps?: string[]; + configSecret?: string; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + externalUrl?: string; + forceEnableClusterMode?: boolean; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + limits?: { + maxPerSilenceBytes?: string; + maxSilences?: number; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + sha?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + getConcurrency?: number; + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + timeout?: number; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1.AlertmanagerList */ +/* AlertmanagerList is a list of Alertmanager */ +export interface AlertmanagerList { + apiVersion?: string; + items: Alertmanager[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.PodMonitor */ +/* The \`PodMonitor\` custom resource definition (CRD) defines how \`Prometheus\` and \`PrometheusAgent\` can scrape metrics from a group of pods. +Among other things, it allows to specify: +* The pods to scrape via label selectors. +* The container ports to scrape. +* Authentication credentials to use. +* Target and metric relabeling. + +\`Prometheus\` and \`PrometheusAgent\` objects select \`PodMonitor\` objects using label and namespace selectors. */ +export interface PodMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podMetricsEndpoints?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + portNumber?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLimit?: number; + }; +} +/* com.coreos.monitoring.v1.PodMonitorList */ +/* PodMonitorList is a list of PodMonitor */ +export interface PodMonitorList { + apiVersion?: string; + items: PodMonitor[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.Probe */ +/* The \`Probe\` custom resource definition (CRD) defines how to scrape metrics from prober exporters such as the [blackbox exporter](https://github.com/prometheus/blackbox_exporter). + +The \`Probe\` resource needs 2 pieces of information: +* The list of probed addresses which can be defined statically or by discovering Kubernetes Ingress objects. +* The prober which exposes the availability of probed endpoints (over various protocols such HTTP, TCP, ICMP, ...) as Prometheus metrics. + +\`Prometheus\` and \`PrometheusAgent\` objects select \`Probe\` objects using label and namespace selectors. */ +export interface Probe { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + convertClassicHistogramsToNHCB?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + interval?: string; + jobName?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + module?: string; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + name: string; + values?: string[]; + }[]; + prober?: { + noProxy?: string; + path?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scheme?: "http" | "https"; + url: string; + }; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + targetLimit?: number; + targets?: { + ingress?: { + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + staticConfig?: { + labels?: { + [key: string]: unknown; + }; + relabelingConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + static?: string[]; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; +} +/* com.coreos.monitoring.v1.ProbeList */ +/* ProbeList is a list of Probe */ +export interface ProbeList { + apiVersion?: string; + items: Probe[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.Prometheus */ +/* The \`Prometheus\` custom resource definition (CRD) defines a desired [Prometheus](https://prometheus.io/docs/prometheus) setup to run in a Kubernetes cluster. It allows to specify many options such as the number of replicas, persistent storage, and Alertmanagers where firing alerts should be sent and many more. + +For each \`Prometheus\` resource, the Operator deploys one or several \`StatefulSet\` objects in the same namespace. The number of StatefulSets is equal to the number of shards which is 1 by default. + +The resource defines via label and namespace selectors which \`ServiceMonitor\`, \`PodMonitor\`, \`Probe\` and \`PrometheusRule\` objects should be associated to the deployed Prometheus instances. + +The Operator continuously reconciles the scrape and rules configuration and a sidecar container running in the Prometheus pods triggers a reload of the configuration when needed. */ +export interface Prometheus { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalAlertManagerConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalAlertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alerting?: { + alertmanagers: { + alertRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + apiVersion?: "v1" | "V1" | "v2" | "V2"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + enableHttp2?: boolean; + name: string; + namespace?: string; + noProxy?: string; + pathPrefix?: string; + port: any; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: string; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + }; + allowOverlappingBlocks?: boolean; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + baseImage?: string; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + disableCompaction?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableAdminAPI?: boolean; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + exemplars?: { + maxSize?: number; + }; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + query?: { + lookbackDelta?: string; + maxConcurrency?: number; + maxSamples?: number; + timeout?: string; + }; + queryLogFile?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteRead?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + filterExternalLabels?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + readRecent?: boolean; + remoteTimeout?: string; + requiredMatchers?: { + [key: string]: unknown; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + retentionSize?: string; + routePrefix?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + rules?: { + alert?: { + forGracePeriod?: string; + forOutageTolerance?: string; + resendDelay?: string; + }; + }; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + sha?: string; + shardRetentionPolicy?: { + retain?: { + retentionPeriod: string; + }; + whenScaled?: "Retain" | "Delete"; + }; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + tag?: string; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + thanos?: { + additionalArgs?: { + name: string; + value?: string; + }[]; + baseImage?: string; + blockSize?: string; + getConfigInterval?: string; + getConfigTimeout?: string; + grpcListenLocal?: boolean; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + httpListenLocal?: boolean; + image?: string; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minTime?: string; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + readyTimeout?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + sha?: string; + tag?: string; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + }; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1.PrometheusList */ +/* PrometheusList is a list of Prometheus */ +export interface PrometheusList { + apiVersion?: string; + items: Prometheus[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.PrometheusRule */ +/* The \`PrometheusRule\` custom resource definition (CRD) defines [alerting](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) and [recording](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/) rules to be evaluated by \`Prometheus\` or \`ThanosRuler\` objects. + +\`Prometheus\` and \`ThanosRuler\` objects select \`PrometheusRule\` objects using label and namespace selectors. */ +export interface PrometheusRule { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + groups?: { + interval?: string; + labels?: { + [key: string]: unknown; + }; + limit?: number; + name: string; + partial_response_strategy?: string; + query_offset?: string; + rules?: { + alert?: string; + annotations?: { + [key: string]: unknown; + }; + expr: any; + for?: string; + keep_firing_for?: string; + labels?: { + [key: string]: unknown; + }; + record?: string; + }[]; + }[]; + }; +} +/* com.coreos.monitoring.v1.PrometheusRuleList */ +/* PrometheusRuleList is a list of PrometheusRule */ +export interface PrometheusRuleList { + apiVersion?: string; + items: PrometheusRule[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.ServiceMonitor */ +/* The \`ServiceMonitor\` custom resource definition (CRD) defines how \`Prometheus\` and \`PrometheusAgent\` can scrape metrics from a group of services. +Among other things, it allows to specify: +* The services to scrape via label selectors. +* The container ports to scrape. +* Authentication credentials to use. +* Target and metric relabeling. + +\`Prometheus\` and \`PrometheusAgent\` objects select \`ServiceMonitor\` objects using label and namespace selectors. */ +export interface ServiceMonitor { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + attachMetadata?: { + node?: boolean; + }; + bodySizeLimit?: string; + convertClassicHistogramsToNHCB?: boolean; + endpoints: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenFile?: string; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHttp2?: boolean; + filterRunning?: boolean; + followRedirects?: boolean; + honorLabels?: boolean; + honorTimestamps?: boolean; + interval?: string; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + params?: { + [key: string]: unknown; + }; + path?: string; + port?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + scheme?: "http" | "https"; + scrapeTimeout?: string; + targetPort?: any; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + jobLabel?: string; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + namespaceSelector?: { + any?: boolean; + matchNames?: string[]; + }; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + podTargetLabels?: string[]; + sampleLimit?: number; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + selector: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + selectorMechanism?: "RelabelConfig" | "RoleSelector"; + targetLabels?: string[]; + targetLimit?: number; + }; + status?: { + bindings?: { + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: "Accepted"; + }[]; + group: "monitoring.coreos.com"; + name: string; + namespace: string; + resource: "prometheuses" | "prometheusagents"; + }[]; + }; +} +/* com.coreos.monitoring.v1.ServiceMonitorList */ +/* ServiceMonitorList is a list of ServiceMonitor */ +export interface ServiceMonitorList { + apiVersion?: string; + items: ServiceMonitor[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1.ThanosRuler */ +/* The \`ThanosRuler\` custom resource definition (CRD) defines a desired [Thanos Ruler](https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md) setup to run in a Kubernetes cluster. + +A \`ThanosRuler\` instance requires at least one compatible Prometheus API endpoint (either Thanos Querier or Prometheus services). + +The resource defines via label and namespace selectors which \`PrometheusRule\` objects should be associated to the deployed Thanos Ruler instances. */ +export interface ThanosRuler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + alertDropLabels?: string[]; + alertQueryUrl?: string; + alertRelabelConfigFile?: string; + alertRelabelConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + alertmanagersUrl?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableServiceLinks?: boolean; + enforcedNamespaceLabel?: string; + evaluationInterval?: string; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalPrefix?: string; + grpcServerTlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostUsers?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + labels?: { + [key: string]: unknown; + }; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + minReadySeconds?: number; + nodeSelector?: { + [key: string]: unknown; + }; + objectStorageConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + objectStorageConfigFile?: string; + paused?: boolean; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + portName?: string; + priorityClassName?: string; + prometheusRulesExcludedFromEnforce?: { + ruleName: string; + ruleNamespace: string; + }[]; + queryConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + queryEndpoints?: string[]; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + replicas?: number; + resendDelay?: string; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + retention?: string; + routePrefix?: string; + ruleConcurrentEval?: number; + ruleGracePeriod?: string; + ruleNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + ruleOutageTolerance?: string; + ruleQueryOffset?: string; + ruleSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceName?: string; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + key: string; + name?: string; + optional?: boolean; + }; + tracingConfigFile?: string; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1.ThanosRulerList */ +/* ThanosRulerList is a list of ThanosRuler */ +export interface ThanosRulerList { + apiVersion?: string; + items: ThanosRuler[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1alpha1.AlertmanagerConfig */ +/* AlertmanagerConfig configures the Prometheus Alertmanager, +specifying how alerts should be grouped, inhibited and notified to external systems. */ +export interface AlertmanagerConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + inhibitRules?: { + equal?: string[]; + sourceMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + targetMatch?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + }[]; + muteTimeIntervals?: { + name: string; + timeIntervals?: { + daysOfMonth?: { + end?: number; + start?: number; + }[]; + months?: string[]; + times?: { + endTime?: string; + startTime?: string; + }[]; + weekdays?: string[]; + years?: string[]; + }[]; + }[]; + receivers?: { + discordConfigs?: { + apiURL: { + key: string; + name?: string; + optional?: boolean; + }; + avatarURL?: string; + content?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + sendResolved?: boolean; + title?: string; + username?: string; + }[]; + emailConfigs?: { + authIdentity?: string; + authPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + authSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + authUsername?: string; + from?: string; + headers?: { + key: string; + value: string; + }[]; + hello?: string; + html?: string; + requireTLS?: boolean; + sendResolved?: boolean; + smarthost?: string; + text?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + to?: string; + }[]; + msteamsConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + summary?: string; + text?: string; + title?: string; + webhookUrl: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + msteamsv2Configs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + sendResolved?: boolean; + text?: string; + title?: string; + webhookURL?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + name: string; + opsgenieConfigs?: { + actions?: string; + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + entity?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + note?: string; + priority?: string; + responders?: { + id?: string; + name?: string; + type: string; + username?: string; + }[]; + sendResolved?: boolean; + source?: string; + tags?: string; + updateAlerts?: boolean; + }[]; + pagerdutyConfigs?: { + class?: string; + client?: string; + clientURL?: string; + component?: string; + description?: string; + details?: { + key: string; + value: string; + }[]; + group?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + pagerDutyImageConfigs?: { + alt?: string; + href?: string; + src?: string; + }[]; + pagerDutyLinkConfigs?: { + alt?: string; + href?: string; + }[]; + routingKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sendResolved?: boolean; + serviceKey?: { + key: string; + name?: string; + optional?: boolean; + }; + severity?: string; + source?: string; + url?: string; + }[]; + pushoverConfigs?: { + device?: string; + expire?: string; + html?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + priority?: string; + retry?: string; + sendResolved?: boolean; + sound?: string; + title?: string; + token?: { + key: string; + name?: string; + optional?: boolean; + }; + tokenFile?: string; + ttl?: string; + url?: string; + urlTitle?: string; + userKey?: { + key: string; + name?: string; + optional?: boolean; + }; + userKeyFile?: string; + }[]; + rocketchatConfigs?: { + actions?: { + msg?: string; + text?: string; + url?: string; + }[]; + apiURL?: string; + channel?: string; + color?: string; + emoji?: string; + fields?: { + short?: boolean; + title?: string; + value?: string; + }[]; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + token: { + key: string; + name?: string; + optional?: boolean; + }; + tokenID: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + slackConfigs?: { + actions?: { + confirm?: { + dismissText?: string; + okText?: string; + text: string; + title?: string; + }; + name?: string; + style?: string; + text: string; + type: string; + url?: string; + value?: string; + }[]; + apiURL?: { + key: string; + name?: string; + optional?: boolean; + }; + callbackId?: string; + channel?: string; + color?: string; + fallback?: string; + fields?: { + short?: boolean; + title: string; + value: string; + }[]; + footer?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + iconEmoji?: string; + iconURL?: string; + imageURL?: string; + linkNames?: boolean; + mrkdwnIn?: string[]; + pretext?: string; + sendResolved?: boolean; + shortFields?: boolean; + text?: string; + thumbURL?: string; + title?: string; + titleLink?: string; + username?: string; + }[]; + snsConfigs?: { + apiURL?: string; + attributes?: { + [key: string]: unknown; + }; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + phoneNumber?: string; + sendResolved?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + subject?: string; + targetARN?: string; + topicARN?: string; + }[]; + telegramConfigs?: { + apiURL?: string; + botToken?: { + key: string; + name?: string; + optional?: boolean; + }; + botTokenFile?: string; + chatID: number; + disableNotifications?: boolean; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageThreadID?: number; + parseMode?: "MarkdownV2" | "Markdown" | "HTML"; + sendResolved?: boolean; + }[]; + victoropsConfigs?: { + apiKey?: { + key: string; + name?: string; + optional?: boolean; + }; + apiUrl?: string; + customFields?: { + key: string; + value: string; + }[]; + entityDisplayName?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + messageType?: string; + monitoringTool?: string; + routingKey?: string; + sendResolved?: boolean; + stateMessage?: string; + }[]; + webexConfigs?: { + apiURL?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + roomID: string; + sendResolved?: boolean; + }[]; + webhookConfigs?: { + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + maxAlerts?: number; + sendResolved?: boolean; + timeout?: string; + url?: string; + urlSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + wechatConfigs?: { + agentID?: string; + apiSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + apiURL?: string; + corpID?: string; + httpConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerTokenSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyURL?: string; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + message?: string; + messageType?: string; + sendResolved?: boolean; + toParty?: string; + toTag?: string; + toUser?: string; + }[]; + }[]; + route?: { + activeTimeIntervals?: string[]; + continue?: boolean; + groupBy?: string[]; + groupInterval?: string; + groupWait?: string; + matchers?: { + matchType?: "!=" | "=" | "=~" | "!~"; + name: string; + regex?: boolean; + value?: string; + }[]; + muteTimeIntervals?: string[]; + receiver?: string; + repeatInterval?: string; + routes?: any[]; + }; + }; +} +/* com.coreos.monitoring.v1alpha1.AlertmanagerConfigList */ +/* AlertmanagerConfigList is a list of AlertmanagerConfig */ +export interface AlertmanagerConfigList { + apiVersion?: string; + items: AlertmanagerConfig[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1alpha1.PrometheusAgent */ +/* The \`PrometheusAgent\` custom resource definition (CRD) defines a desired [Prometheus Agent](https://prometheus.io/blog/2021/11/16/agent/) setup to run in a Kubernetes cluster. + +The CRD is very similar to the \`Prometheus\` CRD except for features which aren't available in agent mode like rule evaluation, persistent storage and Thanos sidecar. */ +export interface PrometheusAgent { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + additionalArgs?: { + name: string; + value?: string; + }[]; + additionalScrapeConfigs?: { + key: string; + name?: string; + optional?: boolean; + }; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + apiserverConfig?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + host: string; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + arbitraryFSAccessThroughSMs?: { + deny?: boolean; + }; + automountServiceAccountToken?: boolean; + bodySizeLimit?: string; + configMaps?: string[]; + containers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + convertClassicHistogramsToNHCB?: boolean; + dnsConfig?: { + nameservers?: string[]; + options?: { + name: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: "ClusterFirstWithHostNet" | "ClusterFirst" | "Default" | "None"; + enableFeatures?: string[]; + enableOTLPReceiver?: boolean; + enableRemoteWriteReceiver?: boolean; + enableServiceLinks?: boolean; + enforcedBodySizeLimit?: string; + enforcedKeepDroppedTargets?: number; + enforcedLabelLimit?: number; + enforcedLabelNameLengthLimit?: number; + enforcedLabelValueLengthLimit?: number; + enforcedNamespaceLabel?: string; + enforcedSampleLimit?: number; + enforcedTargetLimit?: number; + excludedFromEnforcement?: { + group?: "monitoring.coreos.com"; + name?: string; + namespace: string; + resource: "prometheusrules" | "servicemonitors" | "podmonitors" | "probes" | "scrapeconfigs"; + }[]; + externalLabels?: { + [key: string]: unknown; + }; + externalUrl?: string; + hostAliases?: { + hostnames: string[]; + ip: string; + }[]; + hostNetwork?: boolean; + hostUsers?: boolean; + ignoreNamespaceSelectors?: boolean; + image?: string; + imagePullPolicy?: "" | "Always" | "Never" | "IfNotPresent"; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + stopSignal?: string; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + keepDroppedTargets?: number; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + listenLocal?: boolean; + logFormat?: "" | "logfmt" | "json"; + logLevel?: "" | "debug" | "info" | "warn" | "error"; + maximumStartupDurationSeconds?: number; + minReadySeconds?: number; + mode?: "StatefulSet" | "DaemonSet"; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nodeSelector?: { + [key: string]: unknown; + }; + otlp?: { + convertHistogramsToNHCB?: boolean; + ignoreResourceAttributes?: string[]; + keepIdentifyingResourceAttributes?: boolean; + promoteAllResourceAttributes?: boolean; + promoteResourceAttributes?: string[]; + translationStrategy?: "NoUTF8EscapingWithSuffixes" | "UnderscoreEscapingWithSuffixes" | "NoTranslation"; + }; + overrideHonorLabels?: boolean; + overrideHonorTimestamps?: boolean; + paused?: boolean; + persistentVolumeClaimRetentionPolicy?: { + whenDeleted?: string; + whenScaled?: string; + }; + podMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + podMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + podTargetLabels?: string[]; + portName?: string; + priorityClassName?: string; + probeNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + probeSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + prometheusExternalLabelName?: string; + reloadStrategy?: "HTTP" | "ProcessSignal"; + remoteWrite?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + azureAd?: { + cloud?: "AzureChina" | "AzureGovernment" | "AzurePublic"; + managedIdentity?: { + clientId: string; + }; + oauth?: { + clientId: string; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + tenantId: string; + }; + sdk?: { + tenantId?: string; + }; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + bearerToken?: string; + bearerTokenFile?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + headers?: { + [key: string]: unknown; + }; + messageVersion?: "V1.0" | "V2.0"; + metadataConfig?: { + maxSamplesPerSend?: number; + send?: boolean; + sendInterval?: string; + }; + name?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + queueConfig?: { + batchSendDeadline?: string; + capacity?: number; + maxBackoff?: string; + maxRetries?: number; + maxSamplesPerSend?: number; + maxShards?: number; + minBackoff?: string; + minShards?: number; + retryOnRateLimit?: boolean; + sampleAgeLimit?: string; + }; + remoteTimeout?: string; + roundRobinDNS?: boolean; + sendExemplars?: boolean; + sendNativeHistograms?: boolean; + sigv4?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + profile?: string; + region?: string; + roleArn?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + writeRelabelConfigs?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }[]; + remoteWriteReceiverMessageVersions?: ("V1.0" | "V2.0")[]; + replicaExternalLabelName?: string; + replicas?: number; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + routePrefix?: string; + runtime?: { + goGC?: number; + }; + sampleLimit?: number; + scrapeClasses?: { + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + credentialsFile?: string; + type?: string; + }; + default?: boolean; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + name: string; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + scrapeClassicHistograms?: boolean; + scrapeConfigNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeConfigSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + scrapeFailureLogFile?: string; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + secrets?: string[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccountName?: string; + serviceDiscoveryRole?: "Endpoints" | "EndpointSlice"; + serviceMonitorNamespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceMonitorSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + serviceName?: string; + shards?: number; + storage?: { + disableMountSubPath?: boolean; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + volumeClaimTemplate?: { + apiVersion?: string; + kind?: string; + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + status?: { + accessModes?: string[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: { + lastProbeTime?: string; + lastTransitionTime?: string; + message?: string; + reason?: string; + status: string; + type: string; + }[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: { + status: string; + targetVolumeAttributesClassName?: string; + }; + phase?: string; + }; + }; + }; + targetLimit?: number; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + additionalLabelSelectors?: "OnResource" | "OnShard"; + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + tracingConfig?: { + clientType?: "http" | "grpc"; + compression?: "gzip"; + endpoint: string; + headers?: { + [key: string]: unknown; + }; + insecure?: boolean; + samplingFraction?: any; + timeout?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + caFile?: string; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + insecureSkipVerify?: boolean; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }; + tsdb?: { + outOfOrderTimeWindow?: string; + }; + version?: string; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + walCompression?: boolean; + web?: { + httpConfig?: { + headers?: { + contentSecurityPolicy?: string; + strictTransportSecurity?: string; + xContentTypeOptions?: "" | "NoSniff"; + xFrameOptions?: "" | "Deny" | "SameOrigin"; + xXSSProtection?: string; + }; + http2?: boolean; + }; + maxConnections?: number; + pageTitle?: string; + tlsConfig?: { + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + certFile?: string; + cipherSuites?: string[]; + clientAuthType?: string; + clientCAFile?: string; + client_ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + curvePreferences?: string[]; + keyFile?: string; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: string; + minVersion?: string; + preferServerCipherSuites?: boolean; + }; + }; + }; + status?: { + availableReplicas: number; + conditions?: { + lastTransitionTime: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: string; + type: string; + }[]; + paused: boolean; + replicas: number; + selector?: string; + shardStatuses?: { + availableReplicas: number; + replicas: number; + shardID: string; + unavailableReplicas: number; + updatedReplicas: number; + }[]; + shards?: number; + unavailableReplicas: number; + updatedReplicas: number; + }; +} +/* com.coreos.monitoring.v1alpha1.PrometheusAgentList */ +/* PrometheusAgentList is a list of PrometheusAgent */ +export interface PrometheusAgentList { + apiVersion?: string; + items: PrometheusAgent[]; + kind?: string; + metadata?: ListMeta; +} +/* com.coreos.monitoring.v1alpha1.ScrapeConfig */ +/* ScrapeConfig defines a namespaced Prometheus scrape_config to be aggregated across +multiple namespaces into the Prometheus configuration. */ +export interface ScrapeConfig { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + azureSDConfigs?: { + authenticationMethod?: "OAuth" | "ManagedIdentity" | "SDK"; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + clientSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + environment?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + resourceGroup?: string; + subscriptionID: string; + tenantID?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + consulSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + datacenter?: string; + enableHTTP2?: boolean; + filter?: string; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + nodeMeta?: { + [key: string]: unknown; + }; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + partition?: string; + pathPrefix?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + scheme?: "HTTP" | "HTTPS"; + server: string; + services?: string[]; + tagSeparator?: string; + tags?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + convertClassicHistogramsToNHCB?: boolean; + digitalOceanSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dnsSDConfigs?: { + names: string[]; + port?: number; + refreshInterval?: string; + type?: "A" | "AAAA" | "MX" | "NS" | "SRV"; + }[]; + dockerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + hostNetworkingHost?: string; + matchFirstNetwork?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + dockerSwarmSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + host: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Services" | "Tasks" | "Nodes"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + ec2SDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + enableHTTP2?: boolean; + filters?: { + name: string; + values: string[]; + }[]; + followRedirects?: boolean; + noProxy?: string; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + enableCompression?: boolean; + enableHTTP2?: boolean; + eurekaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + fallbackScrapeProtocol?: "PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0"; + fileSDConfigs?: { + files: string[]; + refreshInterval?: string; + }[]; + gceSDConfigs?: { + filter?: string; + port?: number; + project: string; + refreshInterval?: string; + tagSeparator?: string; + zone: string; + }[]; + hetznerSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + labelSelector?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "hcloud" | "Hcloud" | "robot" | "Robot"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + honorLabels?: boolean; + honorTimestamps?: boolean; + httpSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + ionosSDConfigs?: { + authorization: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + datacenterID: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + jobName?: string; + keepDroppedTargets?: number; + kubernetesSDConfigs?: { + apiServer?: string; + attachMetadata?: { + node?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespaces?: { + names?: string[]; + ownNamespace?: boolean; + }; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + selectors?: { + field?: string; + label?: string; + role: "Pod" | "Endpoints" | "Ingress" | "Service" | "Node" | "EndpointSlice"; + }[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + kumaSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientID?: string; + enableHTTP2?: boolean; + fetchTimeout?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + server: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + labelLimit?: number; + labelNameLengthLimit?: number; + labelValueLengthLimit?: number; + lightSailSDConfigs?: { + accessKey?: { + key: string; + name?: string; + optional?: boolean; + }; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + endpoint?: string; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + roleARN?: string; + secretKey?: { + key: string; + name?: string; + optional?: boolean; + }; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + linodeSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + metricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + metricsPath?: string; + nameEscapingScheme?: "AllowUTF8" | "Underscores" | "Dots" | "Values"; + nameValidationScheme?: "UTF8" | "Legacy"; + nativeHistogramBucketLimit?: number; + nativeHistogramMinBucketFactor?: any; + noProxy?: string; + nomadSDConfigs?: { + allowStale?: boolean; + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + namespace?: string; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + region?: string; + server: string; + tagSeparator?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + }[]; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + openstackSDConfigs?: { + allTenants?: boolean; + applicationCredentialId?: string; + applicationCredentialName?: string; + applicationCredentialSecret?: { + key: string; + name?: string; + optional?: boolean; + }; + availability?: "Public" | "public" | "Admin" | "admin" | "Internal" | "internal"; + domainID?: string; + domainName?: string; + identityEndpoint?: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + port?: number; + projectID?: string; + projectName?: string; + refreshInterval?: string; + region: string; + role: "Instance" | "Hypervisor" | "LoadBalancer"; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + userid?: string; + username?: string; + }[]; + ovhcloudSDConfigs?: { + applicationKey: string; + applicationSecret: { + key: string; + name?: string; + optional?: boolean; + }; + consumerKey: { + key: string; + name?: string; + optional?: boolean; + }; + endpoint?: string; + refreshInterval?: string; + service: string; + }[]; + params?: { + [key: string]: unknown; + }; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + puppetDBSDConfigs?: { + authorization?: { + credentials?: { + key: string; + name?: string; + optional?: boolean; + }; + type?: string; + }; + basicAuth?: { + password?: { + key: string; + name?: string; + optional?: boolean; + }; + username?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + enableHTTP2?: boolean; + followRedirects?: boolean; + includeParameters?: boolean; + noProxy?: string; + oauth2?: { + clientId: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + clientSecret: { + key: string; + name?: string; + optional?: boolean; + }; + endpointParams?: { + [key: string]: unknown; + }; + noProxy?: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + scopes?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + tokenUrl: string; + }; + port?: number; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + query: string; + refreshInterval?: string; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + url: string; + }[]; + relabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + sampleLimit?: number; + scalewaySDConfigs?: { + accessKey: string; + apiURL?: string; + enableHTTP2?: boolean; + followRedirects?: boolean; + nameFilter?: string; + noProxy?: string; + port?: number; + projectID: string; + proxyConnectHeader?: { + [key: string]: unknown; + }; + proxyFromEnvironment?: boolean; + proxyUrl?: string; + refreshInterval?: string; + role: "Instance" | "Baremetal"; + secretKey: { + key: string; + name?: string; + optional?: boolean; + }; + tagsFilter?: string[]; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + zone?: string; + }[]; + scheme?: "HTTP" | "HTTPS"; + scrapeClass?: string; + scrapeClassicHistograms?: boolean; + scrapeInterval?: string; + scrapeProtocols?: ("PrometheusProto" | "OpenMetricsText0.0.1" | "OpenMetricsText1.0.0" | "PrometheusText0.0.4" | "PrometheusText1.0.0")[]; + scrapeTimeout?: string; + staticConfigs?: { + labels?: { + [key: string]: unknown; + }; + targets: string[]; + }[]; + targetLimit?: number; + tlsConfig?: { + ca?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + cert?: { + configMap?: { + key: string; + name?: string; + optional?: boolean; + }; + secret?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + insecureSkipVerify?: boolean; + keySecret?: { + key: string; + name?: string; + optional?: boolean; + }; + maxVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + minVersion?: "TLS10" | "TLS11" | "TLS12" | "TLS13"; + serverName?: string; + }; + trackTimestampsStaleness?: boolean; + }; +} +/* com.coreos.monitoring.v1alpha1.ScrapeConfigList */ +/* ScrapeConfigList is a list of ScrapeConfig */ +export interface ScrapeConfigList { + apiVersion?: string; + items: ScrapeConfig[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.autoscaling.v1alpha1.Metric */ +/* Metric represents a resource to configure the metric collector with. */ +export interface Metric { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + panicWindow: number; + scrapeTarget: string; + stableWindow: number; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +/* dev.knative.internal.autoscaling.v1alpha1.MetricList */ +/* MetricList is a list of Metric */ +export interface MetricList { + apiVersion?: string; + items: Metric[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.autoscaling.v1alpha1.PodAutoscaler */ +/* PodAutoscaler is a Knative abstraction that encapsulates the interface by which Knative +components instantiate autoscalers. This definition is an abstraction that may be backed +by multiple definitions. For more information, see the Knative Pluggability presentation: +https://docs.google.com/presentation/d/19vW9HFZ6Puxt31biNZF3uLRejDmu82rxJIk1cWmxF7w/edit */ +export interface PodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + containerConcurrency?: number; + protocolType: string; + reachability?: string; + scaleTargetRef: { + apiVersion?: string; + kind?: string; + name?: string; + }; + }; + status?: { + actualScale?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + desiredScale?: number; + metricsServiceName: string; + observedGeneration?: number; + serviceName: string; + }; +} +/* dev.knative.internal.autoscaling.v1alpha1.PodAutoscalerList */ +/* PodAutoscalerList is a list of PodAutoscaler */ +export interface PodAutoscalerList { + apiVersion?: string; + items: PodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.caching.v1alpha1.Image */ +/* Image is a Knative abstraction that encapsulates the interface by which Knative +components express a desire to have a particular image cached. */ +export interface Image { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + image: string; + imagePullSecrets?: { + name?: string; + }[]; + serviceAccountName?: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + }; +} +/* dev.knative.internal.caching.v1alpha1.ImageList */ +/* ImageList is a list of Image */ +export interface ImageList { + apiVersion?: string; + items: Image[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.Certificate */ +/* Certificate is responsible for provisioning a SSL certificate for the +given hosts. It is a Knative abstraction for various SSL certificate +provisioning solutions (such as cert-manager or self-signed SSL certificate). */ +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + dnsNames: string[]; + domain?: string; + secretName: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + http01Challenges?: { + serviceName?: string; + serviceNamespace?: string; + servicePort?: any; + url?: string; + }[]; + notAfter?: string; + observedGeneration?: number; + }; +} +/* dev.knative.internal.networking.v1alpha1.CertificateList */ +/* CertificateList is a list of Certificate */ +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.ClusterDomainClaim */ +/* ClusterDomainClaim is a cluster-wide reservation for a particular domain name. */ +export interface ClusterDomainClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + namespace: string; + }; +} +/* dev.knative.internal.networking.v1alpha1.ClusterDomainClaimList */ +/* ClusterDomainClaimList is a list of ClusterDomainClaim */ +export interface ClusterDomainClaimList { + apiVersion?: string; + items: ClusterDomainClaim[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.Ingress */ +/* Ingress is a collection of rules that allow inbound connections to reach the endpoints defined +by a backend. An Ingress can be configured to give services externally-reachable URLs, load +balance traffic, offer name based virtual hosting, etc. + + +This is heavily based on K8s Ingress https://godoc.org/k8s.io/api/networking/v1beta1#Ingress +which some highlighted modifications. */ +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + httpOption?: string; + rules?: { + hosts?: string[]; + http?: { + paths: { + appendHeaders?: { + [key: string]: unknown; + }; + headers?: { + [key: string]: unknown; + }; + path?: string; + rewriteHost?: string; + splits: { + appendHeaders?: { + [key: string]: unknown; + }; + percent?: number; + serviceName: string; + serviceNamespace: string; + servicePort: any; + }[]; + }[]; + }; + visibility?: string; + }[]; + tls?: { + hosts?: string[]; + secretName?: string; + secretNamespace?: string; + }[]; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + publicLoadBalancer?: { + ingress?: { + domain?: string; + domainInternal?: string; + ip?: string; + meshOnly?: boolean; + }[]; + }; + }; +} +/* dev.knative.internal.networking.v1alpha1.IngressList */ +/* IngressList is a list of Ingress */ +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.internal.networking.v1alpha1.ServerlessService */ +/* ServerlessService is a proxy for the K8s service objects containing the +endpoints for the revision, whether those are endpoints of the activator or +revision pods. +See: https://knative.page.link/naxz for details. */ +export interface ServerlessService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + mode?: string; + numActivators?: number; + objectRef: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + protocolType: string; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + privateServiceName?: string; + serviceName?: string; + }; +} +/* dev.knative.internal.networking.v1alpha1.ServerlessServiceList */ +/* ServerlessServiceList is a list of ServerlessService */ +export interface ServerlessServiceList { + apiVersion?: string; + items: ServerlessService[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Configuration */ +/* Configuration represents the "floating HEAD" of a linear history of Revisions. +Users create new Revisions by updating the Configuration's spec. +The "latest created" revision's name is available under status, as is the +"latest ready" revision's name. +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#configuration */ +export interface Configuration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + }; + status?: { + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + }; +} +/* dev.knative.serving.v1.ConfigurationList */ +/* ConfigurationList is a list of Configuration */ +export interface ConfigurationList { + apiVersion?: string; + items: Configuration[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Revision */ +/* Revision is an immutable snapshot of code and configuration. A revision +references a container image. Revisions are created by updates to a +Configuration. + + +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#revision */ +export interface Revision { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + status?: { + actualReplicas?: number; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + containerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + desiredReplicas?: number; + initContainerStatuses?: { + imageDigest?: string; + name?: string; + }[]; + logUrl?: string; + observedGeneration?: number; + }; +} +/* dev.knative.serving.v1.RevisionList */ +/* RevisionList is a list of Revision */ +export interface RevisionList { + apiVersion?: string; + items: Revision[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Route */ +/* Route is responsible for configuring ingress over a collection of Revisions. +Some of the Revisions a Route distributes traffic over may be specified by +referencing the Configuration responsible for creating them; in these cases +the Route is additionally responsible for monitoring the Configuration for +"latest ready revision" changes, and smoothly rolling out latest revisions. +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#route */ +export interface Route { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +/* dev.knative.serving.v1.RouteList */ +/* RouteList is a list of Route */ +export interface RouteList { + apiVersion?: string; + items: Route[]; + kind?: string; + metadata?: ListMeta; +} +/* dev.knative.serving.v1.Service */ +/* Service acts as a top-level container that manages a Route and Configuration +which implement a network service. Service exists to provide a singular +abstraction which can be access controlled, reasoned about, and which +encapsulates software lifecycle decisions such as rollout policy and +team resource ownership. Service acts only as an orchestrator of the +underlying Routes and Configurations (much as a kubernetes Deployment +orchestrates ReplicaSets), and its usage is optional but recommended. + + +The Service's controller will track the statuses of its owned Configuration +and Route, reflecting their statuses and conditions as its own. + + +See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#service */ +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + template?: { + metadata?: any; + spec?: { + affinity?: any; + automountServiceAccountToken?: boolean; + containerConcurrency?: number; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: any; + resourceFieldRef?: any; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + name?: string; + ports?: { + containerPort: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + resources?: { + claims?: { + name: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + securityContext?: { + allowPrivilegeEscalation?: boolean; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port?: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port?: any; + }; + timeoutSeconds?: number; + }; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + volumeMounts?: { + mountPath: string; + name: string; + readOnly?: boolean; + subPath?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: any; + dnsPolicy?: string; + enableServiceLinks?: boolean; + hostAliases?: any[]; + idleTimeoutSeconds?: number; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: any[]; + nodeSelector?: any; + priorityClassName?: string; + responseStartTimeoutSeconds?: number; + runtimeClassName?: string; + schedulerName?: string; + securityContext?: any; + serviceAccountName?: string; + shareProcessNamespace?: boolean; + timeoutSeconds?: number; + tolerations?: any[]; + topologySpreadConstraints?: any[]; + volumes?: { + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + emptyDir?: any; + name: string; + persistentVolumeClaim?: any; + projected?: { + defaultMode?: number; + sources?: { + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + }[]; + }; + }; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + }; + status?: { + address?: { + CACerts?: string; + audience?: string; + name?: string; + url?: string; + }; + annotations?: { + [key: string]: unknown; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + severity?: string; + status: string; + type: string; + }[]; + latestCreatedRevisionName?: string; + latestReadyRevisionName?: string; + observedGeneration?: number; + traffic?: { + configurationName?: string; + latestRevision?: boolean; + percent?: number; + revisionName?: string; + tag?: string; + url?: string; + }[]; + url?: string; + }; +} +/* dev.knative.serving.v1.ServiceList */ +/* ServiceList is a list of Service */ +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.acme.v1.Challenge */ +/* Challenge is a type to represent a Challenge request with an ACME server */ +export interface Challenge { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + authorizationURL: string; + dnsName: string; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + key: string; + solver: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }; + token: string; + type: "HTTP-01" | "DNS-01"; + url: string; + wildcard?: boolean; + }; + status?: { + presented?: boolean; + processing?: boolean; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + }; +} +/* io.cert-manager.acme.v1.ChallengeList */ +/* ChallengeList is a list of Challenge */ +export interface ChallengeList { + apiVersion?: string; + items: Challenge[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.acme.v1.Order */ +/* Order is a type to represent an Order with an ACME server */ +export interface Order { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + commonName?: string; + dnsNames?: string[]; + duration?: string; + ipAddresses?: string[]; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + }; + status?: { + authorizations?: { + challenges?: { + token: string; + type: string; + url: string; + }[]; + identifier?: string; + initialState?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url: string; + wildcard?: boolean; + }[]; + certificate?: string; + failureTime?: string; + finalizeURL?: string; + reason?: string; + state?: "valid" | "ready" | "pending" | "processing" | "invalid" | "expired" | "errored"; + url?: string; + }; +} +/* io.cert-manager.acme.v1.OrderList */ +/* OrderList is a list of Order */ +export interface OrderList { + apiVersion?: string; + items: Order[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.Certificate */ +/* A Certificate resource should be created to ensure an up to date and signed +X.509 certificate is stored in the Kubernetes Secret resource named in \`spec.secretName\`. + +The stored certificate will be renewed before it expires (as configured by \`spec.renewBefore\`). */ +export interface Certificate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + additionalOutputFormats?: { + type: "DER" | "CombinedPEM"; + }[]; + commonName?: string; + dnsNames?: string[]; + duration?: string; + emailAddresses?: string[]; + encodeUsagesInRequest?: boolean; + ipAddresses?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + keystores?: { + jks?: { + alias?: string; + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + }; + pkcs12?: { + create: boolean; + password?: string; + passwordSecretRef?: { + key?: string; + name: string; + }; + profile?: "LegacyRC2" | "LegacyDES" | "Modern2023"; + }; + }; + literalSubject?: string; + nameConstraints?: { + critical?: boolean; + excluded?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + permitted?: { + dnsDomains?: string[]; + emailAddresses?: string[]; + ipRanges?: string[]; + uriDomains?: string[]; + }; + }; + otherNames?: { + oid?: string; + utf8Value?: string; + }[]; + privateKey?: { + algorithm?: "RSA" | "ECDSA" | "Ed25519"; + encoding?: "PKCS1" | "PKCS8"; + rotationPolicy?: "Never" | "Always"; + size?: number; + }; + renewBefore?: string; + renewBeforePercentage?: number; + revisionHistoryLimit?: number; + secretName: string; + secretTemplate?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + subject?: { + countries?: string[]; + localities?: string[]; + organizationalUnits?: string[]; + organizations?: string[]; + postalCodes?: string[]; + provinces?: string[]; + serialNumber?: string; + streetAddresses?: string[]; + }; + uris?: string[]; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + }; + status?: { + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failedIssuanceAttempts?: number; + lastFailureTime?: string; + nextPrivateKeySecretName?: string; + notAfter?: string; + notBefore?: string; + renewalTime?: string; + revision?: number; + }; +} +/* io.cert-manager.v1.CertificateList */ +/* CertificateList is a list of Certificate */ +export interface CertificateList { + apiVersion?: string; + items: Certificate[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.CertificateRequest */ +/* A CertificateRequest is used to request a signed certificate from one of the +configured issuers. + +All fields within the CertificateRequest's \`spec\` are immutable after creation. +A CertificateRequest will either succeed or fail, as denoted by its \`Ready\` status +condition and its \`status.failureTime\` field. + +A CertificateRequest is a one-shot resource, meaning it represents a single +point in time request for a certificate and cannot be re-used. */ +export interface CertificateRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: { + duration?: string; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + isCA?: boolean; + issuerRef: { + group?: string; + kind?: string; + name: string; + }; + request: string; + uid?: string; + usages?: ("signing" | "digital signature" | "content commitment" | "key encipherment" | "key agreement" | "data encipherment" | "cert sign" | "crl sign" | "encipher only" | "decipher only" | "any" | "server auth" | "client auth" | "code signing" | "email protection" | "s/mime" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "timestamping" | "ocsp signing" | "microsoft sgc" | "netscape sgc")[]; + username?: string; + }; + status?: { + ca?: string; + certificate?: string; + conditions?: { + lastTransitionTime?: string; + message?: string; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + failureTime?: string; + }; +} +/* io.cert-manager.v1.CertificateRequestList */ +/* CertificateRequestList is a list of CertificateRequest */ +export interface CertificateRequestList { + apiVersion?: string; + items: CertificateRequest[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.ClusterIssuer */ +/* A ClusterIssuer represents a certificate issuing authority which can be +referenced as part of \`issuerRef\` fields. +It is similar to an Issuer, however it is cluster-scoped and therefore can +be referenced by resources that exist in *any* namespace, not just the same +namespace as the referent. */ +export interface ClusterIssuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +/* io.cert-manager.v1.ClusterIssuerList */ +/* ClusterIssuerList is a list of ClusterIssuer */ +export interface ClusterIssuerList { + apiVersion?: string; + items: ClusterIssuer[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cert-manager.v1.Issuer */ +/* An Issuer represents a certificate issuing authority which can be +referenced as part of \`issuerRef\` fields. +It is scoped to a single namespace and can therefore only be referenced by +resources within the same namespace. */ +export interface Issuer { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: { + acme?: { + caBundle?: string; + disableAccountKeyGeneration?: boolean; + email?: string; + enableDurationFeature?: boolean; + externalAccountBinding?: { + keyAlgorithm?: "HS256" | "HS384" | "HS512"; + keyID: string; + keySecretRef: { + key?: string; + name: string; + }; + }; + preferredChain?: string; + privateKeySecretRef: { + key?: string; + name: string; + }; + server: string; + skipTLSVerify?: boolean; + solvers?: { + dns01?: { + acmeDNS?: { + accountSecretRef: { + key?: string; + name: string; + }; + host: string; + }; + akamai?: { + accessTokenSecretRef: { + key?: string; + name: string; + }; + clientSecretSecretRef: { + key?: string; + name: string; + }; + clientTokenSecretRef: { + key?: string; + name: string; + }; + serviceConsumerDomain: string; + }; + azureDNS?: { + clientID?: string; + clientSecretSecretRef?: { + key?: string; + name: string; + }; + environment?: "AzurePublicCloud" | "AzureChinaCloud" | "AzureGermanCloud" | "AzureUSGovernmentCloud"; + hostedZoneName?: string; + managedIdentity?: { + clientID?: string; + resourceID?: string; + tenantID?: string; + }; + resourceGroupName: string; + subscriptionID: string; + tenantID?: string; + }; + cloudDNS?: { + hostedZoneName?: string; + project: string; + serviceAccountSecretRef?: { + key?: string; + name: string; + }; + }; + cloudflare?: { + apiKeySecretRef?: { + key?: string; + name: string; + }; + apiTokenSecretRef?: { + key?: string; + name: string; + }; + email?: string; + }; + cnameStrategy?: "None" | "Follow"; + digitalocean?: { + tokenSecretRef: { + key?: string; + name: string; + }; + }; + rfc2136?: { + nameserver: string; + tsigAlgorithm?: string; + tsigKeyName?: string; + tsigSecretSecretRef?: { + key?: string; + name: string; + }; + }; + route53?: { + accessKeyID?: string; + accessKeyIDSecretRef?: { + key?: string; + name: string; + }; + auth?: { + kubernetes: { + serviceAccountRef: { + audiences?: string[]; + name: string; + }; + }; + }; + hostedZoneID?: string; + region?: string; + role?: string; + secretAccessKeySecretRef?: { + key?: string; + name: string; + }; + }; + webhook?: { + config?: any; + groupName: string; + solverName: string; + }; + }; + http01?: { + gatewayHTTPRoute?: { + labels?: { + [key: string]: unknown; + }; + parentRefs?: { + group?: string; + kind?: string; + name: string; + namespace?: string; + port?: number; + sectionName?: string; + }[]; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + ingress?: { + class?: string; + ingressClassName?: string; + ingressTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + }; + name?: string; + podTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + spec?: { + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + imagePullSecrets?: { + name?: string; + }[]; + nodeSelector?: { + [key: string]: unknown; + }; + priorityClassName?: string; + securityContext?: { + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + sysctls?: { + name: string; + value: string; + }[]; + }; + serviceAccountName?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + }; + }; + serviceType?: string; + }; + }; + selector?: { + dnsNames?: string[]; + dnsZones?: string[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + }[]; + }; + ca?: { + crlDistributionPoints?: string[]; + issuingCertificateURLs?: string[]; + ocspServers?: string[]; + secretName: string; + }; + selfSigned?: { + crlDistributionPoints?: string[]; + }; + vault?: { + auth: { + appRole?: { + path: string; + roleId: string; + secretRef: { + key?: string; + name: string; + }; + }; + clientCertificate?: { + mountPath?: string; + name?: string; + secretName?: string; + }; + kubernetes?: { + mountPath?: string; + role: string; + secretRef?: { + key?: string; + name: string; + }; + serviceAccountRef?: { + audiences?: string[]; + name: string; + }; + }; + tokenSecretRef?: { + key?: string; + name: string; + }; + }; + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + clientCertSecretRef?: { + key?: string; + name: string; + }; + clientKeySecretRef?: { + key?: string; + name: string; + }; + namespace?: string; + path: string; + server: string; + }; + venafi?: { + cloud?: { + apiTokenSecretRef: { + key?: string; + name: string; + }; + url?: string; + }; + tpp?: { + caBundle?: string; + caBundleSecretRef?: { + key?: string; + name: string; + }; + credentialsRef: { + name: string; + }; + url: string; + }; + zone: string; + }; + }; + status?: { + acme?: { + lastPrivateKeyHash?: string; + lastRegisteredEmail?: string; + uri?: string; + }; + conditions?: { + lastTransitionTime?: string; + message?: string; + observedGeneration?: number; + reason?: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + }; +} +/* io.cert-manager.v1.IssuerList */ +/* IssuerList is a list of Issuer */ +export interface IssuerList { + apiVersion?: string; + items: Issuer[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Backup */ +/* A Backup resource is a request for a PostgreSQL backup by the user. */ +export interface Backup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + target?: "primary" | "prefer-standby"; + }; + status?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + backupId?: string; + backupLabelFile?: string; + backupName?: string; + beginLSN?: string; + beginWal?: string; + commandError?: string; + commandOutput?: string; + destinationPath?: string; + encryption?: string; + endLSN?: string; + endWal?: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + error?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + instanceID?: { + ContainerID?: string; + podName?: string; + }; + method?: string; + online?: boolean; + phase?: string; + pluginMetadata?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + snapshotBackupStatus?: { + elements?: { + name: string; + tablespaceName?: string; + type: string; + }[]; + }; + startedAt?: string; + stoppedAt?: string; + tablespaceMapFile?: string; + }; +} +/* io.cnpg.postgresql.v1.BackupList */ +/* BackupList is a list of Backup */ +export interface BackupList { + apiVersion?: string; + items: Backup[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Cluster */ +/* Cluster is the Schema for the PostgreSQL API */ +export interface Cluster { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + affinity?: { + additionalPodAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + additionalPodAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + enablePodAntiAffinity?: boolean; + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + nodeSelector?: { + [key: string]: unknown; + }; + podAntiAffinityType?: string; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologyKey?: string; + }; + backup?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + retentionPolicy?: string; + target?: "primary" | "prefer-standby"; + volumeSnapshot?: { + annotations?: { + [key: string]: unknown; + }; + className?: string; + labels?: { + [key: string]: unknown; + }; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + snapshotOwnerReference?: "none" | "cluster" | "backup"; + tablespaceClassName?: { + [key: string]: unknown; + }; + walClassName?: string; + }; + }; + bootstrap?: { + initdb?: { + builtinLocale?: string; + dataChecksums?: boolean; + database?: string; + encoding?: string; + icuLocale?: string; + icuRules?: string; + import?: { + databases: string[]; + pgDumpExtraOptions?: string[]; + pgRestoreExtraOptions?: string[]; + postImportApplicationSQL?: string[]; + roles?: string[]; + schemaOnly?: boolean; + source: { + externalCluster: string; + }; + type: "microservice" | "monolith"; + }; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + options?: string[]; + owner?: string; + postInitApplicationSQL?: string[]; + postInitApplicationSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitSQL?: string[]; + postInitSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + postInitTemplateSQL?: string[]; + postInitTemplateSQLRefs?: { + configMapRefs?: { + key: string; + name: string; + }[]; + secretRefs?: { + key: string; + name: string; + }[]; + }; + secret?: { + name: string; + }; + walSegmentSize?: number; + }; + pg_basebackup?: { + database?: string; + owner?: string; + secret?: { + name: string; + }; + source: string; + }; + recovery?: { + backup?: { + endpointCA?: { + key: string; + name: string; + }; + name: string; + }; + database?: string; + owner?: string; + recoveryTarget?: { + backupID?: string; + exclusive?: boolean; + targetImmediate?: boolean; + targetLSN?: string; + targetName?: string; + targetTLI?: string; + targetTime?: string; + targetXID?: string; + }; + secret?: { + name: string; + }; + source?: string; + volumeSnapshots?: { + storage: { + apiGroup?: string; + kind: string; + name: string; + }; + tablespaceStorage?: { + [key: string]: unknown; + }; + walStorage?: { + apiGroup?: string; + kind: string; + name: string; + }; + }; + }; + }; + certificates?: { + clientCASecret?: string; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + description?: string; + enablePDB?: boolean; + enableSuperuserAccess?: boolean; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + ephemeralVolumeSource?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + ephemeralVolumesSizeLimit?: { + shm?: any; + temporaryData?: any; + }; + externalClusters?: { + barmanObjectStore?: { + azureCredentials?: { + connectionString?: { + key: string; + name: string; + }; + inheritFromAzureAD?: boolean; + storageAccount?: { + key: string; + name: string; + }; + storageKey?: { + key: string; + name: string; + }; + storageSasToken?: { + key: string; + name: string; + }; + }; + data?: { + additionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "snappy"; + encryption?: "AES256" | "aws:kms"; + immediateCheckpoint?: boolean; + jobs?: number; + }; + destinationPath: string; + endpointCA?: { + key: string; + name: string; + }; + endpointURL?: string; + googleCredentials?: { + applicationCredentials?: { + key: string; + name: string; + }; + gkeEnvironment?: boolean; + }; + historyTags?: { + [key: string]: unknown; + }; + s3Credentials?: { + accessKeyId?: { + key: string; + name: string; + }; + inheritFromIAMRole?: boolean; + region?: { + key: string; + name: string; + }; + secretAccessKey?: { + key: string; + name: string; + }; + sessionToken?: { + key: string; + name: string; + }; + }; + serverName?: string; + tags?: { + [key: string]: unknown; + }; + wal?: { + archiveAdditionalCommandArgs?: string[]; + compression?: "bzip2" | "gzip" | "lz4" | "snappy" | "xz" | "zstd"; + encryption?: "AES256" | "aws:kms"; + maxParallel?: number; + restoreAdditionalCommandArgs?: string[]; + }; + }; + connectionParameters?: { + [key: string]: unknown; + }; + name: string; + password?: { + key: string; + name?: string; + optional?: boolean; + }; + plugin?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + sslCert?: { + key: string; + name?: string; + optional?: boolean; + }; + sslKey?: { + key: string; + name?: string; + optional?: boolean; + }; + sslRootCert?: { + key: string; + name?: string; + optional?: boolean; + }; + }[]; + failoverDelay?: number; + imageCatalogRef?: { + apiGroup?: string; + kind: string; + major: number; + name: string; + }; + imageName?: string; + imagePullPolicy?: string; + imagePullSecrets?: { + name: string; + }[]; + inheritedMetadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + }; + instances: number; + livenessProbeTimeout?: number; + logLevel?: "error" | "warning" | "info" | "debug" | "trace"; + managed?: { + roles?: { + bypassrls?: boolean; + comment?: string; + connectionLimit?: number; + createdb?: boolean; + createrole?: boolean; + disablePassword?: boolean; + ensure?: "present" | "absent"; + inRoles?: string[]; + inherit?: boolean; + login?: boolean; + name: string; + passwordSecret?: { + name: string; + }; + replication?: boolean; + superuser?: boolean; + validUntil?: string; + }[]; + services?: { + additional?: { + selectorType: "rw" | "r" | "ro"; + serviceTemplate: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + updateStrategy?: "patch" | "replace"; + }[]; + disabledDefaultServices?: ("rw" | "r" | "ro")[]; + }; + }; + maxSyncReplicas?: number; + minSyncReplicas?: number; + monitoring?: { + customQueriesConfigMap?: { + key: string; + name: string; + }[]; + customQueriesSecret?: { + key: string; + name: string; + }[]; + disableDefaultQueries?: boolean; + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + tls?: { + enabled?: boolean; + }; + }; + nodeMaintenanceWindow?: { + inProgress?: boolean; + reusePVC?: boolean; + }; + plugins?: { + enabled?: boolean; + isWALArchiver?: boolean; + name: string; + parameters?: { + [key: string]: unknown; + }; + }[]; + postgresGID?: number; + postgresUID?: number; + postgresql?: { + enableAlterSystem?: boolean; + ldap?: { + bindAsAuth?: { + prefix?: string; + suffix?: string; + }; + bindSearchAuth?: { + baseDN?: string; + bindDN?: string; + bindPassword?: { + key: string; + name?: string; + optional?: boolean; + }; + searchAttribute?: string; + searchFilter?: string; + }; + port?: number; + scheme?: "ldap" | "ldaps"; + server?: string; + tls?: boolean; + }; + parameters?: { + [key: string]: unknown; + }; + pg_hba?: string[]; + pg_ident?: string[]; + promotionTimeout?: number; + shared_preload_libraries?: string[]; + syncReplicaElectionConstraint?: { + enabled: boolean; + nodeLabelsAntiAffinity?: string[]; + }; + synchronous?: { + dataDurability?: "required" | "preferred"; + maxStandbyNamesFromCluster?: number; + method: "any" | "first"; + number: number; + standbyNamesPost?: string[]; + standbyNamesPre?: string[]; + }; + }; + primaryUpdateMethod?: "switchover" | "restart"; + primaryUpdateStrategy?: "unsupervised" | "supervised"; + priorityClassName?: string; + probes?: { + liveness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + readiness?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + startup?: { + failureThreshold?: number; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + }; + projectedVolumeTemplate?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + replica?: { + enabled?: boolean; + minApplyDelay?: string; + primary?: string; + promotionToken?: string; + self?: string; + source: string; + }; + replicationSlots?: { + highAvailability?: { + enabled?: boolean; + slotPrefix?: string; + }; + synchronizeReplicas?: { + enabled: boolean; + excludePatterns?: string[]; + }; + updateInterval?: number; + }; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + schedulerName?: string; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + serviceAccountTemplate?: { + metadata: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + }; + smartShutdownTimeout?: number; + startDelay?: number; + stopDelay?: number; + storage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + superuserSecret?: { + name: string; + }; + switchoverDelay?: number; + tablespaces?: { + name: string; + owner?: { + name?: string; + }; + storage: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + temporary?: boolean; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + walStorage?: { + pvcTemplate?: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + resizeInUseVolumes?: boolean; + size?: string; + storageClass?: string; + }; + }; + status?: { + availableArchitectures?: { + goArch: string; + hash: string; + }[]; + azurePVCUpdateEnabled?: boolean; + certificates?: { + clientCASecret?: string; + expirations?: { + [key: string]: unknown; + }; + replicationTLSSecret?: string; + serverAltDNSNames?: string[]; + serverCASecret?: string; + serverTLSSecret?: string; + }; + cloudNativePGCommitHash?: string; + cloudNativePGOperatorHash?: string; + conditions?: { + lastTransitionTime: string; + message: string; + observedGeneration?: number; + reason: string; + status: "True" | "False" | "Unknown"; + type: string; + }[]; + configMapResourceVersion?: { + metrics?: { + [key: string]: unknown; + }; + }; + currentPrimary?: string; + currentPrimaryFailingSinceTimestamp?: string; + currentPrimaryTimestamp?: string; + danglingPVC?: string[]; + demotionToken?: string; + firstRecoverabilityPoint?: string; + firstRecoverabilityPointByMethod?: { + [key: string]: unknown; + }; + healthyPVC?: string[]; + image?: string; + initializingPVC?: string[]; + instanceNames?: string[]; + instances?: number; + instancesReportedState?: { + [key: string]: unknown; + }; + instancesStatus?: { + [key: string]: unknown; + }; + jobCount?: number; + lastFailedBackup?: string; + lastPromotionToken?: string; + lastSuccessfulBackup?: string; + lastSuccessfulBackupByMethod?: { + [key: string]: unknown; + }; + latestGeneratedNode?: number; + managedRolesStatus?: { + byStatus?: { + [key: string]: unknown; + }; + cannotReconcile?: { + [key: string]: unknown; + }; + passwordStatus?: { + [key: string]: unknown; + }; + }; + onlineUpdateEnabled?: boolean; + phase?: string; + phaseReason?: string; + pluginStatus?: { + backupCapabilities?: string[]; + capabilities?: string[]; + name: string; + operatorCapabilities?: string[]; + restoreJobHookCapabilities?: string[]; + status?: string; + version: string; + walCapabilities?: string[]; + }[]; + poolerIntegrations?: { + pgBouncerIntegration?: { + secrets?: string[]; + }; + }; + pvcCount?: number; + readService?: string; + readyInstances?: number; + resizingPVC?: string[]; + secretsResourceVersion?: { + applicationSecretVersion?: string; + barmanEndpointCA?: string; + caSecretVersion?: string; + clientCaSecretVersion?: string; + externalClusterSecretVersion?: { + [key: string]: unknown; + }; + managedRoleSecretVersion?: { + [key: string]: unknown; + }; + metrics?: { + [key: string]: unknown; + }; + replicationSecretVersion?: string; + serverCaSecretVersion?: string; + serverSecretVersion?: string; + superuserSecretVersion?: string; + }; + switchReplicaClusterStatus?: { + inProgress?: boolean; + }; + tablespacesStatus?: { + error?: string; + name: string; + owner?: string; + state: string; + }[]; + targetPrimary?: string; + targetPrimaryTimestamp?: string; + timelineID?: number; + topology?: { + instances?: { + [key: string]: unknown; + }; + nodesUsed?: number; + successfullyExtracted?: boolean; + }; + unusablePVC?: string[]; + writeService?: string; + }; +} +/* io.cnpg.postgresql.v1.ClusterImageCatalog */ +/* ClusterImageCatalog is the Schema for the clusterimagecatalogs API */ +export interface ClusterImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +/* io.cnpg.postgresql.v1.ClusterImageCatalogList */ +/* ClusterImageCatalogList is a list of ClusterImageCatalog */ +export interface ClusterImageCatalogList { + apiVersion?: string; + items: ClusterImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.ClusterList */ +/* ClusterList is a list of Cluster */ +export interface ClusterList { + apiVersion?: string; + items: Cluster[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Database */ +/* Database is the Schema for the databases API */ +export interface Database { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + allowConnections?: boolean; + builtinLocale?: string; + cluster: { + name?: string; + }; + collationVersion?: string; + connectionLimit?: number; + databaseReclaimPolicy?: "delete" | "retain"; + encoding?: string; + ensure?: "present" | "absent"; + icuLocale?: string; + icuRules?: string; + isTemplate?: boolean; + locale?: string; + localeCType?: string; + localeCollate?: string; + localeProvider?: string; + name: string; + owner: string; + tablespace?: string; + template?: string; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +/* io.cnpg.postgresql.v1.DatabaseList */ +/* DatabaseList is a list of Database */ +export interface DatabaseList { + apiVersion?: string; + items: Database[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.ImageCatalog */ +/* ImageCatalog is the Schema for the imagecatalogs API */ +export interface ImageCatalog { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + images: { + image: string; + major: number; + }[]; + }; +} +/* io.cnpg.postgresql.v1.ImageCatalogList */ +/* ImageCatalogList is a list of ImageCatalog */ +export interface ImageCatalogList { + apiVersion?: string; + items: ImageCatalog[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Pooler */ +/* Pooler is the Schema for the poolers API */ +export interface Pooler { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name: string; + }; + deploymentStrategy?: { + rollingUpdate?: { + maxSurge?: any; + maxUnavailable?: any; + }; + type?: string; + }; + instances?: number; + monitoring?: { + enablePodMonitor?: boolean; + podMonitorMetricRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + podMonitorRelabelings?: { + action?: "replace" | "Replace" | "keep" | "Keep" | "drop" | "Drop" | "hashmod" | "HashMod" | "labelmap" | "LabelMap" | "labeldrop" | "LabelDrop" | "labelkeep" | "LabelKeep" | "lowercase" | "Lowercase" | "uppercase" | "Uppercase" | "keepequal" | "KeepEqual" | "dropequal" | "DropEqual"; + modulus?: number; + regex?: string; + replacement?: string; + separator?: string; + sourceLabels?: string[]; + targetLabel?: string; + }[]; + }; + pgbouncer: { + authQuery?: string; + authQuerySecret?: { + name: string; + }; + parameters?: { + [key: string]: unknown; + }; + paused?: boolean; + pg_hba?: string[]; + poolMode?: "session" | "transaction"; + }; + serviceTemplate?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: string; + healthCheckNodePort?: number; + internalTrafficPolicy?: string; + ipFamilies?: string[]; + ipFamilyPolicy?: string; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: string; + targetPort?: any; + }[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: string; + sessionAffinityConfig?: { + clientIP?: { + timeoutSeconds?: number; + }; + }; + trafficDistribution?: string; + type?: string; + }; + }; + template?: { + metadata?: { + annotations?: { + [key: string]: unknown; + }; + labels?: { + [key: string]: unknown; + }; + name?: string; + }; + spec?: { + activeDeadlineSeconds?: number; + affinity?: { + nodeAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + preference: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + nodeSelectorTerms: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchFields?: { + key: string; + operator: string; + values?: string[]; + }[]; + }[]; + }; + }; + podAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + podAntiAffinity?: { + preferredDuringSchedulingIgnoredDuringExecution?: { + podAffinityTerm: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }; + weight: number; + }[]; + requiredDuringSchedulingIgnoredDuringExecution?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + namespaces?: string[]; + topologyKey: string; + }[]; + }; + }; + automountServiceAccountToken?: boolean; + containers: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + dnsConfig?: { + nameservers?: string[]; + options?: { + name?: string; + value?: string; + }[]; + searches?: string[]; + }; + dnsPolicy?: string; + enableServiceLinks?: boolean; + ephemeralContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + hostAliases?: { + hostnames?: string[]; + ip: string; + }[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: { + name?: string; + }[]; + initContainers?: { + args?: string[]; + command?: string[]; + env?: { + name: string; + value?: string; + valueFrom?: { + configMapKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + secretKeyRef?: { + key: string; + name?: string; + optional?: boolean; + }; + }; + }[]; + envFrom?: { + configMapRef?: { + name?: string; + optional?: boolean; + }; + prefix?: string; + secretRef?: { + name?: string; + optional?: boolean; + }; + }[]; + image?: string; + imagePullPolicy?: string; + lifecycle?: { + postStart?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + preStop?: { + exec?: { + command?: string[]; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + sleep?: { + seconds: number; + }; + tcpSocket?: { + host?: string; + port: any; + }; + }; + }; + livenessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + name: string; + ports?: { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: string; + }[]; + readinessProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + resizePolicy?: { + resourceName: string; + restartPolicy: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + securityContext?: { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + capabilities?: { + add?: string[]; + drop?: string[]; + }; + privileged?: boolean; + procMount?: string; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + startupProbe?: { + exec?: { + command?: string[]; + }; + failureThreshold?: number; + grpc?: { + port: number; + service?: string; + }; + httpGet?: { + host?: string; + httpHeaders?: { + name: string; + value: string; + }[]; + path?: string; + port: any; + scheme?: string; + }; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: { + host?: string; + port: any; + }; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; + }; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: string; + tty?: boolean; + volumeDevices?: { + devicePath: string; + name: string; + }[]; + volumeMounts?: { + mountPath: string; + mountPropagation?: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; + }[]; + workingDir?: string; + }[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: { + name: string; + }; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: string; + priority?: number; + priorityClassName?: string; + readinessGates?: { + conditionType: string; + }[]; + resourceClaims?: { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; + }[]; + resources?: { + claims?: { + name: string; + request?: string; + }[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + restartPolicy?: string; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: { + name: string; + }[]; + securityContext?: { + appArmorProfile?: { + localhostProfile?: string; + type: string; + }; + fsGroup?: number; + fsGroupChangePolicy?: string; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: { + level?: string; + role?: string; + type?: string; + user?: string; + }; + seccompProfile?: { + localhostProfile?: string; + type: string; + }; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: string; + sysctls?: { + name: string; + value: string; + }[]; + windowsOptions?: { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; + }; + }; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: { + effect?: string; + key?: string; + operator?: string; + tolerationSeconds?: number; + value?: string; + }[]; + topologySpreadConstraints?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: string; + }[]; + volumes?: { + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + shareName: string; + }; + cephfs?: { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: { + name?: string; + }; + user?: string; + }; + cinder?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeID: string; + }; + configMap?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + csi?: { + driver: string; + fsType?: string; + nodePublishSecretRef?: { + name?: string; + }; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + }; + downwardAPI?: { + defaultMode?: number; + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + emptyDir?: { + medium?: string; + sizeLimit?: any; + }; + ephemeral?: { + volumeClaimTemplate?: { + metadata?: { + [key: string]: unknown; + }; + spec: { + accessModes?: string[]; + dataSource?: { + apiGroup?: string; + kind: string; + name: string; + }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; + }; + selector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: string; + volumeName?: string; + }; + }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + }; + flocker?: { + datasetName?: string; + datasetUUID?: string; + }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + gitRepo?: { + directory?: string; + repository: string; + revision?: string; + }; + glusterfs?: { + endpoints: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { + path: string; + type?: string; + }; + image?: { + pullPolicy?: string; + reference?: string; + }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + targetPortal: string; + }; + name: string; + nfs?: { + path: string; + readOnly?: boolean; + server: string; + }; + persistentVolumeClaim?: { + claimName: string; + readOnly?: boolean; + }; + photonPersistentDisk?: { + fsType?: string; + pdID: string; + }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + projected?: { + defaultMode?: number; + sources?: { + clusterTrustBundle?: { + labelSelector?: { + matchExpressions?: { + key: string; + operator: string; + values?: string[]; + }[]; + matchLabels?: { + [key: string]: unknown; + }; + }; + name?: string; + optional?: boolean; + path: string; + signerName?: string; + }; + configMap?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + downwardAPI?: { + items?: { + fieldRef?: { + apiVersion?: string; + fieldPath: string; + }; + mode?: number; + path: string; + resourceFieldRef?: { + containerName?: string; + divisor?: any; + resource: string; + }; + }[]; + }; + secret?: { + items?: { + key: string; + mode?: number; + path: string; + }[]; + name?: string; + optional?: boolean; + }; + serviceAccountToken?: { + audience?: string; + expirationSeconds?: number; + path: string; + }; + }[]; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: { + name?: string; + }; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + secret?: { + defaultMode?: number; + items?: { + key: string; + mode?: number; + path: string; + }[]; + optional?: boolean; + secretName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + secretRef?: { + name?: string; + }; + volumeName?: string; + volumeNamespace?: string; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }[]; + }; + }; + type?: "rw" | "ro" | "r"; + }; + status?: { + instances?: number; + secrets?: { + clientCA?: { + name?: string; + version?: string; + }; + pgBouncerSecrets?: { + authQuery?: { + name?: string; + version?: string; + }; + }; + serverCA?: { + name?: string; + version?: string; + }; + serverTLS?: { + name?: string; + version?: string; + }; + }; + }; +} +/* io.cnpg.postgresql.v1.PoolerList */ +/* PoolerList is a list of Pooler */ +export interface PoolerList { + apiVersion?: string; + items: Pooler[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Publication */ +/* Publication is the Schema for the publications API */ +export interface Publication { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationReclaimPolicy?: "delete" | "retain"; + target: { + allTables?: boolean; + objects?: { + table?: { + columns?: string[]; + name: string; + only?: boolean; + schema?: string; + }; + tablesInSchema?: string; + }[]; + }; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +/* io.cnpg.postgresql.v1.PublicationList */ +/* PublicationList is a list of Publication */ +export interface PublicationList { + apiVersion?: string; + items: Publication[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.ScheduledBackup */ +/* ScheduledBackup is the Schema for the scheduledbackups API */ +export interface ScheduledBackup { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + backupOwnerReference?: "none" | "self" | "cluster"; + cluster: { + name: string; + }; + immediate?: boolean; + method?: "barmanObjectStore" | "volumeSnapshot" | "plugin"; + online?: boolean; + onlineConfiguration?: { + immediateCheckpoint?: boolean; + waitForArchive?: boolean; + }; + pluginConfiguration?: { + name: string; + parameters?: { + [key: string]: unknown; + }; + }; + schedule: string; + suspend?: boolean; + target?: "primary" | "prefer-standby"; + }; + status?: { + lastCheckTime?: string; + lastScheduleTime?: string; + nextScheduleTime?: string; + }; +} +/* io.cnpg.postgresql.v1.ScheduledBackupList */ +/* ScheduledBackupList is a list of ScheduledBackup */ +export interface ScheduledBackupList { + apiVersion?: string; + items: ScheduledBackup[]; + kind?: string; + metadata?: ListMeta; +} +/* io.cnpg.postgresql.v1.Subscription */ +/* Subscription is the Schema for the subscriptions API */ +export interface Subscription { + apiVersion?: string; + kind?: string; + metadata: ObjectMeta; + spec: { + cluster: { + name?: string; + }; + dbname: string; + externalClusterName: string; + name: string; + parameters?: { + [key: string]: unknown; + }; + publicationDBName?: string; + publicationName: string; + subscriptionReclaimPolicy?: "delete" | "retain"; + }; + status?: { + applied?: boolean; + message?: string; + observedGeneration?: number; + }; +} +/* io.cnpg.postgresql.v1.SubscriptionList */ +/* SubscriptionList is a list of Subscription */ +export interface SubscriptionList { + apiVersion?: string; + items: Subscription[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.AuditAnnotation */ +/* AuditAnnotation describes how to produce an audit annotation for an API request. */ +export interface AuditAnnotation { + key: string; + valueExpression: string; +} +/* io.k8s.api.admissionregistration.v1.ExpressionWarning */ +/* ExpressionWarning is a warning information that targets a specific expression. */ +export interface ExpressionWarning { + fieldRef: string; + warning: string; +} +/* io.k8s.api.admissionregistration.v1.MatchCondition */ +/* MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. */ +export interface MatchCondition { + expression: string; + name: string; +} +/* io.k8s.api.admissionregistration.v1.MatchResources */ +/* MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) */ +export interface MatchResources { + excludeResourceRules?: NamedRuleWithOperations[]; + matchPolicy?: "Equivalent" | "Exact"; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + resourceRules?: NamedRuleWithOperations[]; +} +/* io.k8s.api.admissionregistration.v1.MutatingWebhook */ +/* MutatingWebhook describes an admission webhook and the resources and operations it applies to. */ +export interface MutatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + reinvocationPolicy?: "IfNeeded" | "Never"; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +/* io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration */ +/* MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. */ +export interface MutatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: MutatingWebhook[]; +} +/* io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList */ +/* MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. */ +export interface MutatingWebhookConfigurationList { + apiVersion?: string; + items: MutatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.NamedRuleWithOperations */ +/* NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. */ +export interface NamedRuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resourceNames?: string[]; + resources?: string[]; + scope?: string; +} +/* io.k8s.api.admissionregistration.v1.ParamKind */ +/* ParamKind is a tuple of Group Kind and Version. */ +export interface ParamKind { + apiVersion?: string; + kind?: string; +} +/* io.k8s.api.admissionregistration.v1.ParamRef */ +/* ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. */ +export interface ParamRef { + name?: string; + namespace?: string; + parameterNotFoundAction?: string; + selector?: LabelSelector; +} +/* io.k8s.api.admissionregistration.v1.RuleWithOperations */ +/* RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. */ +export interface RuleWithOperations { + apiGroups?: string[]; + apiVersions?: string[]; + operations?: ("*" | "CONNECT" | "CREATE" | "DELETE" | "UPDATE")[]; + resources?: string[]; + scope?: string; +} +/* io.k8s.api.admissionregistration.v1.ServiceReference */ +/* ServiceReference holds a reference to Service.legacy.k8s.io */ +export interface AdmissionServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +/* io.k8s.api.admissionregistration.v1.TypeChecking */ +/* TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy */ +export interface TypeChecking { + expressionWarnings?: ExpressionWarning[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy */ +/* ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. */ +export interface ValidatingAdmissionPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicySpec; + status?: ValidatingAdmissionPolicyStatus; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding */ +/* ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters. + +For 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. + +The 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. */ +export interface ValidatingAdmissionPolicyBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ValidatingAdmissionPolicyBindingSpec; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList */ +/* ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. */ +export interface ValidatingAdmissionPolicyBindingList { + apiVersion?: string; + items: ValidatingAdmissionPolicyBinding[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingSpec */ +/* ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. */ +export interface ValidatingAdmissionPolicyBindingSpec { + matchResources?: MatchResources; + paramRef?: ParamRef; + policyName?: string; + validationActions?: ("Audit" | "Deny" | "Warn")[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList */ +/* ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. */ +export interface ValidatingAdmissionPolicyList { + apiVersion?: string; + items: ValidatingAdmissionPolicy[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicySpec */ +/* ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. */ +export interface ValidatingAdmissionPolicySpec { + auditAnnotations?: AuditAnnotation[]; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchConstraints?: MatchResources; + paramKind?: ParamKind; + validations?: Validation[]; + variables?: Variable[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyStatus */ +/* ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. */ +export interface ValidatingAdmissionPolicyStatus { + conditions?: Condition[]; + observedGeneration?: number; + typeChecking?: TypeChecking; +} +/* io.k8s.api.admissionregistration.v1.ValidatingWebhook */ +/* ValidatingWebhook describes an admission webhook and the resources and operations it applies to. */ +export interface ValidatingWebhook { + admissionReviewVersions: string[]; + clientConfig: WebhookClientConfig; + failurePolicy?: "Fail" | "Ignore"; + matchConditions?: MatchCondition[]; + matchPolicy?: "Equivalent" | "Exact"; + name: string; + namespaceSelector?: LabelSelector; + objectSelector?: LabelSelector; + rules?: RuleWithOperations[]; + sideEffects: "None" | "NoneOnDryRun" | "Some" | "Unknown"; + timeoutSeconds?: number; +} +/* io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration */ +/* ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. */ +export interface ValidatingWebhookConfiguration { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + webhooks?: ValidatingWebhook[]; +} +/* io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList */ +/* ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. */ +export interface ValidatingWebhookConfigurationList { + apiVersion?: string; + items: ValidatingWebhookConfiguration[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.admissionregistration.v1.Validation */ +/* Validation specifies the CEL expression which is used to apply the validation. */ +export interface Validation { + expression: string; + message?: string; + messageExpression?: string; + reason?: string; +} +/* io.k8s.api.admissionregistration.v1.Variable */ +/* Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. */ +export interface Variable { + expression: string; + name: string; +} +/* io.k8s.api.admissionregistration.v1.WebhookClientConfig */ +/* WebhookClientConfig contains the information to make a TLS connection with the webhook */ +export interface WebhookClientConfig { + caBundle?: string; + service?: AdmissionServiceReference; + url?: string; +} +/* io.k8s.api.apps.v1.ControllerRevision */ +/* ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. */ +export interface ControllerRevision { + apiVersion?: string; + data?: RawExtension; + kind?: string; + metadata?: ObjectMeta; + revision: number; +} +/* io.k8s.api.apps.v1.ControllerRevisionList */ +/* ControllerRevisionList is a resource containing a list of ControllerRevision objects. */ +export interface ControllerRevisionList { + apiVersion?: string; + items: ControllerRevision[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.DaemonSet */ +/* DaemonSet represents the configuration of a daemon set. */ +export interface DaemonSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DaemonSetSpec; + status?: DaemonSetStatus; +} +/* io.k8s.api.apps.v1.DaemonSetCondition */ +/* DaemonSetCondition describes the state of a DaemonSet at a certain point. */ +export interface DaemonSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.DaemonSetList */ +/* DaemonSetList is a collection of daemon sets. */ +export interface DaemonSetList { + apiVersion?: string; + items: DaemonSet[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.DaemonSetSpec */ +/* DaemonSetSpec is the specification of a daemon set. */ +export interface DaemonSetSpec { + minReadySeconds?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + template: PodTemplateSpec; + updateStrategy?: DaemonSetUpdateStrategy; +} +/* io.k8s.api.apps.v1.DaemonSetStatus */ +/* DaemonSetStatus represents the current status of a daemon set. */ +export interface DaemonSetStatus { + collisionCount?: number; + conditions?: DaemonSetCondition[]; + currentNumberScheduled: number; + desiredNumberScheduled: number; + numberAvailable?: number; + numberMisscheduled: number; + numberReady: number; + numberUnavailable?: number; + observedGeneration?: number; + updatedNumberScheduled?: number; +} +/* io.k8s.api.apps.v1.DaemonSetUpdateStrategy */ +/* DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. */ +export interface DaemonSetUpdateStrategy { + rollingUpdate?: RollingUpdateDaemonSet; + type?: "OnDelete" | "RollingUpdate"; +} +/* io.k8s.api.apps.v1.Deployment */ +/* Deployment enables declarative updates for Pods and ReplicaSets. */ +export interface Deployment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: DeploymentSpec; + status?: DeploymentStatus; +} +/* io.k8s.api.apps.v1.DeploymentCondition */ +/* DeploymentCondition describes the state of a deployment at a certain point. */ +export interface DeploymentCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.DeploymentList */ +/* DeploymentList is a list of Deployments. */ +export interface DeploymentList { + apiVersion?: string; + items: Deployment[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.DeploymentSpec */ +/* DeploymentSpec is the specification of the desired behavior of the Deployment. */ +export interface DeploymentSpec { + minReadySeconds?: number; + paused?: boolean; + progressDeadlineSeconds?: number; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + strategy?: DeploymentStrategy; + template: PodTemplateSpec; +} +/* io.k8s.api.apps.v1.DeploymentStatus */ +/* DeploymentStatus is the most recently observed status of the Deployment. */ +export interface DeploymentStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: DeploymentCondition[]; + observedGeneration?: number; + readyReplicas?: number; + replicas?: number; + unavailableReplicas?: number; + updatedReplicas?: number; +} +/* io.k8s.api.apps.v1.DeploymentStrategy */ +/* DeploymentStrategy describes how to replace existing pods with new ones. */ +export interface DeploymentStrategy { + rollingUpdate?: RollingUpdateDeployment; + type?: "Recreate" | "RollingUpdate"; +} +/* io.k8s.api.apps.v1.ReplicaSet */ +/* ReplicaSet ensures that a specified number of pod replicas are running at any given time. */ +export interface ReplicaSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicaSetSpec; + status?: ReplicaSetStatus; +} +/* io.k8s.api.apps.v1.ReplicaSetCondition */ +/* ReplicaSetCondition describes the state of a replica set at a certain point. */ +export interface ReplicaSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.ReplicaSetList */ +/* ReplicaSetList is a collection of ReplicaSets. */ +export interface ReplicaSetList { + apiVersion?: string; + items: ReplicaSet[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.ReplicaSetSpec */ +/* ReplicaSetSpec is the specification of a ReplicaSet. */ +export interface ReplicaSetSpec { + minReadySeconds?: number; + replicas?: number; + selector: LabelSelector; + template?: PodTemplateSpec; +} +/* io.k8s.api.apps.v1.ReplicaSetStatus */ +/* ReplicaSetStatus represents the current status of a ReplicaSet. */ +export interface ReplicaSetStatus { + availableReplicas?: number; + conditions?: ReplicaSetCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +/* io.k8s.api.apps.v1.RollingUpdateDaemonSet */ +/* Spec to control the desired behavior of daemon set rolling update. */ +export interface RollingUpdateDaemonSet { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +/* io.k8s.api.apps.v1.RollingUpdateDeployment */ +/* Spec to control the desired behavior of rolling update. */ +export interface RollingUpdateDeployment { + maxSurge?: IntOrString; + maxUnavailable?: IntOrString; +} +/* io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy */ +/* RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. */ +export interface RollingUpdateStatefulSetStrategy { + maxUnavailable?: IntOrString; + partition?: number; +} +/* io.k8s.api.apps.v1.StatefulSet */ +/* StatefulSet represents a set of pods with consistent identities. Identities are defined as: + - Network: A single stable DNS and hostname. + - Storage: As many VolumeClaims as requested. + +The StatefulSet guarantees that a given network identity will always map to the same storage identity. */ +export interface StatefulSet { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: StatefulSetSpec; + status?: StatefulSetStatus; +} +/* io.k8s.api.apps.v1.StatefulSetCondition */ +/* StatefulSetCondition describes the state of a statefulset at a certain point. */ +export interface StatefulSetCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.apps.v1.StatefulSetList */ +/* StatefulSetList is a collection of StatefulSets. */ +export interface StatefulSetList { + apiVersion?: string; + items: StatefulSet[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.apps.v1.StatefulSetOrdinals */ +/* StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet. */ +export interface StatefulSetOrdinals { + start?: number; +} +/* io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy */ +/* StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. */ +export interface StatefulSetPersistentVolumeClaimRetentionPolicy { + whenDeleted?: string; + whenScaled?: string; +} +/* io.k8s.api.apps.v1.StatefulSetSpec */ +/* A StatefulSetSpec is the specification of a StatefulSet. */ +export interface StatefulSetSpec { + minReadySeconds?: number; + ordinals?: StatefulSetOrdinals; + persistentVolumeClaimRetentionPolicy?: StatefulSetPersistentVolumeClaimRetentionPolicy; + podManagementPolicy?: "OrderedReady" | "Parallel"; + replicas?: number; + revisionHistoryLimit?: number; + selector: LabelSelector; + serviceName: string; + template: PodTemplateSpec; + updateStrategy?: StatefulSetUpdateStrategy; + volumeClaimTemplates?: PersistentVolumeClaim[]; +} +/* io.k8s.api.apps.v1.StatefulSetStatus */ +/* StatefulSetStatus represents the current state of a StatefulSet. */ +export interface StatefulSetStatus { + availableReplicas?: number; + collisionCount?: number; + conditions?: StatefulSetCondition[]; + currentReplicas?: number; + currentRevision?: string; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; + updateRevision?: string; + updatedReplicas?: number; +} +/* io.k8s.api.apps.v1.StatefulSetUpdateStrategy */ +/* StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. */ +export interface StatefulSetUpdateStrategy { + rollingUpdate?: RollingUpdateStatefulSetStrategy; + type?: "OnDelete" | "RollingUpdate"; +} +/* io.k8s.api.authentication.v1.BoundObjectReference */ +/* BoundObjectReference is a reference to an object that a token is bound to. */ +export interface BoundObjectReference { + apiVersion?: string; + kind?: string; + name?: string; + uid?: string; +} +/* io.k8s.api.authentication.v1.SelfSubjectReview */ +/* SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase. */ +export interface SelfSubjectReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + status?: SelfSubjectReviewStatus; +} +/* io.k8s.api.authentication.v1.SelfSubjectReviewStatus */ +/* SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. */ +export interface SelfSubjectReviewStatus { + userInfo?: UserInfo; +} +/* io.k8s.api.authentication.v1.TokenRequest */ +/* TokenRequest requests a token for a given service account. */ +export interface TokenRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenRequestSpec; + status?: TokenRequestStatus; +} +/* io.k8s.api.authentication.v1.TokenRequestSpec */ +/* TokenRequestSpec contains client provided parameters of a token request. */ +export interface TokenRequestSpec { + audiences: string[]; + boundObjectRef?: BoundObjectReference; + expirationSeconds?: number; +} +/* io.k8s.api.authentication.v1.TokenRequestStatus */ +/* TokenRequestStatus is the result of a token request. */ +export interface TokenRequestStatus { + expirationTimestamp: Time; + token: string; +} +/* io.k8s.api.authentication.v1.TokenReview */ +/* TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. */ +export interface TokenReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: TokenReviewSpec; + status?: TokenReviewStatus; +} +/* io.k8s.api.authentication.v1.TokenReviewSpec */ +/* TokenReviewSpec is a description of the token authentication request. */ +export interface TokenReviewSpec { + audiences?: string[]; + token?: string; +} +/* io.k8s.api.authentication.v1.TokenReviewStatus */ +/* TokenReviewStatus is the result of the token authentication request. */ +export interface TokenReviewStatus { + audiences?: string[]; + authenticated?: boolean; + error?: string; + user?: UserInfo; +} +/* io.k8s.api.authentication.v1.UserInfo */ +/* UserInfo holds the information about the user needed to implement the user.Info interface. */ +export interface UserInfo { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + uid?: string; + username?: string; +} +/* io.k8s.api.authorization.v1.FieldSelectorAttributes */ +/* FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. */ +export interface FieldSelectorAttributes { + rawSelector?: string; + requirements?: FieldSelectorRequirement[]; +} +/* io.k8s.api.authorization.v1.LabelSelectorAttributes */ +/* LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. */ +export interface LabelSelectorAttributes { + rawSelector?: string; + requirements?: LabelSelectorRequirement[]; +} +/* io.k8s.api.authorization.v1.LocalSubjectAccessReview */ +/* LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. */ +export interface LocalSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +/* io.k8s.api.authorization.v1.NonResourceAttributes */ +/* NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface */ +export interface NonResourceAttributes { + path?: string; + verb?: string; +} +/* io.k8s.api.authorization.v1.NonResourceRule */ +/* NonResourceRule holds information that describes a rule for the non-resource */ +export interface NonResourceRule { + nonResourceURLs?: string[]; + verbs: string[]; +} +/* io.k8s.api.authorization.v1.ResourceAttributes */ +/* ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface */ +export interface ResourceAttributes { + fieldSelector?: FieldSelectorAttributes; + group?: string; + labelSelector?: LabelSelectorAttributes; + name?: string; + namespace?: string; + resource?: string; + subresource?: string; + verb?: string; + version?: string; +} +/* io.k8s.api.authorization.v1.ResourceRule */ +/* ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete. */ +export interface ResourceRule { + apiGroups?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +/* io.k8s.api.authorization.v1.SelfSubjectAccessReview */ +/* SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action */ +export interface SelfSubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +/* io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec */ +/* SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set */ +export interface SelfSubjectAccessReviewSpec { + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; +} +/* io.k8s.api.authorization.v1.SelfSubjectRulesReview */ +/* SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. */ +export interface SelfSubjectRulesReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SelfSubjectRulesReviewSpec; + status?: SubjectRulesReviewStatus; +} +/* io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec */ +/* SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview. */ +export interface SelfSubjectRulesReviewSpec { + namespace?: string; +} +/* io.k8s.api.authorization.v1.SubjectAccessReview */ +/* SubjectAccessReview checks whether or not a user or group can perform an action. */ +export interface SubjectAccessReview { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: SubjectAccessReviewSpec; + status?: SubjectAccessReviewStatus; +} +/* io.k8s.api.authorization.v1.SubjectAccessReviewSpec */ +/* SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set */ +export interface SubjectAccessReviewSpec { + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + nonResourceAttributes?: NonResourceAttributes; + resourceAttributes?: ResourceAttributes; + uid?: string; + user?: string; +} +/* io.k8s.api.authorization.v1.SubjectAccessReviewStatus */ +/* SubjectAccessReviewStatus */ +export interface SubjectAccessReviewStatus { + allowed: boolean; + denied?: boolean; + evaluationError?: string; + reason?: string; +} +/* io.k8s.api.authorization.v1.SubjectRulesReviewStatus */ +/* SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete. */ +export interface SubjectRulesReviewStatus { + evaluationError?: string; + incomplete: boolean; + nonResourceRules: NonResourceRule[]; + resourceRules: ResourceRule[]; +} +/* io.k8s.api.autoscaling.v1.CrossVersionObjectReference */ +/* CrossVersionObjectReference contains enough information to let you identify the referred resource. */ +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler */ +/* configuration of a horizontal pod autoscaler. */ +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList */ +/* list of horizontal pod autoscaler objects. */ +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerSpec */ +/* specification of a horizontal pod autoscaler. */ +export interface HorizontalPodAutoscalerSpec { + maxReplicas: number; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; + targetCPUUtilizationPercentage?: number; +} +/* io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerStatus */ +/* current status of a horizontal pod autoscaler */ +export interface HorizontalPodAutoscalerStatus { + currentCPUUtilizationPercentage?: number; + currentReplicas: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +/* io.k8s.api.autoscaling.v1.Scale */ +/* Scale represents a scaling request for a resource. */ +export interface Scale { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ScaleSpec; + status?: ScaleStatus; +} +/* io.k8s.api.autoscaling.v1.ScaleSpec */ +/* ScaleSpec describes the attributes of a scale subresource. */ +export interface ScaleSpec { + replicas?: number; +} +/* io.k8s.api.autoscaling.v1.ScaleStatus */ +/* ScaleStatus represents the current status of a scale subresource. */ +export interface ScaleStatus { + replicas: number; + selector?: string; +} +/* io.k8s.api.autoscaling.v2.ContainerResourceMetricSource */ +/* ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set. */ +export interface ContainerResourceMetricSource { + container: string; + name: string; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ContainerResourceMetricStatus */ +/* ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. */ +export interface ContainerResourceMetricStatus { + container: string; + current: MetricValueStatus; + name: string; +} +/* io.k8s.api.autoscaling.v2.CrossVersionObjectReference */ +/* CrossVersionObjectReference contains enough information to let you identify the referred resource. */ +export interface CrossVersionObjectReference { + apiVersion?: string; + kind: string; + name: string; +} +/* io.k8s.api.autoscaling.v2.ExternalMetricSource */ +/* ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). */ +export interface ExternalMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ExternalMetricStatus */ +/* ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. */ +export interface ExternalMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +/* io.k8s.api.autoscaling.v2.HPAScalingPolicy */ +/* HPAScalingPolicy is a single policy which must hold true for a specified past interval. */ +export interface HPAScalingPolicy { + periodSeconds: number; + type: string; + value: number; +} +/* io.k8s.api.autoscaling.v2.HPAScalingRules */ +/* HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen. */ +export interface HPAScalingRules { + policies?: HPAScalingPolicy[]; + selectPolicy?: string; + stabilizationWindowSeconds?: number; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler */ +/* HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. */ +export interface HorizontalPodAutoscaler { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: HorizontalPodAutoscalerSpec; + status?: HorizontalPodAutoscalerStatus; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior */ +/* HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). */ +export interface HorizontalPodAutoscalerBehavior { + scaleDown?: HPAScalingRules; + scaleUp?: HPAScalingRules; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerCondition */ +/* HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. */ +export interface HorizontalPodAutoscalerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList */ +/* HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. */ +export interface HorizontalPodAutoscalerList { + apiVersion?: string; + items: HorizontalPodAutoscaler[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerSpec */ +/* HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. */ +export interface HorizontalPodAutoscalerSpec { + behavior?: HorizontalPodAutoscalerBehavior; + maxReplicas: number; + metrics?: MetricSpec[]; + minReplicas?: number; + scaleTargetRef: CrossVersionObjectReference; +} +/* io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerStatus */ +/* HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. */ +export interface HorizontalPodAutoscalerStatus { + conditions?: HorizontalPodAutoscalerCondition[]; + currentMetrics?: MetricStatus[]; + currentReplicas?: number; + desiredReplicas: number; + lastScaleTime?: Time; + observedGeneration?: number; +} +/* io.k8s.api.autoscaling.v2.MetricIdentifier */ +/* MetricIdentifier defines the name and optionally selector for a metric */ +export interface MetricIdentifier { + name: string; + selector?: LabelSelector; +} +/* io.k8s.api.autoscaling.v2.MetricSpec */ +/* MetricSpec specifies how to scale based on a single metric (only \`type\` and one other matching field should be set at once). */ +export interface MetricSpec { + containerResource?: ContainerResourceMetricSource; + external?: ExternalMetricSource; + object?: ObjectMetricSource; + pods?: PodsMetricSource; + resource?: ResourceMetricSource; + type: string; +} +/* io.k8s.api.autoscaling.v2.MetricStatus */ +/* MetricStatus describes the last-read state of a single metric. */ +export interface MetricStatus { + containerResource?: ContainerResourceMetricStatus; + external?: ExternalMetricStatus; + object?: ObjectMetricStatus; + pods?: PodsMetricStatus; + resource?: ResourceMetricStatus; + type: string; +} +/* io.k8s.api.autoscaling.v2.MetricTarget */ +/* MetricTarget defines the target value, average value, or average utilization of a specific metric */ +export interface MetricTarget { + averageUtilization?: number; + averageValue?: Quantity; + type: string; + value?: Quantity; +} +/* io.k8s.api.autoscaling.v2.MetricValueStatus */ +/* MetricValueStatus holds the current value for a metric */ +export interface MetricValueStatus { + averageUtilization?: number; + averageValue?: Quantity; + value?: Quantity; +} +/* io.k8s.api.autoscaling.v2.ObjectMetricSource */ +/* ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). */ +export interface ObjectMetricSource { + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ObjectMetricStatus */ +/* ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). */ +export interface ObjectMetricStatus { + current: MetricValueStatus; + describedObject: CrossVersionObjectReference; + metric: MetricIdentifier; +} +/* io.k8s.api.autoscaling.v2.PodsMetricSource */ +/* PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. */ +export interface PodsMetricSource { + metric: MetricIdentifier; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.PodsMetricStatus */ +/* PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). */ +export interface PodsMetricStatus { + current: MetricValueStatus; + metric: MetricIdentifier; +} +/* io.k8s.api.autoscaling.v2.ResourceMetricSource */ +/* ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set. */ +export interface ResourceMetricSource { + name: string; + target: MetricTarget; +} +/* io.k8s.api.autoscaling.v2.ResourceMetricStatus */ +/* ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. */ +export interface ResourceMetricStatus { + current: MetricValueStatus; + name: string; +} +/* io.k8s.api.batch.v1.CronJob */ +/* CronJob represents the configuration of a single cron job. */ +export interface CronJob { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: CronJobSpec; + status?: CronJobStatus; +} +/* io.k8s.api.batch.v1.CronJobList */ +/* CronJobList is a collection of cron jobs. */ +export interface CronJobList { + apiVersion?: string; + items: CronJob[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.batch.v1.CronJobSpec */ +/* CronJobSpec describes how the job execution will look like and when it will actually run. */ +export interface CronJobSpec { + concurrencyPolicy?: "Allow" | "Forbid" | "Replace"; + failedJobsHistoryLimit?: number; + jobTemplate: JobTemplateSpec; + schedule: string; + startingDeadlineSeconds?: number; + successfulJobsHistoryLimit?: number; + suspend?: boolean; + timeZone?: string; +} +/* io.k8s.api.batch.v1.CronJobStatus */ +/* CronJobStatus represents the current state of a cron job. */ +export interface CronJobStatus { + active?: ObjectReference[]; + lastScheduleTime?: Time; + lastSuccessfulTime?: Time; +} +/* io.k8s.api.batch.v1.Job */ +/* Job represents the configuration of a single job. */ +export interface Job { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: JobSpec; + status?: JobStatus; +} +/* io.k8s.api.batch.v1.JobCondition */ +/* JobCondition describes current state of a job. */ +export interface JobCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.batch.v1.JobList */ +/* JobList is a collection of jobs. */ +export interface JobList { + apiVersion?: string; + items: Job[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.batch.v1.JobSpec */ +/* JobSpec describes how the job execution will look like. */ +export interface JobSpec { + activeDeadlineSeconds?: number; + backoffLimit?: number; + backoffLimitPerIndex?: number; + completionMode?: "Indexed" | "NonIndexed"; + completions?: number; + managedBy?: string; + manualSelector?: boolean; + maxFailedIndexes?: number; + parallelism?: number; + podFailurePolicy?: PodFailurePolicy; + podReplacementPolicy?: "Failed" | "TerminatingOrFailed"; + selector?: LabelSelector; + successPolicy?: SuccessPolicy; + suspend?: boolean; + template: PodTemplateSpec; + ttlSecondsAfterFinished?: number; +} +/* io.k8s.api.batch.v1.JobStatus */ +/* JobStatus represents the current state of a Job. */ +export interface JobStatus { + active?: number; + completedIndexes?: string; + completionTime?: Time; + conditions?: JobCondition[]; + failed?: number; + failedIndexes?: string; + ready?: number; + startTime?: Time; + succeeded?: number; + terminating?: number; + uncountedTerminatedPods?: UncountedTerminatedPods; +} +/* io.k8s.api.batch.v1.JobTemplateSpec */ +/* JobTemplateSpec describes the data a Job should have when created from a template */ +export interface JobTemplateSpec { + metadata?: ObjectMeta; + spec?: JobSpec; +} +/* io.k8s.api.batch.v1.PodFailurePolicy */ +/* PodFailurePolicy describes how failed pods influence the backoffLimit. */ +export interface PodFailurePolicy { + rules: PodFailurePolicyRule[]; +} +/* io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement */ +/* PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check. */ +export interface PodFailurePolicyOnExitCodesRequirement { + containerName?: string; + operator: "In" | "NotIn"; + values: number[]; +} +/* io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern */ +/* PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type. */ +export interface PodFailurePolicyOnPodConditionsPattern { + status: string; + type: string; +} +/* io.k8s.api.batch.v1.PodFailurePolicyRule */ +/* PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule. */ +export interface PodFailurePolicyRule { + action: "Count" | "FailIndex" | "FailJob" | "Ignore"; + onExitCodes?: PodFailurePolicyOnExitCodesRequirement; + onPodConditions?: PodFailurePolicyOnPodConditionsPattern[]; +} +/* io.k8s.api.batch.v1.SuccessPolicy */ +/* SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes. */ +export interface SuccessPolicy { + rules: SuccessPolicyRule[]; +} +/* io.k8s.api.batch.v1.SuccessPolicyRule */ +/* SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified. */ +export interface SuccessPolicyRule { + succeededCount?: number; + succeededIndexes?: string; +} +/* io.k8s.api.batch.v1.UncountedTerminatedPods */ +/* UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters. */ +export interface UncountedTerminatedPods { + failed?: string[]; + succeeded?: string[]; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequest */ +/* CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. + +Kubelets use this API to obtain: + 1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName). + 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName). + +This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers. */ +export interface CertificateSigningRequest { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CertificateSigningRequestSpec; + status?: CertificateSigningRequestStatus; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestCondition */ +/* CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object */ +export interface CertificateSigningRequestCondition { + lastTransitionTime?: Time; + lastUpdateTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestList */ +/* CertificateSigningRequestList is a collection of CertificateSigningRequest objects */ +export interface CertificateSigningRequestList { + apiVersion?: string; + items: CertificateSigningRequest[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestSpec */ +/* CertificateSigningRequestSpec contains the certificate request. */ +export interface CertificateSigningRequestSpec { + expirationSeconds?: number; + extra?: { + [key: string]: unknown; + }; + groups?: string[]; + request: string; + signerName: string; + uid?: string; + usages?: ("any" | "cert sign" | "client auth" | "code signing" | "content commitment" | "crl sign" | "data encipherment" | "decipher only" | "digital signature" | "email protection" | "encipher only" | "ipsec end system" | "ipsec tunnel" | "ipsec user" | "key agreement" | "key encipherment" | "microsoft sgc" | "netscape sgc" | "ocsp signing" | "s/mime" | "server auth" | "signing" | "timestamping")[]; + username?: string; +} +/* io.k8s.api.certificates.v1.CertificateSigningRequestStatus */ +/* CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate. */ +export interface CertificateSigningRequestStatus { + certificate?: string; + conditions?: CertificateSigningRequestCondition[]; +} +/* io.k8s.api.coordination.v1.Lease */ +/* Lease defines a lease concept. */ +export interface Lease { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LeaseSpec; +} +/* io.k8s.api.coordination.v1.LeaseList */ +/* LeaseList is a list of Lease objects. */ +export interface LeaseList { + apiVersion?: string; + items: Lease[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.coordination.v1.LeaseSpec */ +/* LeaseSpec is a specification of a Lease. */ +export interface LeaseSpec { + acquireTime?: MicroTime; + holderIdentity?: string; + leaseDurationSeconds?: number; + leaseTransitions?: number; + preferredHolder?: string; + renewTime?: MicroTime; + strategy?: string; +} +/* io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource */ +/* Represents a Persistent Disk resource in AWS. + +An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling. */ +export interface AWSElasticBlockStoreVolumeSource { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; +} +/* io.k8s.api.core.v1.Affinity */ +/* Affinity is a group of affinity scheduling rules. */ +export interface Affinity { + nodeAffinity?: NodeAffinity; + podAffinity?: PodAffinity; + podAntiAffinity?: PodAntiAffinity; +} +/* io.k8s.api.core.v1.AppArmorProfile */ +/* AppArmorProfile defines a pod or container's AppArmor settings. */ +export interface AppArmorProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +/* io.k8s.api.core.v1.AttachedVolume */ +/* AttachedVolume describes a volume attached to a node */ +export interface AttachedVolume { + devicePath: string; + name: string; +} +/* io.k8s.api.core.v1.AzureDiskVolumeSource */ +/* AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. */ +export interface AzureDiskVolumeSource { + cachingMode?: "None" | "ReadOnly" | "ReadWrite"; + diskName: string; + diskURI: string; + fsType?: string; + kind?: "Dedicated" | "Managed" | "Shared"; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.AzureFilePersistentVolumeSource */ +/* AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */ +export interface AzureFilePersistentVolumeSource { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; +} +/* io.k8s.api.core.v1.AzureFileVolumeSource */ +/* AzureFile represents an Azure File Service mount on the host and bind mount to the pod. */ +export interface AzureFileVolumeSource { + readOnly?: boolean; + secretName: string; + shareName: string; +} +/* io.k8s.api.core.v1.Binding */ +/* Binding ties one object to another; for example, a pod is bound to a node by a scheduler. */ +export interface Binding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + target: ObjectReference; +} +/* io.k8s.api.core.v1.CSIPersistentVolumeSource */ +/* Represents storage that is managed by an external CSI volume driver */ +export interface CSIPersistentVolumeSource { + controllerExpandSecretRef?: SecretReference; + controllerPublishSecretRef?: SecretReference; + driver: string; + fsType?: string; + nodeExpandSecretRef?: SecretReference; + nodePublishSecretRef?: SecretReference; + nodeStageSecretRef?: SecretReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; + volumeHandle: string; +} +/* io.k8s.api.core.v1.CSIVolumeSource */ +/* Represents a source location of a volume to mount, managed by an external CSI driver */ +export interface CSIVolumeSource { + driver: string; + fsType?: string; + nodePublishSecretRef?: LocalObjectReference; + readOnly?: boolean; + volumeAttributes?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.Capabilities */ +/* Adds and removes POSIX capabilities from running containers. */ +export interface Capabilities { + add?: string[]; + drop?: string[]; +} +/* io.k8s.api.core.v1.CephFSPersistentVolumeSource */ +/* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */ +export interface CephFSPersistentVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: SecretReference; + user?: string; +} +/* io.k8s.api.core.v1.CephFSVolumeSource */ +/* Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. */ +export interface CephFSVolumeSource { + monitors: string[]; + path?: string; + readOnly?: boolean; + secretFile?: string; + secretRef?: LocalObjectReference; + user?: string; +} +/* io.k8s.api.core.v1.CinderPersistentVolumeSource */ +/* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */ +export interface CinderPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: SecretReference; + volumeID: string; +} +/* io.k8s.api.core.v1.CinderVolumeSource */ +/* Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. */ +export interface CinderVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeID: string; +} +/* io.k8s.api.core.v1.ClientIPConfig */ +/* ClientIPConfig represents the configurations of Client IP based session affinity. */ +export interface ClientIPConfig { + timeoutSeconds?: number; +} +/* io.k8s.api.core.v1.ClusterTrustBundleProjection */ +/* ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem. */ +export interface ClusterTrustBundleProjection { + labelSelector?: LabelSelector; + name?: string; + optional?: boolean; + path: string; + signerName?: string; +} +/* io.k8s.api.core.v1.ComponentCondition */ +/* Information about the condition of a component. */ +export interface ComponentCondition { + error?: string; + message?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.ComponentStatus */ +/* ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+ */ +export interface ComponentStatus { + apiVersion?: string; + conditions?: ComponentCondition[]; + kind?: string; + metadata?: ObjectMeta; +} +/* io.k8s.api.core.v1.ComponentStatusList */ +/* Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+ */ +export interface ComponentStatusList { + apiVersion?: string; + items: ComponentStatus[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ConfigMap */ +/* ConfigMap holds configuration data for pods to consume. */ +export interface ConfigMap { + apiVersion?: string; + binaryData?: { + [key: string]: unknown; + }; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; +} +/* io.k8s.api.core.v1.ConfigMapEnvSource */ +/* ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. + +The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. */ +export interface ConfigMapEnvSource { + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.ConfigMapKeySelector */ +/* Selects a key from a ConfigMap. */ +export interface ConfigMapKeySelector { + key: string; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.ConfigMapList */ +/* ConfigMapList is a resource containing a list of ConfigMap objects. */ +export interface ConfigMapList { + apiVersion?: string; + items: ConfigMap[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ConfigMapNodeConfigSource */ +/* ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration */ +export interface ConfigMapNodeConfigSource { + kubeletConfigKey: string; + name: string; + namespace: string; + resourceVersion?: string; + uid?: string; +} +/* io.k8s.api.core.v1.ConfigMapProjection */ +/* Adapts a ConfigMap into a projected volume. + +The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. */ +export interface ConfigMapProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.ConfigMapVolumeSource */ +/* Adapts a ConfigMap into a volume. + +The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. */ +export interface ConfigMapVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.Container */ +/* A single application container that you want to run within a pod. */ +export interface Container { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +/* io.k8s.api.core.v1.ContainerImage */ +/* Describe a container image */ +export interface ContainerImage { + names?: string[]; + sizeBytes?: number; +} +/* io.k8s.api.core.v1.ContainerPort */ +/* ContainerPort represents a network port in a single container. */ +export interface ContainerPort { + containerPort: number; + hostIP?: string; + hostPort?: number; + name?: string; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.core.v1.ContainerResizePolicy */ +/* ContainerResizePolicy represents resource resize policy for the container. */ +export interface ContainerResizePolicy { + resourceName: string; + restartPolicy: string; +} +/* io.k8s.api.core.v1.ContainerState */ +/* 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. */ +export interface ContainerState { + running?: ContainerStateRunning; + terminated?: ContainerStateTerminated; + waiting?: ContainerStateWaiting; +} +/* io.k8s.api.core.v1.ContainerStateRunning */ +/* ContainerStateRunning is a running state of a container. */ +export interface ContainerStateRunning { + startedAt?: Time; +} +/* io.k8s.api.core.v1.ContainerStateTerminated */ +/* ContainerStateTerminated is a terminated state of a container. */ +export interface ContainerStateTerminated { + containerID?: string; + exitCode: number; + finishedAt?: Time; + message?: string; + reason?: string; + signal?: number; + startedAt?: Time; +} +/* io.k8s.api.core.v1.ContainerStateWaiting */ +/* ContainerStateWaiting is a waiting state of a container. */ +export interface ContainerStateWaiting { + message?: string; + reason?: string; +} +/* io.k8s.api.core.v1.ContainerStatus */ +/* ContainerStatus contains details for the current status of this container. */ +export interface ContainerStatus { + allocatedResources?: { + [key: string]: unknown; + }; + allocatedResourcesStatus?: ResourceStatus[]; + containerID?: string; + image: string; + imageID: string; + lastState?: ContainerState; + name: string; + ready: boolean; + resources?: ResourceRequirements; + restartCount: number; + started?: boolean; + state?: ContainerState; + user?: ContainerUser; + volumeMounts?: VolumeMountStatus[]; +} +/* io.k8s.api.core.v1.ContainerUser */ +/* ContainerUser represents user identity information */ +export interface ContainerUser { + linux?: LinuxContainerUser; +} +/* io.k8s.api.core.v1.DaemonEndpoint */ +/* DaemonEndpoint contains information about a single Daemon endpoint. */ +export interface DaemonEndpoint { + Port: number; +} +/* io.k8s.api.core.v1.DownwardAPIProjection */ +/* Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. */ +export interface DownwardAPIProjection { + items?: DownwardAPIVolumeFile[]; +} +/* io.k8s.api.core.v1.DownwardAPIVolumeFile */ +/* DownwardAPIVolumeFile represents information to create the file containing the pod field */ +export interface DownwardAPIVolumeFile { + fieldRef?: ObjectFieldSelector; + mode?: number; + path: string; + resourceFieldRef?: ResourceFieldSelector; +} +/* io.k8s.api.core.v1.DownwardAPIVolumeSource */ +/* DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. */ +export interface DownwardAPIVolumeSource { + defaultMode?: number; + items?: DownwardAPIVolumeFile[]; +} +/* io.k8s.api.core.v1.EmptyDirVolumeSource */ +/* Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. */ +export interface EmptyDirVolumeSource { + medium?: string; + sizeLimit?: Quantity; +} +/* io.k8s.api.core.v1.EndpointAddress */ +/* EndpointAddress is a tuple that describes single IP address. */ +export interface EndpointAddress { + hostname?: string; + ip: string; + nodeName?: string; + targetRef?: ObjectReference; +} +/* io.k8s.api.core.v1.EndpointPort */ +/* EndpointPort is a tuple that describes a single port. */ +export interface EndpointPort { + appProtocol?: string; + name?: string; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.core.v1.EndpointSubset */ +/* EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: + + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + } + +The resulting set of endpoints can be viewed as: + + a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], + b: [ 10.10.1.1:309, 10.10.2.2:309 ] */ +export interface EndpointSubset { + addresses?: EndpointAddress[]; + notReadyAddresses?: EndpointAddress[]; + ports?: EndpointPort[]; +} +/* io.k8s.api.core.v1.Endpoints */ +/* Endpoints is a collection of endpoints that implement the actual service. Example: + + Name: "mysvc", + Subsets: [ + { + Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], + Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] + }, + { + Addresses: [{"ip": "10.10.3.3"}], + Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] + }, + ] */ +export interface Endpoints { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + subsets?: EndpointSubset[]; +} +/* io.k8s.api.core.v1.EndpointsList */ +/* EndpointsList is a list of endpoints. */ +export interface EndpointsList { + apiVersion?: string; + items: Endpoints[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.EnvFromSource */ +/* EnvFromSource represents the source of a set of ConfigMaps */ +export interface EnvFromSource { + configMapRef?: ConfigMapEnvSource; + prefix?: string; + secretRef?: SecretEnvSource; +} +/* io.k8s.api.core.v1.EnvVar */ +/* EnvVar represents an environment variable present in a Container. */ +export interface EnvVar { + name: string; + value?: string; + valueFrom?: EnvVarSource; +} +/* io.k8s.api.core.v1.EnvVarSource */ +/* EnvVarSource represents a source for the value of an EnvVar. */ +export interface EnvVarSource { + configMapKeyRef?: ConfigMapKeySelector; + fieldRef?: ObjectFieldSelector; + resourceFieldRef?: ResourceFieldSelector; + secretKeyRef?: SecretKeySelector; +} +/* io.k8s.api.core.v1.EphemeralContainer */ +/* An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. + +To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. */ +export interface EphemeralContainer { + args?: string[]; + command?: string[]; + env?: EnvVar[]; + envFrom?: EnvFromSource[]; + image?: string; + imagePullPolicy?: "Always" | "IfNotPresent" | "Never"; + lifecycle?: Lifecycle; + livenessProbe?: Probe; + name: string; + ports?: ContainerPort[]; + readinessProbe?: Probe; + resizePolicy?: ContainerResizePolicy[]; + resources?: ResourceRequirements; + restartPolicy?: string; + securityContext?: SecurityContext; + startupProbe?: Probe; + stdin?: boolean; + stdinOnce?: boolean; + targetContainerName?: string; + terminationMessagePath?: string; + terminationMessagePolicy?: "FallbackToLogsOnError" | "File"; + tty?: boolean; + volumeDevices?: VolumeDevice[]; + volumeMounts?: VolumeMount[]; + workingDir?: string; +} +/* io.k8s.api.core.v1.EphemeralVolumeSource */ +/* Represents an ephemeral volume that is handled by a normal storage driver. */ +export interface EphemeralVolumeSource { + volumeClaimTemplate?: PersistentVolumeClaimTemplate; +} +/* io.k8s.api.core.v1.Event */ +/* Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. */ +export interface Event { + action?: string; + apiVersion?: string; + count?: number; + eventTime?: MicroTime; + firstTimestamp?: Time; + involvedObject: ObjectReference; + kind?: string; + lastTimestamp?: Time; + message?: string; + metadata: ObjectMeta; + reason?: string; + related?: ObjectReference; + reportingComponent?: string; + reportingInstance?: string; + series?: EventSeries; + source?: EventSource; + type?: string; +} +/* io.k8s.api.core.v1.EventList */ +/* EventList is a list of events. */ +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.EventSeries */ +/* EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. */ +export interface EventSeries { + count?: number; + lastObservedTime?: MicroTime; +} +/* io.k8s.api.core.v1.EventSource */ +/* EventSource contains information for an event. */ +export interface EventSource { + component?: string; + host?: string; +} +/* io.k8s.api.core.v1.ExecAction */ +/* ExecAction describes a "run in container" action. */ +export interface ExecAction { + command?: string[]; +} +/* io.k8s.api.core.v1.FCVolumeSource */ +/* Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. */ +export interface FCVolumeSource { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: string[]; + wwids?: string[]; +} +/* io.k8s.api.core.v1.FlexPersistentVolumeSource */ +/* FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. */ +export interface FlexPersistentVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: SecretReference; +} +/* io.k8s.api.core.v1.FlexVolumeSource */ +/* FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. */ +export interface FlexVolumeSource { + driver: string; + fsType?: string; + options?: { + [key: string]: unknown; + }; + readOnly?: boolean; + secretRef?: LocalObjectReference; +} +/* io.k8s.api.core.v1.FlockerVolumeSource */ +/* Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. */ +export interface FlockerVolumeSource { + datasetName?: string; + datasetUUID?: string; +} +/* io.k8s.api.core.v1.GCEPersistentDiskVolumeSource */ +/* Represents a Persistent Disk resource in Google Compute Engine. + +A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. */ +export interface GCEPersistentDiskVolumeSource { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.GRPCAction */ +/* GRPCAction specifies an action involving a GRPC service. */ +export interface GRPCAction { + port: number; + service?: string; +} +/* io.k8s.api.core.v1.GitRepoVolumeSource */ +/* Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. + +DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. */ +export interface GitRepoVolumeSource { + directory?: string; + repository: string; + revision?: string; +} +/* io.k8s.api.core.v1.GlusterfsPersistentVolumeSource */ +/* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */ +export interface GlusterfsPersistentVolumeSource { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.GlusterfsVolumeSource */ +/* Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. */ +export interface GlusterfsVolumeSource { + endpoints: string; + path: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.HTTPGetAction */ +/* HTTPGetAction describes an action based on HTTP Get requests. */ +export interface HTTPGetAction { + host?: string; + httpHeaders?: HTTPHeader[]; + path?: string; + port: IntOrString; + scheme?: "HTTP" | "HTTPS"; +} +/* io.k8s.api.core.v1.HTTPHeader */ +/* HTTPHeader describes a custom header to be used in HTTP probes */ +export interface HTTPHeader { + name: string; + value: string; +} +/* io.k8s.api.core.v1.HostAlias */ +/* HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. */ +export interface HostAlias { + hostnames?: string[]; + ip: string; +} +/* io.k8s.api.core.v1.HostIP */ +/* HostIP represents a single IP address allocated to the host. */ +export interface HostIP { + ip: string; +} +/* io.k8s.api.core.v1.HostPathVolumeSource */ +/* Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. */ +export interface HostPathVolumeSource { + path: string; + type?: "" | "BlockDevice" | "CharDevice" | "Directory" | "DirectoryOrCreate" | "File" | "FileOrCreate" | "Socket"; +} +/* io.k8s.api.core.v1.ISCSIPersistentVolumeSource */ +/* ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */ +export interface ISCSIPersistentVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: SecretReference; + targetPortal: string; +} +/* io.k8s.api.core.v1.ISCSIVolumeSource */ +/* Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. */ +export interface ISCSIVolumeSource { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: string[]; + readOnly?: boolean; + secretRef?: LocalObjectReference; + targetPortal: string; +} +/* io.k8s.api.core.v1.ImageVolumeSource */ +/* ImageVolumeSource represents a image volume resource. */ +export interface ImageVolumeSource { + pullPolicy?: "Always" | "IfNotPresent" | "Never"; + reference?: string; +} +/* io.k8s.api.core.v1.KeyToPath */ +/* Maps a string key to a path within a volume. */ +export interface KeyToPath { + key: string; + mode?: number; + path: string; +} +/* io.k8s.api.core.v1.Lifecycle */ +/* Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */ +export interface Lifecycle { + postStart?: LifecycleHandler; + preStop?: LifecycleHandler; +} +/* io.k8s.api.core.v1.LifecycleHandler */ +/* LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. */ +export interface LifecycleHandler { + exec?: ExecAction; + httpGet?: HTTPGetAction; + sleep?: SleepAction; + tcpSocket?: TCPSocketAction; +} +/* io.k8s.api.core.v1.LimitRange */ +/* LimitRange sets resource usage limits for each kind of resource in a Namespace. */ +export interface LimitRange { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: LimitRangeSpec; +} +/* io.k8s.api.core.v1.LimitRangeItem */ +/* LimitRangeItem defines a min/max usage limit for any resource that matches on kind. */ +export interface LimitRangeItem { + default?: { + [key: string]: unknown; + }; + defaultRequest?: { + [key: string]: unknown; + }; + max?: { + [key: string]: unknown; + }; + maxLimitRequestRatio?: { + [key: string]: unknown; + }; + min?: { + [key: string]: unknown; + }; + type: string; +} +/* io.k8s.api.core.v1.LimitRangeList */ +/* LimitRangeList is a list of LimitRange items. */ +export interface LimitRangeList { + apiVersion?: string; + items: LimitRange[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.LimitRangeSpec */ +/* LimitRangeSpec defines a min/max usage limit for resources that match on kind. */ +export interface LimitRangeSpec { + limits: LimitRangeItem[]; +} +/* io.k8s.api.core.v1.LinuxContainerUser */ +/* LinuxContainerUser represents user identity information in Linux containers */ +export interface LinuxContainerUser { + gid: number; + supplementalGroups?: number[]; + uid: number; +} +/* io.k8s.api.core.v1.LoadBalancerIngress */ +/* LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. */ +export interface LoadBalancerIngress { + hostname?: string; + ip?: string; + ipMode?: string; + ports?: PortStatus[]; +} +/* io.k8s.api.core.v1.LoadBalancerStatus */ +/* LoadBalancerStatus represents the status of a load-balancer. */ +export interface LoadBalancerStatus { + ingress?: LoadBalancerIngress[]; +} +/* io.k8s.api.core.v1.LocalObjectReference */ +/* LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. */ +export interface LocalObjectReference { + name?: string; +} +/* io.k8s.api.core.v1.LocalVolumeSource */ +/* Local represents directly-attached storage with node affinity */ +export interface LocalVolumeSource { + fsType?: string; + path: string; +} +/* io.k8s.api.core.v1.ModifyVolumeStatus */ +/* ModifyVolumeStatus represents the status object of ControllerModifyVolume operation */ +export interface ModifyVolumeStatus { + status: "InProgress" | "Infeasible" | "Pending"; + targetVolumeAttributesClassName?: string; +} +/* io.k8s.api.core.v1.NFSVolumeSource */ +/* Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. */ +export interface NFSVolumeSource { + path: string; + readOnly?: boolean; + server: string; +} +/* io.k8s.api.core.v1.Namespace */ +/* Namespace provides a scope for Names. Use of multiple namespaces is optional. */ +export interface Namespace { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NamespaceSpec; + status?: NamespaceStatus; +} +/* io.k8s.api.core.v1.NamespaceCondition */ +/* NamespaceCondition contains details about state of namespace. */ +export interface NamespaceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.NamespaceList */ +/* NamespaceList is a list of Namespaces. */ +export interface NamespaceList { + apiVersion?: string; + items: Namespace[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.NamespaceSpec */ +/* NamespaceSpec describes the attributes on a Namespace. */ +export interface NamespaceSpec { + finalizers?: string[]; +} +/* io.k8s.api.core.v1.NamespaceStatus */ +/* NamespaceStatus is information about the current status of a Namespace. */ +export interface NamespaceStatus { + conditions?: NamespaceCondition[]; + phase?: "Active" | "Terminating"; +} +/* io.k8s.api.core.v1.Node */ +/* Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). */ +export interface Node { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NodeSpec; + status?: NodeStatus; +} +/* io.k8s.api.core.v1.NodeAddress */ +/* NodeAddress contains information for the node's address. */ +export interface NodeAddress { + address: string; + type: string; +} +/* io.k8s.api.core.v1.NodeAffinity */ +/* Node affinity is a group of node affinity scheduling rules. */ +export interface NodeAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: PreferredSchedulingTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: NodeSelector; +} +/* io.k8s.api.core.v1.NodeCondition */ +/* NodeCondition contains condition information for a node. */ +export interface NodeCondition { + lastHeartbeatTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.NodeConfigSource */ +/* NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22 */ +export interface NodeConfigSource { + configMap?: ConfigMapNodeConfigSource; +} +/* io.k8s.api.core.v1.NodeConfigStatus */ +/* NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. */ +export interface NodeConfigStatus { + active?: NodeConfigSource; + assigned?: NodeConfigSource; + error?: string; + lastKnownGood?: NodeConfigSource; +} +/* io.k8s.api.core.v1.NodeDaemonEndpoints */ +/* NodeDaemonEndpoints lists ports opened by daemons running on the Node. */ +export interface NodeDaemonEndpoints { + kubeletEndpoint?: DaemonEndpoint; +} +/* io.k8s.api.core.v1.NodeFeatures */ +/* NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers. */ +export interface NodeFeatures { + supplementalGroupsPolicy?: boolean; +} +/* io.k8s.api.core.v1.NodeList */ +/* NodeList is the whole list of all Nodes which have been registered with master. */ +export interface NodeList { + apiVersion?: string; + items: Node[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.NodeRuntimeHandler */ +/* NodeRuntimeHandler is a set of runtime handler information. */ +export interface NodeRuntimeHandler { + features?: NodeRuntimeHandlerFeatures; + name?: string; +} +/* io.k8s.api.core.v1.NodeRuntimeHandlerFeatures */ +/* NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler. */ +export interface NodeRuntimeHandlerFeatures { + recursiveReadOnlyMounts?: boolean; + userNamespaces?: boolean; +} +/* io.k8s.api.core.v1.NodeSelector */ +/* A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. */ +export interface NodeSelector { + nodeSelectorTerms: NodeSelectorTerm[]; +} +/* io.k8s.api.core.v1.NodeSelectorRequirement */ +/* A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */ +export interface NodeSelectorRequirement { + key: string; + operator: "DoesNotExist" | "Exists" | "Gt" | "In" | "Lt" | "NotIn"; + values?: string[]; +} +/* io.k8s.api.core.v1.NodeSelectorTerm */ +/* A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. */ +export interface NodeSelectorTerm { + matchExpressions?: NodeSelectorRequirement[]; + matchFields?: NodeSelectorRequirement[]; +} +/* io.k8s.api.core.v1.NodeSpec */ +/* NodeSpec describes the attributes that a node is created with. */ +export interface NodeSpec { + configSource?: NodeConfigSource; + externalID?: string; + podCIDR?: string; + podCIDRs?: string[]; + providerID?: string; + taints?: Taint[]; + unschedulable?: boolean; +} +/* io.k8s.api.core.v1.NodeStatus */ +/* NodeStatus is information about the current status of a node. */ +export interface NodeStatus { + addresses?: NodeAddress[]; + allocatable?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: NodeCondition[]; + config?: NodeConfigStatus; + daemonEndpoints?: NodeDaemonEndpoints; + features?: NodeFeatures; + images?: ContainerImage[]; + nodeInfo?: NodeSystemInfo; + phase?: "Pending" | "Running" | "Terminated"; + runtimeHandlers?: NodeRuntimeHandler[]; + volumesAttached?: AttachedVolume[]; + volumesInUse?: string[]; +} +/* io.k8s.api.core.v1.NodeSystemInfo */ +/* NodeSystemInfo is a set of ids/uuids to uniquely identify the node. */ +export interface NodeSystemInfo { + architecture: string; + bootID: string; + containerRuntimeVersion: string; + kernelVersion: string; + kubeProxyVersion: string; + kubeletVersion: string; + machineID: string; + operatingSystem: string; + osImage: string; + systemUUID: string; +} +/* io.k8s.api.core.v1.ObjectFieldSelector */ +/* ObjectFieldSelector selects an APIVersioned field of an object. */ +export interface ObjectFieldSelector { + apiVersion?: string; + fieldPath: string; +} +/* io.k8s.api.core.v1.ObjectReference */ +/* ObjectReference contains enough information to let you inspect or modify the referred object. */ +export interface ObjectReference { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; +} +/* io.k8s.api.core.v1.PersistentVolume */ +/* PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes */ +export interface PersistentVolume { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeSpec; + status?: PersistentVolumeStatus; +} +/* io.k8s.api.core.v1.PersistentVolumeClaim */ +/* PersistentVolumeClaim is a user's request for and claim to a persistent volume */ +export interface PersistentVolumeClaim { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PersistentVolumeClaimSpec; + status?: PersistentVolumeClaimStatus; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimCondition */ +/* PersistentVolumeClaimCondition contains details about state of pvc */ +export interface PersistentVolumeClaimCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimList */ +/* PersistentVolumeClaimList is a list of PersistentVolumeClaim items. */ +export interface PersistentVolumeClaimList { + apiVersion?: string; + items: PersistentVolumeClaim[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimSpec */ +/* PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes */ +export interface PersistentVolumeClaimSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + dataSource?: TypedLocalObjectReference; + dataSourceRef?: TypedObjectReference; + resources?: VolumeResourceRequirements; + selector?: LabelSelector; + storageClassName?: string; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + volumeName?: string; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimStatus */ +/* PersistentVolumeClaimStatus is the current status of a persistent volume claim. */ +export interface PersistentVolumeClaimStatus { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + allocatedResourceStatuses?: { + [key: string]: unknown; + }; + allocatedResources?: { + [key: string]: unknown; + }; + capacity?: { + [key: string]: unknown; + }; + conditions?: PersistentVolumeClaimCondition[]; + currentVolumeAttributesClassName?: string; + modifyVolumeStatus?: ModifyVolumeStatus; + phase?: "Bound" | "Lost" | "Pending"; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimTemplate */ +/* PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. */ +export interface PersistentVolumeClaimTemplate { + metadata?: ObjectMeta; + spec: PersistentVolumeClaimSpec; +} +/* io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource */ +/* PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). */ +export interface PersistentVolumeClaimVolumeSource { + claimName: string; + readOnly?: boolean; +} +/* io.k8s.api.core.v1.PersistentVolumeList */ +/* PersistentVolumeList is a list of PersistentVolume items. */ +export interface PersistentVolumeList { + apiVersion?: string; + items: PersistentVolume[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PersistentVolumeSpec */ +/* PersistentVolumeSpec is the specification of a persistent volume. */ +export interface PersistentVolumeSpec { + accessModes?: ("ReadOnlyMany" | "ReadWriteMany" | "ReadWriteOnce" | "ReadWriteOncePod")[]; + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFilePersistentVolumeSource; + capacity?: { + [key: string]: unknown; + }; + cephfs?: CephFSPersistentVolumeSource; + cinder?: CinderPersistentVolumeSource; + claimRef?: ObjectReference; + csi?: CSIPersistentVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexPersistentVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + glusterfs?: GlusterfsPersistentVolumeSource; + hostPath?: HostPathVolumeSource; + iscsi?: ISCSIPersistentVolumeSource; + local?: LocalVolumeSource; + mountOptions?: string[]; + nfs?: NFSVolumeSource; + nodeAffinity?: VolumeNodeAffinity; + persistentVolumeReclaimPolicy?: "Delete" | "Recycle" | "Retain"; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDPersistentVolumeSource; + scaleIO?: ScaleIOPersistentVolumeSource; + storageClassName?: string; + storageos?: StorageOSPersistentVolumeSource; + volumeAttributesClassName?: string; + volumeMode?: "Block" | "Filesystem"; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +/* io.k8s.api.core.v1.PersistentVolumeStatus */ +/* PersistentVolumeStatus is the current status of a persistent volume. */ +export interface PersistentVolumeStatus { + lastPhaseTransitionTime?: Time; + message?: string; + phase?: "Available" | "Bound" | "Failed" | "Pending" | "Released"; + reason?: string; +} +/* io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource */ +/* Represents a Photon Controller persistent disk resource. */ +export interface PhotonPersistentDiskVolumeSource { + fsType?: string; + pdID: string; +} +/* io.k8s.api.core.v1.Pod */ +/* Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. */ +export interface Pod { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodSpec; + status?: PodStatus; +} +/* io.k8s.api.core.v1.PodAffinity */ +/* Pod affinity is a group of inter pod affinity scheduling rules. */ +export interface PodAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +/* io.k8s.api.core.v1.PodAffinityTerm */ +/* Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running */ +export interface PodAffinityTerm { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + mismatchLabelKeys?: string[]; + namespaceSelector?: LabelSelector; + namespaces?: string[]; + topologyKey: string; +} +/* io.k8s.api.core.v1.PodAntiAffinity */ +/* Pod anti affinity is a group of inter pod anti affinity scheduling rules. */ +export interface PodAntiAffinity { + preferredDuringSchedulingIgnoredDuringExecution?: WeightedPodAffinityTerm[]; + requiredDuringSchedulingIgnoredDuringExecution?: PodAffinityTerm[]; +} +/* io.k8s.api.core.v1.PodCondition */ +/* PodCondition contains details for the current condition of this pod. */ +export interface PodCondition { + lastProbeTime?: Time; + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.PodDNSConfig */ +/* PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. */ +export interface PodDNSConfig { + nameservers?: string[]; + options?: PodDNSConfigOption[]; + searches?: string[]; +} +/* io.k8s.api.core.v1.PodDNSConfigOption */ +/* PodDNSConfigOption defines DNS resolver options of a pod. */ +export interface PodDNSConfigOption { + name?: string; + value?: string; +} +/* io.k8s.api.core.v1.PodIP */ +/* PodIP represents a single IP address allocated to the pod. */ +export interface PodIP { + ip: string; +} +/* io.k8s.api.core.v1.PodList */ +/* PodList is a list of Pods. */ +export interface PodList { + apiVersion?: string; + items: Pod[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PodOS */ +/* PodOS defines the OS parameters of a pod. */ +export interface PodOS { + name: string; +} +/* io.k8s.api.core.v1.PodReadinessGate */ +/* PodReadinessGate contains the reference to a pod condition */ +export interface PodReadinessGate { + conditionType: string; +} +/* io.k8s.api.core.v1.PodResourceClaim */ +/* PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. + +It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. */ +export interface PodResourceClaim { + name: string; + resourceClaimName?: string; + resourceClaimTemplateName?: string; +} +/* io.k8s.api.core.v1.PodResourceClaimStatus */ +/* PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim. */ +export interface PodResourceClaimStatus { + name: string; + resourceClaimName?: string; +} +/* io.k8s.api.core.v1.PodSchedulingGate */ +/* PodSchedulingGate is associated to a Pod to guard its scheduling. */ +export interface PodSchedulingGate { + name: string; +} +/* io.k8s.api.core.v1.PodSecurityContext */ +/* PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. */ +export interface PodSecurityContext { + appArmorProfile?: AppArmorProfile; + fsGroup?: number; + fsGroupChangePolicy?: "Always" | "OnRootMismatch"; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxChangePolicy?: string; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + supplementalGroups?: number[]; + supplementalGroupsPolicy?: "Merge" | "Strict"; + sysctls?: Sysctl[]; + windowsOptions?: WindowsSecurityContextOptions; +} +/* io.k8s.api.core.v1.PodSpec */ +/* PodSpec is a description of a pod. */ +export interface PodSpec { + activeDeadlineSeconds?: number; + affinity?: Affinity; + automountServiceAccountToken?: boolean; + containers: Container[]; + dnsConfig?: PodDNSConfig; + dnsPolicy?: "ClusterFirst" | "ClusterFirstWithHostNet" | "Default" | "None"; + enableServiceLinks?: boolean; + ephemeralContainers?: EphemeralContainer[]; + hostAliases?: HostAlias[]; + hostIPC?: boolean; + hostNetwork?: boolean; + hostPID?: boolean; + hostUsers?: boolean; + hostname?: string; + imagePullSecrets?: LocalObjectReference[]; + initContainers?: Container[]; + nodeName?: string; + nodeSelector?: { + [key: string]: unknown; + }; + os?: PodOS; + overhead?: { + [key: string]: unknown; + }; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + priority?: number; + priorityClassName?: string; + readinessGates?: PodReadinessGate[]; + resourceClaims?: PodResourceClaim[]; + resources?: ResourceRequirements; + restartPolicy?: "Always" | "Never" | "OnFailure"; + runtimeClassName?: string; + schedulerName?: string; + schedulingGates?: PodSchedulingGate[]; + securityContext?: PodSecurityContext; + serviceAccount?: string; + serviceAccountName?: string; + setHostnameAsFQDN?: boolean; + shareProcessNamespace?: boolean; + subdomain?: string; + terminationGracePeriodSeconds?: number; + tolerations?: Toleration[]; + topologySpreadConstraints?: TopologySpreadConstraint[]; + volumes?: Volume[]; +} +/* io.k8s.api.core.v1.PodStatus */ +/* PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. */ +export interface PodStatus { + conditions?: PodCondition[]; + containerStatuses?: ContainerStatus[]; + ephemeralContainerStatuses?: ContainerStatus[]; + hostIP?: string; + hostIPs?: HostIP[]; + initContainerStatuses?: ContainerStatus[]; + message?: string; + nominatedNodeName?: string; + phase?: "Failed" | "Pending" | "Running" | "Succeeded" | "Unknown"; + podIP?: string; + podIPs?: PodIP[]; + qosClass?: "BestEffort" | "Burstable" | "Guaranteed"; + reason?: string; + resize?: string; + resourceClaimStatuses?: PodResourceClaimStatus[]; + startTime?: Time; +} +/* io.k8s.api.core.v1.PodTemplate */ +/* PodTemplate describes a template for creating copies of a predefined pod. */ +export interface PodTemplate { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + template?: PodTemplateSpec; +} +/* io.k8s.api.core.v1.PodTemplateList */ +/* PodTemplateList is a list of PodTemplates. */ +export interface PodTemplateList { + apiVersion?: string; + items: PodTemplate[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.PodTemplateSpec */ +/* PodTemplateSpec describes the data a pod should have when created from a template */ +export interface PodTemplateSpec { + metadata?: ObjectMeta; + spec?: PodSpec; +} +/* io.k8s.api.core.v1.PortStatus */ +/* PortStatus represents the error condition of a service port */ +export interface PortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.core.v1.PortworxVolumeSource */ +/* PortworxVolumeSource represents a Portworx volume resource. */ +export interface PortworxVolumeSource { + fsType?: string; + readOnly?: boolean; + volumeID: string; +} +/* io.k8s.api.core.v1.PreferredSchedulingTerm */ +/* An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). */ +export interface PreferredSchedulingTerm { + preference: NodeSelectorTerm; + weight: number; +} +/* io.k8s.api.core.v1.Probe */ +/* Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. */ +export interface Probe { + exec?: ExecAction; + failureThreshold?: number; + grpc?: GRPCAction; + httpGet?: HTTPGetAction; + initialDelaySeconds?: number; + periodSeconds?: number; + successThreshold?: number; + tcpSocket?: TCPSocketAction; + terminationGracePeriodSeconds?: number; + timeoutSeconds?: number; +} +/* io.k8s.api.core.v1.ProjectedVolumeSource */ +/* Represents a projected volume source */ +export interface ProjectedVolumeSource { + defaultMode?: number; + sources?: VolumeProjection[]; +} +/* io.k8s.api.core.v1.QuobyteVolumeSource */ +/* Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. */ +export interface QuobyteVolumeSource { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; +} +/* io.k8s.api.core.v1.RBDPersistentVolumeSource */ +/* Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. */ +export interface RBDPersistentVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: SecretReference; + user?: string; +} +/* io.k8s.api.core.v1.RBDVolumeSource */ +/* Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. */ +export interface RBDVolumeSource { + fsType?: string; + image: string; + keyring?: string; + monitors: string[]; + pool?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + user?: string; +} +/* io.k8s.api.core.v1.ReplicationController */ +/* ReplicationController represents the configuration of a replication controller. */ +export interface ReplicationController { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ReplicationControllerSpec; + status?: ReplicationControllerStatus; +} +/* io.k8s.api.core.v1.ReplicationControllerCondition */ +/* ReplicationControllerCondition describes the state of a replication controller at a certain point. */ +export interface ReplicationControllerCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.api.core.v1.ReplicationControllerList */ +/* ReplicationControllerList is a collection of replication controllers. */ +export interface ReplicationControllerList { + apiVersion?: string; + items: ReplicationController[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ReplicationControllerSpec */ +/* ReplicationControllerSpec is the specification of a replication controller. */ +export interface ReplicationControllerSpec { + minReadySeconds?: number; + replicas?: number; + selector?: { + [key: string]: unknown; + }; + template?: PodTemplateSpec; +} +/* io.k8s.api.core.v1.ReplicationControllerStatus */ +/* ReplicationControllerStatus represents the current status of a replication controller. */ +export interface ReplicationControllerStatus { + availableReplicas?: number; + conditions?: ReplicationControllerCondition[]; + fullyLabeledReplicas?: number; + observedGeneration?: number; + readyReplicas?: number; + replicas: number; +} +/* io.k8s.api.core.v1.ResourceClaim */ +/* ResourceClaim references one entry in PodSpec.ResourceClaims. */ +export interface ResourceClaim { + name: string; + request?: string; +} +/* io.k8s.api.core.v1.ResourceFieldSelector */ +/* ResourceFieldSelector represents container resources (cpu, memory) and their output format */ +export interface ResourceFieldSelector { + containerName?: string; + divisor?: Quantity; + resource: string; +} +/* io.k8s.api.core.v1.ResourceHealth */ +/* ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680. */ +export interface ResourceHealth { + health?: string; + resourceID: string; +} +/* io.k8s.api.core.v1.ResourceQuota */ +/* ResourceQuota sets aggregate quota restrictions enforced per namespace */ +export interface ResourceQuota { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ResourceQuotaSpec; + status?: ResourceQuotaStatus; +} +/* io.k8s.api.core.v1.ResourceQuotaList */ +/* ResourceQuotaList is a list of ResourceQuota items. */ +export interface ResourceQuotaList { + apiVersion?: string; + items: ResourceQuota[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ResourceQuotaSpec */ +/* ResourceQuotaSpec defines the desired hard limits to enforce for Quota. */ +export interface ResourceQuotaSpec { + hard?: { + [key: string]: unknown; + }; + scopeSelector?: ScopeSelector; + scopes?: ("BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating")[]; +} +/* io.k8s.api.core.v1.ResourceQuotaStatus */ +/* ResourceQuotaStatus defines the enforced hard limits and observed use. */ +export interface ResourceQuotaStatus { + hard?: { + [key: string]: unknown; + }; + used?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.ResourceRequirements */ +/* ResourceRequirements describes the compute resource requirements. */ +export interface ResourceRequirements { + claims?: ResourceClaim[]; + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.ResourceStatus */ +/* ResourceStatus represents the status of a single resource allocated to a Pod. */ +export interface ResourceStatus { + name: string; + resources?: ResourceHealth[]; +} +/* io.k8s.api.core.v1.SELinuxOptions */ +/* SELinuxOptions are the labels to be applied to the container */ +export interface SELinuxOptions { + level?: string; + role?: string; + type?: string; + user?: string; +} +/* io.k8s.api.core.v1.ScaleIOPersistentVolumeSource */ +/* ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume */ +export interface ScaleIOPersistentVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: SecretReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +/* io.k8s.api.core.v1.ScaleIOVolumeSource */ +/* ScaleIOVolumeSource represents a persistent ScaleIO volume */ +export interface ScaleIOVolumeSource { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + secretRef: LocalObjectReference; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; +} +/* io.k8s.api.core.v1.ScopeSelector */ +/* A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. */ +export interface ScopeSelector { + matchExpressions?: ScopedResourceSelectorRequirement[]; +} +/* io.k8s.api.core.v1.ScopedResourceSelectorRequirement */ +/* A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. */ +export interface ScopedResourceSelectorRequirement { + operator: "DoesNotExist" | "Exists" | "In" | "NotIn"; + scopeName: "BestEffort" | "CrossNamespacePodAffinity" | "NotBestEffort" | "NotTerminating" | "PriorityClass" | "Terminating"; + values?: string[]; +} +/* io.k8s.api.core.v1.SeccompProfile */ +/* SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. */ +export interface SeccompProfile { + localhostProfile?: string; + type: "Localhost" | "RuntimeDefault" | "Unconfined"; +} +/* io.k8s.api.core.v1.Secret */ +/* Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. */ +export interface Secret { + apiVersion?: string; + data?: { + [key: string]: unknown; + }; + immutable?: boolean; + kind?: string; + metadata?: ObjectMeta; + stringData?: { + [key: string]: unknown; + }; + type?: string; +} +/* io.k8s.api.core.v1.SecretEnvSource */ +/* SecretEnvSource selects a Secret to populate the environment variables with. + +The contents of the target Secret's Data field will represent the key-value pairs as environment variables. */ +export interface SecretEnvSource { + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.SecretKeySelector */ +/* SecretKeySelector selects a key of a Secret. */ +export interface SecretKeySelector { + key: string; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.SecretList */ +/* SecretList is a list of Secret. */ +export interface SecretList { + apiVersion?: string; + items: Secret[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.SecretProjection */ +/* Adapts a secret into a projected volume. + +The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. */ +export interface SecretProjection { + items?: KeyToPath[]; + name?: string; + optional?: boolean; +} +/* io.k8s.api.core.v1.SecretReference */ +/* SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace */ +export interface SecretReference { + name?: string; + namespace?: string; +} +/* io.k8s.api.core.v1.SecretVolumeSource */ +/* Adapts a Secret into a volume. + +The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. */ +export interface SecretVolumeSource { + defaultMode?: number; + items?: KeyToPath[]; + optional?: boolean; + secretName?: string; +} +/* io.k8s.api.core.v1.SecurityContext */ +/* SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. */ +export interface SecurityContext { + allowPrivilegeEscalation?: boolean; + appArmorProfile?: AppArmorProfile; + capabilities?: Capabilities; + privileged?: boolean; + procMount?: "Default" | "Unmasked"; + readOnlyRootFilesystem?: boolean; + runAsGroup?: number; + runAsNonRoot?: boolean; + runAsUser?: number; + seLinuxOptions?: SELinuxOptions; + seccompProfile?: SeccompProfile; + windowsOptions?: WindowsSecurityContextOptions; +} +/* io.k8s.api.core.v1.Service */ +/* Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. */ +export interface Service { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: ServiceSpec; + status?: ServiceStatus; +} +/* io.k8s.api.core.v1.ServiceAccount */ +/* ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets */ +export interface ServiceAccount { + apiVersion?: string; + automountServiceAccountToken?: boolean; + imagePullSecrets?: LocalObjectReference[]; + kind?: string; + metadata?: ObjectMeta; + secrets?: ObjectReference[]; +} +/* io.k8s.api.core.v1.ServiceAccountList */ +/* ServiceAccountList is a list of ServiceAccount objects */ +export interface ServiceAccountList { + apiVersion?: string; + items: ServiceAccount[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ServiceAccountTokenProjection */ +/* ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). */ +export interface ServiceAccountTokenProjection { + audience?: string; + expirationSeconds?: number; + path: string; +} +/* io.k8s.api.core.v1.ServiceList */ +/* ServiceList holds a list of services. */ +export interface ServiceList { + apiVersion?: string; + items: Service[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.core.v1.ServicePort */ +/* ServicePort contains information on service's port. */ +export interface ServicePort { + appProtocol?: string; + name?: string; + nodePort?: number; + port: number; + protocol?: "SCTP" | "TCP" | "UDP"; + targetPort?: IntOrString; +} +/* io.k8s.api.core.v1.ServiceSpec */ +/* ServiceSpec describes the attributes that a user creates on a service. */ +export interface ServiceSpec { + allocateLoadBalancerNodePorts?: boolean; + clusterIP?: string; + clusterIPs?: string[]; + externalIPs?: string[]; + externalName?: string; + externalTrafficPolicy?: "Cluster" | "Local"; + healthCheckNodePort?: number; + internalTrafficPolicy?: "Cluster" | "Local"; + ipFamilies?: ("" | "IPv4" | "IPv6")[]; + ipFamilyPolicy?: "PreferDualStack" | "RequireDualStack" | "SingleStack"; + loadBalancerClass?: string; + loadBalancerIP?: string; + loadBalancerSourceRanges?: string[]; + ports?: ServicePort[]; + publishNotReadyAddresses?: boolean; + selector?: { + [key: string]: unknown; + }; + sessionAffinity?: "ClientIP" | "None"; + sessionAffinityConfig?: SessionAffinityConfig; + trafficDistribution?: string; + type?: "ClusterIP" | "ExternalName" | "LoadBalancer" | "NodePort"; +} +/* io.k8s.api.core.v1.ServiceStatus */ +/* ServiceStatus represents the current status of a service. */ +export interface ServiceStatus { + conditions?: Condition[]; + loadBalancer?: LoadBalancerStatus; +} +/* io.k8s.api.core.v1.SessionAffinityConfig */ +/* SessionAffinityConfig represents the configurations of session affinity. */ +export interface SessionAffinityConfig { + clientIP?: ClientIPConfig; +} +/* io.k8s.api.core.v1.SleepAction */ +/* SleepAction describes a "sleep" action. */ +export interface SleepAction { + seconds: number; +} +/* io.k8s.api.core.v1.StorageOSPersistentVolumeSource */ +/* Represents a StorageOS persistent volume resource. */ +export interface StorageOSPersistentVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: ObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +/* io.k8s.api.core.v1.StorageOSVolumeSource */ +/* Represents a StorageOS persistent volume resource. */ +export interface StorageOSVolumeSource { + fsType?: string; + readOnly?: boolean; + secretRef?: LocalObjectReference; + volumeName?: string; + volumeNamespace?: string; +} +/* io.k8s.api.core.v1.Sysctl */ +/* Sysctl defines a kernel parameter to be set */ +export interface Sysctl { + name: string; + value: string; +} +/* io.k8s.api.core.v1.TCPSocketAction */ +/* TCPSocketAction describes an action based on opening a socket */ +export interface TCPSocketAction { + host?: string; + port: IntOrString; +} +/* io.k8s.api.core.v1.Taint */ +/* The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint. */ +export interface Taint { + effect: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key: string; + timeAdded?: Time; + value?: string; +} +/* io.k8s.api.core.v1.Toleration */ +/* The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . */ +export interface Toleration { + effect?: "NoExecute" | "NoSchedule" | "PreferNoSchedule"; + key?: string; + operator?: "Equal" | "Exists"; + tolerationSeconds?: number; + value?: string; +} +/* io.k8s.api.core.v1.TopologySelectorLabelRequirement */ +/* A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. */ +export interface TopologySelectorLabelRequirement { + key: string; + values: string[]; +} +/* io.k8s.api.core.v1.TopologySelectorTerm */ +/* A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. */ +export interface TopologySelectorTerm { + matchLabelExpressions?: TopologySelectorLabelRequirement[]; +} +/* io.k8s.api.core.v1.TopologySpreadConstraint */ +/* TopologySpreadConstraint specifies how to spread matching pods among the given topology. */ +export interface TopologySpreadConstraint { + labelSelector?: LabelSelector; + matchLabelKeys?: string[]; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: "Honor" | "Ignore"; + nodeTaintsPolicy?: "Honor" | "Ignore"; + topologyKey: string; + whenUnsatisfiable: "DoNotSchedule" | "ScheduleAnyway"; +} +/* io.k8s.api.core.v1.TypedLocalObjectReference */ +/* TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. */ +export interface TypedLocalObjectReference { + apiGroup?: string; + kind: string; + name: string; +} +/* io.k8s.api.core.v1.TypedObjectReference */ +/* TypedObjectReference contains enough information to let you locate the typed referenced object */ +export interface TypedObjectReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +/* io.k8s.api.core.v1.Volume */ +/* Volume represents a named volume in a pod that may be accessed by any container in the pod. */ +export interface Volume { + awsElasticBlockStore?: AWSElasticBlockStoreVolumeSource; + azureDisk?: AzureDiskVolumeSource; + azureFile?: AzureFileVolumeSource; + cephfs?: CephFSVolumeSource; + cinder?: CinderVolumeSource; + configMap?: ConfigMapVolumeSource; + csi?: CSIVolumeSource; + downwardAPI?: DownwardAPIVolumeSource; + emptyDir?: EmptyDirVolumeSource; + ephemeral?: EphemeralVolumeSource; + fc?: FCVolumeSource; + flexVolume?: FlexVolumeSource; + flocker?: FlockerVolumeSource; + gcePersistentDisk?: GCEPersistentDiskVolumeSource; + gitRepo?: GitRepoVolumeSource; + glusterfs?: GlusterfsVolumeSource; + hostPath?: HostPathVolumeSource; + image?: ImageVolumeSource; + iscsi?: ISCSIVolumeSource; + name: string; + nfs?: NFSVolumeSource; + persistentVolumeClaim?: PersistentVolumeClaimVolumeSource; + photonPersistentDisk?: PhotonPersistentDiskVolumeSource; + portworxVolume?: PortworxVolumeSource; + projected?: ProjectedVolumeSource; + quobyte?: QuobyteVolumeSource; + rbd?: RBDVolumeSource; + scaleIO?: ScaleIOVolumeSource; + secret?: SecretVolumeSource; + storageos?: StorageOSVolumeSource; + vsphereVolume?: VsphereVirtualDiskVolumeSource; +} +/* io.k8s.api.core.v1.VolumeDevice */ +/* volumeDevice describes a mapping of a raw block device within a container. */ +export interface VolumeDevice { + devicePath: string; + name: string; +} +/* io.k8s.api.core.v1.VolumeMount */ +/* VolumeMount describes a mounting of a Volume within a container. */ +export interface VolumeMount { + mountPath: string; + mountPropagation?: "Bidirectional" | "HostToContainer" | "None"; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; + subPath?: string; + subPathExpr?: string; +} +/* io.k8s.api.core.v1.VolumeMountStatus */ +/* VolumeMountStatus shows status of volume mounts. */ +export interface VolumeMountStatus { + mountPath: string; + name: string; + readOnly?: boolean; + recursiveReadOnly?: string; +} +/* io.k8s.api.core.v1.VolumeNodeAffinity */ +/* VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. */ +export interface VolumeNodeAffinity { + required?: NodeSelector; +} +/* io.k8s.api.core.v1.VolumeProjection */ +/* Projection that may be projected along with other supported volume types. Exactly one of these fields must be set. */ +export interface VolumeProjection { + clusterTrustBundle?: ClusterTrustBundleProjection; + configMap?: ConfigMapProjection; + downwardAPI?: DownwardAPIProjection; + secret?: SecretProjection; + serviceAccountToken?: ServiceAccountTokenProjection; +} +/* io.k8s.api.core.v1.VolumeResourceRequirements */ +/* VolumeResourceRequirements describes the storage resource requirements for a volume. */ +export interface VolumeResourceRequirements { + limits?: { + [key: string]: unknown; + }; + requests?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource */ +/* Represents a vSphere volume resource. */ +export interface VsphereVirtualDiskVolumeSource { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; +} +/* io.k8s.api.core.v1.WeightedPodAffinityTerm */ +/* The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) */ +export interface WeightedPodAffinityTerm { + podAffinityTerm: PodAffinityTerm; + weight: number; +} +/* io.k8s.api.core.v1.WindowsSecurityContextOptions */ +/* WindowsSecurityContextOptions contain Windows-specific options and credentials. */ +export interface WindowsSecurityContextOptions { + gmsaCredentialSpec?: string; + gmsaCredentialSpecName?: string; + hostProcess?: boolean; + runAsUserName?: string; +} +/* io.k8s.api.discovery.v1.Endpoint */ +/* Endpoint represents a single logical "backend" implementing a service. */ +export interface Endpoint { + addresses: string[]; + conditions?: EndpointConditions; + deprecatedTopology?: { + [key: string]: unknown; + }; + hints?: EndpointHints; + hostname?: string; + nodeName?: string; + targetRef?: ObjectReference; + zone?: string; +} +/* io.k8s.api.discovery.v1.EndpointConditions */ +/* EndpointConditions represents the current condition of an endpoint. */ +export interface EndpointConditions { + ready?: boolean; + serving?: boolean; + terminating?: boolean; +} +/* io.k8s.api.discovery.v1.EndpointHints */ +/* EndpointHints provides hints describing how an endpoint should be consumed. */ +export interface EndpointHints { + forZones?: ForZone[]; +} +/* io.k8s.api.discovery.v1.EndpointPort */ +/* EndpointPort represents a Port used by an EndpointSlice */ +export interface DiscoveryEndpointPort { + appProtocol?: string; + name?: string; + port?: number; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.discovery.v1.EndpointSlice */ +/* EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints. */ +export interface EndpointSlice { + addressType: "FQDN" | "IPv4" | "IPv6"; + apiVersion?: string; + endpoints: Endpoint[]; + kind?: string; + metadata?: ObjectMeta; + ports?: DiscoveryEndpointPort[]; +} +/* io.k8s.api.discovery.v1.EndpointSliceList */ +/* EndpointSliceList represents a list of endpoint slices */ +export interface EndpointSliceList { + apiVersion?: string; + items: EndpointSlice[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.discovery.v1.ForZone */ +/* ForZone provides information about which zones should consume this endpoint. */ +export interface ForZone { + name: string; +} +/* io.k8s.api.events.v1.EventList */ +/* EventList is a list of Event objects. */ +export interface EventList { + apiVersion?: string; + items: Event[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.HTTPIngressPath */ +/* HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. */ +export interface HTTPIngressPath { + backend: IngressBackend; + path?: string; + pathType: "Exact" | "ImplementationSpecific" | "Prefix"; +} +/* io.k8s.api.networking.v1.HTTPIngressRuleValue */ +/* HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'. */ +export interface HTTPIngressRuleValue { + paths: HTTPIngressPath[]; +} +/* io.k8s.api.networking.v1.IPBlock */ +/* IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. */ +export interface IPBlock { + cidr: string; + except?: string[]; +} +/* io.k8s.api.networking.v1.Ingress */ +/* Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. */ +export interface Ingress { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressSpec; + status?: IngressStatus; +} +/* io.k8s.api.networking.v1.IngressBackend */ +/* IngressBackend describes all endpoints for a given service and port. */ +export interface IngressBackend { + resource?: TypedLocalObjectReference; + service?: IngressServiceBackend; +} +/* io.k8s.api.networking.v1.IngressClass */ +/* IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The \`ingressclass.kubernetes.io/is-default-class\` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class. */ +export interface IngressClass { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: IngressClassSpec; +} +/* io.k8s.api.networking.v1.IngressClassList */ +/* IngressClassList is a collection of IngressClasses. */ +export interface IngressClassList { + apiVersion?: string; + items: IngressClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.IngressClassParametersReference */ +/* IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource. */ +export interface IngressClassParametersReference { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + scope?: string; +} +/* io.k8s.api.networking.v1.IngressClassSpec */ +/* IngressClassSpec provides information about the class of an Ingress. */ +export interface IngressClassSpec { + controller?: string; + parameters?: IngressClassParametersReference; +} +/* io.k8s.api.networking.v1.IngressList */ +/* IngressList is a collection of Ingress. */ +export interface IngressList { + apiVersion?: string; + items: Ingress[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.IngressLoadBalancerIngress */ +/* IngressLoadBalancerIngress represents the status of a load-balancer ingress point. */ +export interface IngressLoadBalancerIngress { + hostname?: string; + ip?: string; + ports?: IngressPortStatus[]; +} +/* io.k8s.api.networking.v1.IngressLoadBalancerStatus */ +/* IngressLoadBalancerStatus represents the status of a load-balancer. */ +export interface IngressLoadBalancerStatus { + ingress?: IngressLoadBalancerIngress[]; +} +/* io.k8s.api.networking.v1.IngressPortStatus */ +/* IngressPortStatus represents the error condition of a service port */ +export interface IngressPortStatus { + error?: string; + port: number; + protocol: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.networking.v1.IngressRule */ +/* IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. */ +export interface IngressRule { + host?: string; + http?: HTTPIngressRuleValue; +} +/* io.k8s.api.networking.v1.IngressServiceBackend */ +/* IngressServiceBackend references a Kubernetes Service as a Backend. */ +export interface IngressServiceBackend { + name: string; + port?: ServiceBackendPort; +} +/* io.k8s.api.networking.v1.IngressSpec */ +/* IngressSpec describes the Ingress the user wishes to exist. */ +export interface IngressSpec { + defaultBackend?: IngressBackend; + ingressClassName?: string; + rules?: IngressRule[]; + tls?: IngressTLS[]; +} +/* io.k8s.api.networking.v1.IngressStatus */ +/* IngressStatus describe the current state of the Ingress. */ +export interface IngressStatus { + loadBalancer?: IngressLoadBalancerStatus; +} +/* io.k8s.api.networking.v1.IngressTLS */ +/* IngressTLS describes the transport layer security associated with an ingress. */ +export interface IngressTLS { + hosts?: string[]; + secretName?: string; +} +/* io.k8s.api.networking.v1.NetworkPolicy */ +/* NetworkPolicy describes what network traffic is allowed for a set of Pods */ +export interface NetworkPolicy { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: NetworkPolicySpec; +} +/* io.k8s.api.networking.v1.NetworkPolicyEgressRule */ +/* NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 */ +export interface NetworkPolicyEgressRule { + ports?: NetworkPolicyPort[]; + to?: NetworkPolicyPeer[]; +} +/* io.k8s.api.networking.v1.NetworkPolicyIngressRule */ +/* NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from. */ +export interface NetworkPolicyIngressRule { + from?: NetworkPolicyPeer[]; + ports?: NetworkPolicyPort[]; +} +/* io.k8s.api.networking.v1.NetworkPolicyList */ +/* NetworkPolicyList is a list of NetworkPolicy objects. */ +export interface NetworkPolicyList { + apiVersion?: string; + items: NetworkPolicy[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.networking.v1.NetworkPolicyPeer */ +/* NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed */ +export interface NetworkPolicyPeer { + ipBlock?: IPBlock; + namespaceSelector?: LabelSelector; + podSelector?: LabelSelector; +} +/* io.k8s.api.networking.v1.NetworkPolicyPort */ +/* NetworkPolicyPort describes a port to allow traffic on */ +export interface NetworkPolicyPort { + endPort?: number; + port?: IntOrString; + protocol?: "SCTP" | "TCP" | "UDP"; +} +/* io.k8s.api.networking.v1.NetworkPolicySpec */ +/* NetworkPolicySpec provides the specification of a NetworkPolicy */ +export interface NetworkPolicySpec { + egress?: NetworkPolicyEgressRule[]; + ingress?: NetworkPolicyIngressRule[]; + podSelector: LabelSelector; + policyTypes?: ("Egress" | "Ingress")[]; +} +/* io.k8s.api.networking.v1.ServiceBackendPort */ +/* ServiceBackendPort is the service port being referenced. */ +export interface ServiceBackendPort { + name?: string; + number?: number; +} +/* io.k8s.api.node.v1.Overhead */ +/* Overhead structure represents the resource overhead associated with running a pod. */ +export interface Overhead { + podFixed?: { + [key: string]: unknown; + }; +} +/* io.k8s.api.node.v1.RuntimeClass */ +/* RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/ */ +export interface RuntimeClass { + apiVersion?: string; + handler: string; + kind?: string; + metadata?: ObjectMeta; + overhead?: Overhead; + scheduling?: Scheduling; +} +/* io.k8s.api.node.v1.RuntimeClassList */ +/* RuntimeClassList is a list of RuntimeClass objects. */ +export interface RuntimeClassList { + apiVersion?: string; + items: RuntimeClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.node.v1.Scheduling */ +/* Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. */ +export interface Scheduling { + nodeSelector?: { + [key: string]: unknown; + }; + tolerations?: Toleration[]; +} +/* io.k8s.api.policy.v1.Eviction */ +/* Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions. */ +export interface Eviction { + apiVersion?: string; + deleteOptions?: DeleteOptions; + kind?: string; + metadata?: ObjectMeta; +} +/* io.k8s.api.policy.v1.PodDisruptionBudget */ +/* PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods */ +export interface PodDisruptionBudget { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: PodDisruptionBudgetSpec; + status?: PodDisruptionBudgetStatus; +} +/* io.k8s.api.policy.v1.PodDisruptionBudgetList */ +/* PodDisruptionBudgetList is a collection of PodDisruptionBudgets. */ +export interface PodDisruptionBudgetList { + apiVersion?: string; + items: PodDisruptionBudget[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.policy.v1.PodDisruptionBudgetSpec */ +/* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. */ +export interface PodDisruptionBudgetSpec { + maxUnavailable?: IntOrString; + minAvailable?: IntOrString; + selector?: LabelSelector; + unhealthyPodEvictionPolicy?: "AlwaysAllow" | "IfHealthyBudget"; +} +/* io.k8s.api.policy.v1.PodDisruptionBudgetStatus */ +/* PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system. */ +export interface PodDisruptionBudgetStatus { + conditions?: Condition[]; + currentHealthy: number; + desiredHealthy: number; + disruptedPods?: { + [key: string]: unknown; + }; + disruptionsAllowed: number; + expectedPods: number; + observedGeneration?: number; +} +/* io.k8s.api.rbac.v1.AggregationRule */ +/* AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole */ +export interface AggregationRule { + clusterRoleSelectors?: LabelSelector[]; +} +/* io.k8s.api.rbac.v1.ClusterRole */ +/* ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. */ +export interface ClusterRole { + aggregationRule?: AggregationRule; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +/* io.k8s.api.rbac.v1.ClusterRoleBinding */ +/* ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. */ +export interface ClusterRoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +/* io.k8s.api.rbac.v1.ClusterRoleBindingList */ +/* ClusterRoleBindingList is a collection of ClusterRoleBindings */ +export interface ClusterRoleBindingList { + apiVersion?: string; + items: ClusterRoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.ClusterRoleList */ +/* ClusterRoleList is a collection of ClusterRoles */ +export interface ClusterRoleList { + apiVersion?: string; + items: ClusterRole[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.PolicyRule */ +/* PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. */ +export interface PolicyRule { + apiGroups?: string[]; + nonResourceURLs?: string[]; + resourceNames?: string[]; + resources?: string[]; + verbs: string[]; +} +/* io.k8s.api.rbac.v1.Role */ +/* Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. */ +export interface Role { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + rules?: PolicyRule[]; +} +/* io.k8s.api.rbac.v1.RoleBinding */ +/* RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. */ +export interface RoleBinding { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + roleRef: RoleRef; + subjects?: Subject[]; +} +/* io.k8s.api.rbac.v1.RoleBindingList */ +/* RoleBindingList is a collection of RoleBindings */ +export interface RoleBindingList { + apiVersion?: string; + items: RoleBinding[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.RoleList */ +/* RoleList is a collection of Roles */ +export interface RoleList { + apiVersion?: string; + items: Role[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.rbac.v1.RoleRef */ +/* RoleRef contains information that points to the role being used */ +export interface RoleRef { + apiGroup: string; + kind: string; + name: string; +} +/* io.k8s.api.rbac.v1.Subject */ +/* Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. */ +export interface Subject { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; +} +/* io.k8s.api.scheduling.v1.PriorityClass */ +/* PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. */ +export interface PriorityClass { + apiVersion?: string; + description?: string; + globalDefault?: boolean; + kind?: string; + metadata?: ObjectMeta; + preemptionPolicy?: "Never" | "PreemptLowerPriority"; + value: number; +} +/* io.k8s.api.scheduling.v1.PriorityClassList */ +/* PriorityClassList is a collection of priority classes. */ +export interface PriorityClassList { + apiVersion?: string; + items: PriorityClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.CSIDriver */ +/* CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced. */ +export interface CSIDriver { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSIDriverSpec; +} +/* io.k8s.api.storage.v1.CSIDriverList */ +/* CSIDriverList is a collection of CSIDriver objects. */ +export interface CSIDriverList { + apiVersion?: string; + items: CSIDriver[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.CSIDriverSpec */ +/* CSIDriverSpec is the specification of a CSIDriver. */ +export interface CSIDriverSpec { + attachRequired?: boolean; + fsGroupPolicy?: string; + podInfoOnMount?: boolean; + requiresRepublish?: boolean; + seLinuxMount?: boolean; + storageCapacity?: boolean; + tokenRequests?: TokenRequest[]; + volumeLifecycleModes?: string[]; +} +/* io.k8s.api.storage.v1.CSINode */ +/* CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. */ +export interface CSINode { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CSINodeSpec; +} +/* io.k8s.api.storage.v1.CSINodeDriver */ +/* CSINodeDriver holds information about the specification of one CSI driver installed on a node */ +export interface CSINodeDriver { + allocatable?: VolumeNodeResources; + name: string; + nodeID: string; + topologyKeys?: string[]; +} +/* io.k8s.api.storage.v1.CSINodeList */ +/* CSINodeList is a collection of CSINode objects. */ +export interface CSINodeList { + apiVersion?: string; + items: CSINode[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.CSINodeSpec */ +/* CSINodeSpec holds information about the specification of all CSI drivers installed on a node */ +export interface CSINodeSpec { + drivers: CSINodeDriver[]; +} +/* io.k8s.api.storage.v1.CSIStorageCapacity */ +/* CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. + +For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123" + +The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero + +The producer of these objects can decide which approach is more suitable. + +They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node. */ +export interface CSIStorageCapacity { + apiVersion?: string; + capacity?: Quantity; + kind?: string; + maximumVolumeSize?: Quantity; + metadata?: ObjectMeta; + nodeTopology?: LabelSelector; + storageClassName: string; +} +/* io.k8s.api.storage.v1.CSIStorageCapacityList */ +/* CSIStorageCapacityList is a collection of CSIStorageCapacity objects. */ +export interface CSIStorageCapacityList { + apiVersion?: string; + items: CSIStorageCapacity[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.StorageClass */ +/* StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. + +StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. */ +export interface StorageClass { + allowVolumeExpansion?: boolean; + allowedTopologies?: TopologySelectorTerm[]; + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + mountOptions?: string[]; + parameters?: { + [key: string]: unknown; + }; + provisioner: string; + reclaimPolicy?: "Delete" | "Recycle" | "Retain"; + volumeBindingMode?: "Immediate" | "WaitForFirstConsumer"; +} +/* io.k8s.api.storage.v1.StorageClassList */ +/* StorageClassList is a collection of storage classes. */ +export interface StorageClassList { + apiVersion?: string; + items: StorageClass[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.TokenRequest */ +/* TokenRequest contains parameters of a service account token. */ +export interface TokenRequest { + audience: string; + expirationSeconds?: number; +} +/* io.k8s.api.storage.v1.VolumeAttachment */ +/* VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. + +VolumeAttachment objects are non-namespaced. */ +export interface VolumeAttachment { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: VolumeAttachmentSpec; + status?: VolumeAttachmentStatus; +} +/* io.k8s.api.storage.v1.VolumeAttachmentList */ +/* VolumeAttachmentList is a collection of VolumeAttachment objects. */ +export interface VolumeAttachmentList { + apiVersion?: string; + items: VolumeAttachment[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.api.storage.v1.VolumeAttachmentSource */ +/* VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set. */ +export interface VolumeAttachmentSource { + inlineVolumeSpec?: PersistentVolumeSpec; + persistentVolumeName?: string; +} +/* io.k8s.api.storage.v1.VolumeAttachmentSpec */ +/* VolumeAttachmentSpec is the specification of a VolumeAttachment request. */ +export interface VolumeAttachmentSpec { + attacher: string; + nodeName: string; + source: VolumeAttachmentSource; +} +/* io.k8s.api.storage.v1.VolumeAttachmentStatus */ +/* VolumeAttachmentStatus is the status of a VolumeAttachment request. */ +export interface VolumeAttachmentStatus { + attachError?: VolumeError; + attached: boolean; + attachmentMetadata?: { + [key: string]: unknown; + }; + detachError?: VolumeError; +} +/* io.k8s.api.storage.v1.VolumeError */ +/* VolumeError captures an error encountered during a volume operation. */ +export interface VolumeError { + message?: string; + time?: Time; +} +/* io.k8s.api.storage.v1.VolumeNodeResources */ +/* VolumeNodeResources is a set of resource limits for scheduling of volumes. */ +export interface VolumeNodeResources { + count?: number; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition */ +/* CustomResourceColumnDefinition specifies a column for server side printing. */ +export interface CustomResourceColumnDefinition { + description?: string; + format?: string; + jsonPath: string; + name: string; + priority?: number; + type: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceConversion */ +/* CustomResourceConversion describes how to convert different versions of a CR. */ +export interface CustomResourceConversion { + strategy: string; + webhook?: WebhookConversion; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition */ +/* CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. */ +export interface CustomResourceDefinition { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec: CustomResourceDefinitionSpec; + status?: CustomResourceDefinitionStatus; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionCondition */ +/* CustomResourceDefinitionCondition contains details for the current condition of this pod. */ +export interface CustomResourceDefinitionCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList */ +/* CustomResourceDefinitionList is a list of CustomResourceDefinition objects. */ +export interface CustomResourceDefinitionList { + apiVersion?: string; + items: CustomResourceDefinition[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionNames */ +/* CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition */ +export interface CustomResourceDefinitionNames { + categories?: string[]; + kind: string; + listKind?: string; + plural: string; + shortNames?: string[]; + singular?: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec */ +/* CustomResourceDefinitionSpec describes how a user wants their resource to appear */ +export interface CustomResourceDefinitionSpec { + conversion?: CustomResourceConversion; + group: string; + names: CustomResourceDefinitionNames; + preserveUnknownFields?: boolean; + scope: string; + versions: CustomResourceDefinitionVersion[]; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionStatus */ +/* CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition */ +export interface CustomResourceDefinitionStatus { + acceptedNames?: CustomResourceDefinitionNames; + conditions?: CustomResourceDefinitionCondition[]; + storedVersions?: string[]; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion */ +/* CustomResourceDefinitionVersion describes a version for CRD. */ +export interface CustomResourceDefinitionVersion { + additionalPrinterColumns?: CustomResourceColumnDefinition[]; + deprecated?: boolean; + deprecationWarning?: string; + name: string; + schema?: CustomResourceValidation; + selectableFields?: SelectableField[]; + served: boolean; + storage: boolean; + subresources?: CustomResourceSubresources; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceScale */ +/* CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. */ +export interface CustomResourceSubresourceScale { + labelSelectorPath?: string; + specReplicasPath: string; + statusReplicasPath: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresourceStatus */ +/* CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the \`.status\` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza */ +export type CustomResourceSubresourceStatus = { + [key: string]: unknown; +}; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceSubresources */ +/* CustomResourceSubresources defines the status and scale subresources for CustomResources. */ +export interface CustomResourceSubresources { + scale?: CustomResourceSubresourceScale; + status?: CustomResourceSubresourceStatus; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceValidation */ +/* CustomResourceValidation is a list of validation methods for CustomResources. */ +export interface CustomResourceValidation { + openAPIV3Schema?: JSONSchemaProps; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation */ +/* ExternalDocumentation allows referencing an external resource for extended documentation. */ +export interface ExternalDocumentation { + description?: string; + url?: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON */ +/* JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. */ +export type JSON = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaProps */ +/* JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). */ +export interface JSONSchemaProps { + $ref?: string; + $schema?: string; + additionalItems?: JSONSchemaPropsOrBool; + additionalProperties?: JSONSchemaPropsOrBool; + allOf?: JSONSchemaProps[]; + anyOf?: JSONSchemaProps[]; + default?: JSON; + definitions?: { + [key: string]: unknown; + }; + dependencies?: { + [key: string]: unknown; + }; + description?: string; + enum?: JSON[]; + example?: JSON; + exclusiveMaximum?: boolean; + exclusiveMinimum?: boolean; + externalDocs?: ExternalDocumentation; + format?: string; + id?: string; + items?: JSONSchemaPropsOrArray; + maxItems?: number; + maxLength?: number; + maxProperties?: number; + maximum?: number; + minItems?: number; + minLength?: number; + minProperties?: number; + minimum?: number; + multipleOf?: number; + not?: JSONSchemaProps; + nullable?: boolean; + oneOf?: JSONSchemaProps[]; + pattern?: string; + patternProperties?: { + [key: string]: unknown; + }; + properties?: { + [key: string]: unknown; + }; + required?: string[]; + title?: string; + type?: string; + uniqueItems?: boolean; + "x-kubernetes-embedded-resource"?: boolean; + "x-kubernetes-int-or-string"?: boolean; + "x-kubernetes-list-map-keys"?: string[]; + "x-kubernetes-list-type"?: string; + "x-kubernetes-map-type"?: string; + "x-kubernetes-preserve-unknown-fields"?: boolean; + "x-kubernetes-validations"?: ValidationRule[]; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray */ +/* JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. */ +export type JSONSchemaPropsOrArray = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool */ +/* JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. */ +export type JSONSchemaPropsOrBool = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray */ +/* JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. */ +export type JSONSchemaPropsOrStringArray = any; +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.SelectableField */ +/* SelectableField specifies the JSON path of a field that may be used with field selectors. */ +export interface SelectableField { + jsonPath: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference */ +/* ServiceReference holds a reference to Service.legacy.k8s.io */ +export interface ApiExtServiceReference { + name: string; + namespace: string; + path?: string; + port?: number; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule */ +/* ValidationRule describes a validation rule written in the CEL expression language. */ +export interface ValidationRule { + fieldPath?: string; + message?: string; + messageExpression?: string; + optionalOldSelf?: boolean; + reason?: "FieldValueDuplicate" | "FieldValueForbidden" | "FieldValueInvalid" | "FieldValueRequired"; + rule: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig */ +/* WebhookClientConfig contains the information to make a TLS connection with the webhook. */ +export interface ApiExtWebhookClientConfig { + caBundle?: string; + service?: ApiExtServiceReference; + url?: string; +} +/* io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookConversion */ +/* WebhookConversion describes how to call a conversion webhook */ +export interface WebhookConversion { + clientConfig?: ApiExtWebhookClientConfig; + conversionReviewVersions: string[]; +} +/* io.k8s.apimachinery.pkg.api.resource.Quantity */ +/* Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. + +The serialization format is: + +\`\`\` ::= + + (Note that may be empty, from the "" case in .) + + ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= "+" | "-" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei + + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + + ::= m | "" | k | M | G | T | P | E + + (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + + ::= "e" | "E" \`\`\` + +No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. + +When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized. + +Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: + +- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. + +The sign will be omitted unless the number is negative. + +Examples: + +- 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + +Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. + +Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.) + +This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation. */ +export type Quantity = string; +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup */ +/* APIGroup contains the name, the supported versions, and the preferred version of a group. */ +export interface APIGroup { + apiVersion?: string; + kind?: string; + name: string; + preferredVersion?: GroupVersionForDiscovery; + serverAddressByClientCIDRs?: ServerAddressByClientCIDR[]; + versions: GroupVersionForDiscovery[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIGroupList */ +/* APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis. */ +export interface APIGroupList { + apiVersion?: string; + groups: APIGroup[]; + kind?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIResource */ +/* APIResource specifies the name of a resource and whether it is namespaced. */ +export interface APIResource { + categories?: string[]; + group?: string; + kind: string; + name: string; + namespaced: boolean; + shortNames?: string[]; + singularName: string; + storageVersionHash?: string; + verbs: string[]; + version?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList */ +/* APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced. */ +export interface APIResourceList { + apiVersion?: string; + groupVersion: string; + kind?: string; + resources: APIResource[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.APIVersions */ +/* APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API. */ +export interface APIVersions { + apiVersion?: string; + kind?: string; + serverAddressByClientCIDRs: ServerAddressByClientCIDR[]; + versions: string[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Condition */ +/* Condition contains details for one aspect of the current state of this API Resource. */ +export interface Condition { + lastTransitionTime: Time; + message: string; + observedGeneration?: number; + reason: string; + status: string; + type: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions */ +/* DeleteOptions may be provided when deleting an API object. */ +export interface DeleteOptions { + apiVersion?: string; + dryRun?: string[]; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + kind?: string; + orphanDependents?: boolean; + preconditions?: Preconditions; + propagationPolicy?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement */ +/* FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values. */ +export interface FieldSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1 */ +/* FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. + +Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. + +The exact format is defined in sigs.k8s.io/structured-merge-diff */ +export type FieldsV1 = { + [key: string]: unknown; +}; +/* io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery */ +/* GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility. */ +export interface GroupVersionForDiscovery { + groupVersion: string; + version: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector */ +/* A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. */ +export interface LabelSelector { + matchExpressions?: LabelSelectorRequirement[]; + matchLabels?: { + [key: string]: unknown; + }; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement */ +/* A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. */ +export interface LabelSelectorRequirement { + key: string; + operator: string; + values?: string[]; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta */ +/* ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. */ +export interface ListMeta { + continue?: string; + remainingItemCount?: number; + resourceVersion?: string; + selfLink?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry */ +/* ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. */ +export interface ManagedFieldsEntry { + apiVersion?: string; + fieldsType?: string; + fieldsV1?: FieldsV1; + manager?: string; + operation?: string; + subresource?: string; + time?: Time; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime */ +/* MicroTime is version of Time with microsecond level precision. */ +export type MicroTime = string; +/* io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta */ +/* ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. */ +export interface ObjectMeta { + annotations?: { + [key: string]: unknown; + }; + creationTimestamp?: Time; + deletionGracePeriodSeconds?: number; + deletionTimestamp?: Time; + finalizers?: string[]; + generateName?: string; + generation?: number; + labels?: { + [key: string]: unknown; + }; + managedFields?: ManagedFieldsEntry[]; + name?: string; + namespace?: string; + ownerReferences?: OwnerReference[]; + resourceVersion?: string; + selfLink?: string; + uid?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference */ +/* OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. */ +export interface OwnerReference { + apiVersion: string; + blockOwnerDeletion?: boolean; + controller?: boolean; + kind: string; + name: string; + uid: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Patch */ +/* Patch is provided to give a concrete name and type to the Kubernetes PATCH request body. */ +export type Patch = { + [key: string]: unknown; +}; +/* io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions */ +/* Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. */ +export interface Preconditions { + resourceVersion?: string; + uid?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR */ +/* ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. */ +export interface ServerAddressByClientCIDR { + clientCIDR: string; + serverAddress: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Status */ +/* Status is a return value for calls that don't return other objects. */ +export interface Status { + apiVersion?: string; + code?: number; + details?: StatusDetails; + kind?: string; + message?: string; + metadata?: ListMeta; + reason?: string; + status?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause */ +/* StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. */ +export interface StatusCause { + field?: string; + message?: string; + reason?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.StatusDetails */ +/* StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. */ +export interface StatusDetails { + causes?: StatusCause[]; + group?: string; + kind?: string; + name?: string; + retryAfterSeconds?: number; + uid?: string; +} +/* io.k8s.apimachinery.pkg.apis.meta.v1.Time */ +/* Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. */ +export type Time = string; +/* io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent */ +/* Event represents a single event to a watched resource. */ +export interface WatchEvent { + object: RawExtension; + type: string; +} +/* io.k8s.apimachinery.pkg.runtime.RawExtension */ +/* RawExtension is used to hold extensions in external versions. + +To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types. + +// Internal package: + + type MyAPIObject struct { + runtime.TypeMeta \`json:",inline"\` + MyPlugin runtime.Object \`json:"myPlugin"\` + } + + type PluginA struct { + AOption string \`json:"aOption"\` + } + +// External package: + + type MyAPIObject struct { + runtime.TypeMeta \`json:",inline"\` + MyPlugin runtime.RawExtension \`json:"myPlugin"\` + } + + type PluginA struct { + AOption string \`json:"aOption"\` + } + +// On the wire, the JSON will look something like this: + + { + "kind":"MyAPIObject", + "apiVersion":"v1", + "myPlugin": { + "kind":"PluginA", + "aOption":"foo", + }, + } + +So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.) */ +export type RawExtension = { + [key: string]: unknown; +}; +/* io.k8s.apimachinery.pkg.util.intstr.IntOrString */ +/* IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number. */ +export type IntOrString = string; +/* io.k8s.apimachinery.pkg.version.Info */ +/* Info contains versioning information. how we'll want to distribute that information. */ +export interface Info { + buildDate: string; + compiler: string; + gitCommit: string; + gitTreeState: string; + gitVersion: string; + goVersion: string; + major: string; + minor: string; + platform: string; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService */ +/* APIService represents a server for a particular GroupVersion. Name must be "version.group". */ +export interface APIService { + apiVersion?: string; + kind?: string; + metadata?: ObjectMeta; + spec?: APIServiceSpec; + status?: APIServiceStatus; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition */ +/* APIServiceCondition describes the state of an APIService at a particular point */ +export interface APIServiceCondition { + lastTransitionTime?: Time; + message?: string; + reason?: string; + status: string; + type: string; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList */ +/* APIServiceList is a list of APIService objects. */ +export interface APIServiceList { + apiVersion?: string; + items: APIService[]; + kind?: string; + metadata?: ListMeta; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec */ +/* APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. */ +export interface APIServiceSpec { + caBundle?: string; + group?: string; + groupPriorityMinimum: number; + insecureSkipTLSVerify?: boolean; + service?: ServiceReference; + version?: string; + versionPriority: number; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus */ +/* APIServiceStatus contains derived information about an API server */ +export interface APIServiceStatus { + conditions?: APIServiceCondition[]; +} +/* io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference */ +/* ServiceReference holds a reference to Service.legacy.k8s.io */ +export interface ServiceReference { + name?: string; + namespace?: string; + port?: number; +} +export interface GetServiceAccountIssuerOpenIDConfigurationRequest {} +export interface GetCoreAPIVersionsRequest {} +export interface GetCoreV1APIResourcesRequest {} +export interface ListCoreV1ComponentStatusRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadCoreV1ComponentStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ListCoreV1ConfigMapForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1EndpointsForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1EventForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1LimitRangeForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1NamespaceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: Namespace; +} +export interface CreateCoreV1NamespacedBindingRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + namespace: string; + }; + body: Binding; +} +export interface ListCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ConfigMap; +} +export interface DeleteCoreV1CollectionNamespacedConfigMapRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ConfigMap; +} +export interface DeleteCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedConfigMapRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Endpoints; +} +export interface DeleteCoreV1CollectionNamespacedEndpointsRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Endpoints; +} +export interface DeleteCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedEndpointsRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedEventRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Event; +} +export interface DeleteCoreV1CollectionNamespacedEventRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedEventRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Event; +} +export interface DeleteCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: LimitRange; +} +export interface DeleteCoreV1CollectionNamespacedLimitRangeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: LimitRange; +} +export interface DeleteCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedLimitRangeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PersistentVolumeClaim; +} +export interface DeleteCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PersistentVolumeClaim; +} +export interface PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedPodRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Pod; +} +export interface DeleteCoreV1CollectionNamespacedPodRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPodRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pod; +} +export interface DeleteCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedPodRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedPodAttachRequest { + query: { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodAttachRequest { + query: { + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPodBindingRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Binding; +} +export interface ReadCoreV1NamespacedPodEphemeralcontainersRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodEphemeralcontainersRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pod; +} +export interface PatchCoreV1NamespacedPodEphemeralcontainersRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface CreateCoreV1NamespacedPodEvictionRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Eviction; +} +export interface ConnectCoreV1GetNamespacedPodExecRequest { + query: { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodExecRequest { + query: { + command?: string; + container?: string; + stderr?: boolean; + stdin?: boolean; + stdout?: boolean; + tty?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPodLogRequest { + query: { + container?: string; + follow?: boolean; + insecureSkipTLSVerifyBackend?: boolean; + limitBytes?: number; + pretty?: string; + previous?: boolean; + sinceSeconds?: number; + stream?: string; + tailLines?: number; + timestamps?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedPodPortforwardRequest { + query: { + ports?: number; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodPortforwardRequest { + query: { + ports?: number; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PutNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PatchNamespacedPodProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PostNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PutNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PatchNamespacedPodProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ReadCoreV1NamespacedPodStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pod; +} +export interface PatchCoreV1NamespacedPodStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodTemplate; +} +export interface DeleteCoreV1CollectionNamespacedPodTemplateRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodTemplate; +} +export interface DeleteCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedPodTemplateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ReplicationController; +} +export interface DeleteCoreV1CollectionNamespacedReplicationControllerRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicationController; +} +export interface DeleteCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedReplicationControllerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedReplicationControllerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchCoreV1NamespacedReplicationControllerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedReplicationControllerStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedReplicationControllerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicationController; +} +export interface PatchCoreV1NamespacedReplicationControllerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ResourceQuota; +} +export interface DeleteCoreV1CollectionNamespacedResourceQuotaRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ResourceQuota; +} +export interface DeleteCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedResourceQuotaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespacedResourceQuotaStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedResourceQuotaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ResourceQuota; +} +export interface PatchCoreV1NamespacedResourceQuotaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Secret; +} +export interface DeleteCoreV1CollectionNamespacedSecretRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Secret; +} +export interface DeleteCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedSecretRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ServiceAccount; +} +export interface DeleteCoreV1CollectionNamespacedServiceAccountRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServiceAccount; +} +export interface DeleteCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedServiceAccountRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface CreateCoreV1NamespacedServiceAccountTokenRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; + body: TokenRequest; +} +export interface ListCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Service; +} +export interface DeleteCoreV1CollectionNamespacedServiceRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface DeleteCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoreV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ConnectCoreV1GetNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PostNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PutNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ConnectCoreV1GetNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PostNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PutNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + namespace: string; + path: string; + }; +} +export interface ReadCoreV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoreV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface PatchCoreV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCoreV1NamespaceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Namespace; +} +export interface DeleteCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCoreV1NamespaceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReplaceCoreV1NamespaceFinalizeRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + name: string; + }; + body: Namespace; +} +export interface ReadCoreV1NamespaceStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NamespaceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Namespace; +} +export interface PatchCoreV1NamespaceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCoreV1NodeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: Node; +} +export interface DeleteCoreV1CollectionNodeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadCoreV1NodeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Node; +} +export interface DeleteCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCoreV1NodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ConnectCoreV1GetNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1PostNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1PutNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1DeleteNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1PatchNodeProxyRequest { + query: { + path?: string; + }; + path: { + name: string; + }; +} +export interface ConnectCoreV1GetNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1PostNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1PutNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1DeleteNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ConnectCoreV1PatchNodeProxyWithPathRequest { + query: { + path?: string; + }; + path: { + name: string; + path: string; + }; +} +export interface ReadCoreV1NodeStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1NodeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: Node; +} +export interface PatchCoreV1NodeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCoreV1PersistentVolumeClaimForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: PersistentVolume; +} +export interface DeleteCoreV1CollectionPersistentVolumeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PersistentVolume; +} +export interface DeleteCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCoreV1PersistentVolumeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCoreV1PersistentVolumeStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCoreV1PersistentVolumeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PersistentVolume; +} +export interface PatchCoreV1PersistentVolumeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCoreV1PodForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1PodTemplateForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ReplicationControllerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ResourceQuotaForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1SecretForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ServiceAccountForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoreV1ServiceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ConfigMapListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1EndpointsListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1EventListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1LimitRangeListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1NamespaceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1NamespacedConfigMapListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedConfigMapRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEndpointsListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEndpointsRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEventListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedEventRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedLimitRangeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedLimitRangeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPersistentVolumeClaimRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodTemplateListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedPodTemplateRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedReplicationControllerListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedReplicationControllerRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedResourceQuotaListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedResourceQuotaRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedSecretListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedSecretRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceAccountListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceAccountRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoreV1NamespacedServiceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchCoreV1NamespaceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchCoreV1NodeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1NodeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1PersistentVolumeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1PersistentVolumeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchCoreV1PodListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1PodTemplateListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ReplicationControllerListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ResourceQuotaListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1SecretListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ServiceAccountListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoreV1ServiceListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAPIVersionsRequest {} +export interface ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Challenge; +} +export interface DeleteAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Challenge; +} +export interface PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Order; +} +export interface DeleteAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Order; +} +export interface PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAcmeCertManagerIoV1OrderForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAdmissionregistrationAPIGroupRequest {} +export interface GetAdmissionregistrationV1APIResourcesRequest {} +export interface ListAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: MutatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingAdmissionPolicy; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingAdmissionPolicy; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingAdmissionPolicyBinding; +} +export interface DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ValidatingWebhookConfiguration; +} +export interface DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetApiextensionsAPIGroupRequest {} +export interface GetApiextensionsV1APIResourcesRequest {} +export interface ListApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CustomResourceDefinition; +} +export interface DeleteApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchApiextensionsV1CustomResourceDefinitionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadApiextensionsV1CustomResourceDefinitionStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CustomResourceDefinition; +} +export interface PatchApiextensionsV1CustomResourceDefinitionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchApiextensionsV1CustomResourceDefinitionListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchApiextensionsV1CustomResourceDefinitionRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetApiregistrationAPIGroupRequest {} +export interface GetApiregistrationV1APIResourcesRequest {} +export interface ListApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: APIService; +} +export interface DeleteApiregistrationV1CollectionAPIServiceRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: APIService; +} +export interface DeleteApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchApiregistrationV1APIServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadApiregistrationV1APIServiceStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceApiregistrationV1APIServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: APIService; +} +export interface PatchApiregistrationV1APIServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchApiregistrationV1APIServiceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchApiregistrationV1APIServiceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetAppsAPIGroupRequest {} +export interface GetAppsV1APIResourcesRequest {} +export interface ListAppsV1ControllerRevisionForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1DaemonSetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1DeploymentForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ControllerRevision; +} +export interface DeleteAppsV1CollectionNamespacedControllerRevisionRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ControllerRevision; +} +export interface DeleteAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedControllerRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: DaemonSet; +} +export interface DeleteAppsV1CollectionNamespacedDaemonSetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: DaemonSet; +} +export interface DeleteAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedDaemonSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedDaemonSetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDaemonSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: DaemonSet; +} +export interface PatchAppsV1NamespacedDaemonSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Deployment; +} +export interface DeleteAppsV1CollectionNamespacedDeploymentRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Deployment; +} +export interface DeleteAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedDeploymentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDeploymentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchAppsV1NamespacedDeploymentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedDeploymentStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedDeploymentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Deployment; +} +export interface PatchAppsV1NamespacedDeploymentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ReplicaSet; +} +export interface DeleteAppsV1CollectionNamespacedReplicaSetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicaSet; +} +export interface DeleteAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedReplicaSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedReplicaSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchAppsV1NamespacedReplicaSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedReplicaSetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedReplicaSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ReplicaSet; +} +export interface PatchAppsV1NamespacedReplicaSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: StatefulSet; +} +export interface DeleteAppsV1CollectionNamespacedStatefulSetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: StatefulSet; +} +export interface DeleteAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAppsV1NamespacedStatefulSetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetScaleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedStatefulSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchAppsV1NamespacedStatefulSetScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAppsV1NamespacedStatefulSetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAppsV1NamespacedStatefulSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: StatefulSet; +} +export interface PatchAppsV1NamespacedStatefulSetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAppsV1ReplicaSetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAppsV1StatefulSetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1ControllerRevisionListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1DaemonSetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1DeploymentListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1NamespacedControllerRevisionListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedControllerRevisionRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDaemonSetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDaemonSetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDeploymentListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedDeploymentRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedReplicaSetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedReplicaSetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1NamespacedStatefulSetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAppsV1NamespacedStatefulSetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchAppsV1ReplicaSetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAppsV1StatefulSetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAuthenticationAPIGroupRequest {} +export interface GetAuthenticationV1APIResourcesRequest {} +export interface CreateAuthenticationV1SelfSubjectReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SelfSubjectReview; +} +export interface CreateAuthenticationV1TokenReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: TokenReview; +} +export interface GetAuthorizationAPIGroupRequest {} +export interface GetAuthorizationV1APIResourcesRequest {} +export interface CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + path: { + namespace: string; + }; + body: LocalSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectAccessReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SelfSubjectAccessReview; +} +export interface CreateAuthorizationV1SelfSubjectRulesReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SelfSubjectRulesReview; +} +export interface CreateAuthorizationV1SubjectAccessReviewRequest { + query: { + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + pretty?: string; + }; + body: SubjectAccessReview; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Metric; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Metric; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodAutoscaler; +} +export interface DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodAutoscaler; +} +export interface PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetAutoscalingAPIGroupRequest {} +export interface GetAutoscalingV1APIResourcesRequest {} +export interface ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetAutoscalingV2APIResourcesRequest {} +export interface ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: HorizontalPodAutoscaler; +} +export interface PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetBatchAPIGroupRequest {} +export interface GetBatchV1APIResourcesRequest {} +export interface ListBatchV1CronJobForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListBatchV1JobForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: CronJob; +} +export interface DeleteBatchV1CollectionNamespacedCronJobRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CronJob; +} +export interface DeleteBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchBatchV1NamespacedCronJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadBatchV1NamespacedCronJobStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedCronJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CronJob; +} +export interface PatchBatchV1NamespacedCronJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListBatchV1NamespacedJobRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Job; +} +export interface DeleteBatchV1CollectionNamespacedJobRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadBatchV1NamespacedJobRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Job; +} +export interface DeleteBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchBatchV1NamespacedJobRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadBatchV1NamespacedJobStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceBatchV1NamespacedJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Job; +} +export interface PatchBatchV1NamespacedJobStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchBatchV1CronJobListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchBatchV1JobListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchBatchV1NamespacedCronJobListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchBatchV1NamespacedCronJobRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchBatchV1NamespacedJobListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchBatchV1NamespacedJobRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Image; +} +export interface DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Image; +} +export interface PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1CertificateRequestForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCertManagerIoV1CertificateForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1CollectionClusterIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterIssuer; +} +export interface DeleteCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCertManagerIoV1ClusterIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1ClusterIssuerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertManagerIoV1ClusterIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterIssuer; +} +export interface PatchCertManagerIoV1ClusterIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1IssuerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CertificateRequest; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CertificateRequest; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Certificate; +} +export interface DeleteCertManagerIoV1CollectionNamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface DeleteCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCertManagerIoV1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface PatchCertManagerIoV1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Issuer; +} +export interface DeleteCertManagerIoV1CollectionNamespacedIssuerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Issuer; +} +export interface DeleteCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCertManagerIoV1NamespacedIssuerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadCertManagerIoV1NamespacedIssuerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCertManagerIoV1NamespacedIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Issuer; +} +export interface PatchCertManagerIoV1NamespacedIssuerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface GetCertificatesAPIGroupRequest {} +export interface GetCertificatesV1APIResourcesRequest {} +export interface ListCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CollectionCertificateSigningRequestRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CertificateSigningRequest; +} +export interface DeleteCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchCertificatesV1CertificateSigningRequestRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestApprovalRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertificatesV1CertificateSigningRequestApprovalRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestApprovalRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadCertificatesV1CertificateSigningRequestStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceCertificatesV1CertificateSigningRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CertificateSigningRequest; +} +export interface PatchCertificatesV1CertificateSigningRequestStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchCertificatesV1CertificateSigningRequestListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCertificatesV1CertificateSigningRequestRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetCoordinationAPIGroupRequest {} +export interface GetCoordinationV1APIResourcesRequest {} +export interface ListCoordinationV1LeaseForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Lease; +} +export interface DeleteCoordinationV1CollectionNamespacedLeaseRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Lease; +} +export interface DeleteCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchCoordinationV1NamespacedLeaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchCoordinationV1LeaseListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchCoordinationV1NamespacedLeaseListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchCoordinationV1NamespacedLeaseRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetDiscoveryAPIGroupRequest {} +export interface GetDiscoveryV1APIResourcesRequest {} +export interface ListDiscoveryV1EndpointSliceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: EndpointSlice; +} +export interface DeleteDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchDiscoveryV1NamespacedEndpointSliceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchDiscoveryV1NamespacedEndpointSliceRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetEventsAPIGroupRequest {} +export interface GetEventsV1APIResourcesRequest {} +export interface ListEventsV1EventForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListEventsV1NamespacedEventRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Event; +} +export interface DeleteEventsV1CollectionNamespacedEventRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadEventsV1NamespacedEventRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Event; +} +export interface DeleteEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchEventsV1NamespacedEventRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface WatchEventsV1EventListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchEventsV1NamespacedEventListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchEventsV1NamespacedEventRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface GetFlowcontrolApiserverAPIGroupRequest {} +export interface GetFlowcontrolApiserverV1APIResourcesRequest {} +export interface ListFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: FlowSchema; +} +export interface DeleteFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1FlowSchemaStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: FlowSchema; +} +export interface PatchFlowcontrolApiserverV1FlowSchemaStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PriorityLevelConfiguration; +} +export interface DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PriorityLevelConfiguration; +} +export interface PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchFlowcontrolApiserverV1FlowSchemaRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Alertmanager; +} +export interface DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Alertmanager; +} +export interface PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedPodMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Probe; +} +export interface DeleteMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedProbeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Prometheus; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Prometheus; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PrometheusRule; +} +export interface DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServiceMonitor; +} +export interface DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServiceMonitor; +} +export interface PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ThanosRuler; +} +export interface DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ThanosRuler; +} +export interface PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1ProbeForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: AlertmanagerConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PrometheusAgent; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PrometheusAgent; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ScrapeConfig; +} +export interface DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterDomainClaim; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterDomainClaim; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Certificate; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServerlessService; +} +export interface DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ServerlessService; +} +export interface PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetNetworkingAPIGroupRequest {} +export interface GetNetworkingV1APIResourcesRequest {} +export interface ListNetworkingV1IngressClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: IngressClass; +} +export interface DeleteNetworkingV1CollectionIngressClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadNetworkingV1IngressClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: IngressClass; +} +export interface DeleteNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchNetworkingV1IngressClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListNetworkingV1IngressForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingV1CollectionNamespacedIngressRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface DeleteNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingV1NamespacedIngressRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadNetworkingV1NamespacedIngressStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingV1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Ingress; +} +export interface PatchNetworkingV1NamespacedIngressStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: NetworkPolicy; +} +export interface DeleteNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchNetworkingV1NamespacedNetworkPolicyRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListNetworkingV1NetworkPolicyForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNetworkingV1IngressClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNetworkingV1IngressClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchNetworkingV1IngressListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNetworkingV1NamespacedIngressListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchNetworkingV1NamespacedIngressRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchNetworkingV1NamespacedNetworkPolicyRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetNodeAPIGroupRequest {} +export interface GetNodeV1APIResourcesRequest {} +export interface ListNodeV1RuntimeClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: RuntimeClass; +} +export interface DeleteNodeV1CollectionRuntimeClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadNodeV1RuntimeClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: RuntimeClass; +} +export interface DeleteNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchNodeV1RuntimeClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchNodeV1RuntimeClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchNodeV1RuntimeClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetPolicyAPIGroupRequest {} +export interface GetPolicyV1APIResourcesRequest {} +export interface ListPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodDisruptionBudget; +} +export interface DeletePolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: PodDisruptionBudget; +} +export interface PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchPolicyV1NamespacedPodDisruptionBudgetRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Backup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Backup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Cluster; +} +export interface DeletePostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Cluster; +} +export interface PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Database; +} +export interface DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Database; +} +export interface PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ImageCatalog; +} +export interface DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pooler; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Scale; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Pooler; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Publication; +} +export interface DeletePostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Publication; +} +export interface PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ScheduledBackup; +} +export interface DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: ScheduledBackup; +} +export interface PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Subscription; +} +export interface DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Subscription; +} +export interface PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetRbacAuthorizationAPIGroupRequest {} +export interface GetRbacAuthorizationV1APIResourcesRequest {} +export interface ListRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterRoleBinding; +} +export interface DeleteRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1CollectionClusterRoleRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: ClusterRole; +} +export interface DeleteRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchRbacAuthorizationV1ClusterRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: RoleBinding; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Role; +} +export interface DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Role; +} +export interface DeleteRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchRbacAuthorizationV1NamespacedRoleRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListRbacAuthorizationV1RoleForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleBindingRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1ClusterRoleRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleBindingRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1NamespacedRoleRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchRbacAuthorizationV1RoleListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetSchedulingAPIGroupRequest {} +export interface GetSchedulingV1APIResourcesRequest {} +export interface ListSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: PriorityClass; +} +export interface DeleteSchedulingV1CollectionPriorityClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: PriorityClass; +} +export interface DeleteSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchSchedulingV1PriorityClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchSchedulingV1PriorityClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchSchedulingV1PriorityClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface ListServingKnativeDevV1ConfigurationForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Configuration; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Configuration; +} +export interface DeleteServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedConfigurationStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Configuration; +} +export interface PatchServingKnativeDevV1NamespacedConfigurationStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Revision; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Revision; +} +export interface DeleteServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedRevisionRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRevisionStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Revision; +} +export interface PatchServingKnativeDevV1NamespacedRevisionStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Route; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedRouteRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Route; +} +export interface DeleteServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedRouteRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedRouteStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedRouteStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Route; +} +export interface PatchServingKnativeDevV1NamespacedRouteStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: Service; +} +export interface DeleteServingKnativeDevV1CollectionNamespacedServiceRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface ReadServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface DeleteServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchServingKnativeDevV1NamespacedServiceRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ReadServingKnativeDevV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + resourceVersion?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceServingKnativeDevV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: Service; +} +export interface PatchServingKnativeDevV1NamespacedServiceStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListServingKnativeDevV1RevisionForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListServingKnativeDevV1RouteForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListServingKnativeDevV1ServiceForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface GetStorageAPIGroupRequest {} +export interface GetStorageV1APIResourcesRequest {} +export interface ListStorageV1CSIDriverRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CSIDriver; +} +export interface DeleteStorageV1CollectionCSIDriverRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1CSIDriverRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CSIDriver; +} +export interface DeleteStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1CSIDriverRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListStorageV1CSINodeRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: CSINode; +} +export interface DeleteStorageV1CollectionCSINodeRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1CSINodeRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: CSINode; +} +export interface DeleteStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1CSINodeRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListStorageV1CSIStorageCapacityForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface ListStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface CreateStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + namespace: string; + }; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; + path: { + namespace: string; + }; +} +export interface ReadStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface ReplaceStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + namespace: string; + }; + body: CSIStorageCapacity; +} +export interface DeleteStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + namespace: string; + }; +} +export interface PatchStorageV1NamespacedCSIStorageCapacityRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + namespace: string; + }; + body: Patch; +} +export interface ListStorageV1StorageClassRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: StorageClass; +} +export interface DeleteStorageV1CollectionStorageClassRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1StorageClassRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: StorageClass; +} +export interface DeleteStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1StorageClassRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ListStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface CreateStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + body: VolumeAttachment; +} +export interface DeleteStorageV1CollectionVolumeAttachmentRequest { + query: { + pretty?: string; + continue?: string; + dryRun?: string; + fieldSelector?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + labelSelector?: string; + limit?: number; + orphanDependents?: boolean; + propagationPolicy?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + }; +} +export interface ReadStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: VolumeAttachment; +} +export interface DeleteStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + gracePeriodSeconds?: number; + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; + orphanDependents?: boolean; + propagationPolicy?: string; + }; + path: { + name: string; + }; +} +export interface PatchStorageV1VolumeAttachmentRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface ReadStorageV1VolumeAttachmentStatusRequest { + query: { + pretty?: string; + }; + path: { + name: string; + }; +} +export interface ReplaceStorageV1VolumeAttachmentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + }; + path: { + name: string; + }; + body: VolumeAttachment; +} +export interface PatchStorageV1VolumeAttachmentStatusRequest { + query: { + pretty?: string; + dryRun?: string; + fieldManager?: string; + fieldValidation?: string; + force?: boolean; + }; + path: { + name: string; + }; + body: Patch; +} +export interface WatchStorageV1CSIDriverListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1CSIDriverRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchStorageV1CSINodeListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1CSINodeRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + namespace: string; + }; +} +export interface WatchStorageV1NamespacedCSIStorageCapacityRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + namespace: string; + }; +} +export interface WatchStorageV1StorageClassListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1StorageClassRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface WatchStorageV1VolumeAttachmentListRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; +} +export interface WatchStorageV1VolumeAttachmentRequest { + query: { + allowWatchBookmarks?: boolean; + continue?: string; + fieldSelector?: string; + labelSelector?: string; + limit?: number; + pretty?: string; + resourceVersion?: string; + resourceVersionMatch?: string; + sendInitialEvents?: boolean; + timeoutSeconds?: number; + watch?: boolean; + }; + path: { + name: string; + }; +} +export interface GetServiceAccountIssuerOpenIDKeysetRequest {} +export interface GetCodeVersionRequest {} +export class KubernetesClient extends APIClient { + constructor(options) { + super(options); + } + async getSwaggerJSON() { + const path = "/openapi/v2"; + return this.get(path); + } + async getServiceAccountIssuerOpenIDConfiguration(params: GetServiceAccountIssuerOpenIDConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/.well-known/openid-configuration/\`; + return await this.get(path, null, null, opts); + } + async getCoreAPIVersions(params: GetCoreAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/\`; + return await this.get(path, null, null, opts); + } + async getCoreV1APIResources(params: GetCoreV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ComponentStatus(params: ListCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/componentstatuses\`; + return await this.get(path, null, null, opts); + } + async readCoreV1ComponentStatus(params: ReadCoreV1ComponentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/componentstatuses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ConfigMapForAllNamespaces(params: ListCoreV1ConfigMapForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/configmaps\`; + return await this.get(path, null, null, opts); + } + async listCoreV1EndpointsForAllNamespaces(params: ListCoreV1EndpointsForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/endpoints\`; + return await this.get(path, null, null, opts); + } + async listCoreV1EventForAllNamespaces(params: ListCoreV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/events\`; + return await this.get(path, null, null, opts); + } + async listCoreV1LimitRangeForAllNamespaces(params: ListCoreV1LimitRangeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/limitranges\`; + return await this.get(path, null, null, opts); + } + async listCoreV1Namespace(params: ListCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces\`; + return await this.get(path, null, null, opts); + } + async createCoreV1Namespace(params: CreateCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces\`; + return await this.post(path, params.query, params.body, opts); + } + async createCoreV1NamespacedBinding(params: CreateCoreV1NamespacedBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/bindings\`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedConfigMap(params: ListCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedConfigMap(params: CreateCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedConfigMap(params: DeleteCoreV1CollectionNamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedConfigMap(params: ReadCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedConfigMap(params: ReplaceCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedConfigMap(params: DeleteCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedConfigMap(params: PatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEndpoints(params: ListCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEndpoints(params: CreateCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEndpoints(params: DeleteCoreV1CollectionNamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEndpoints(params: ReadCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEndpoints(params: ReplaceCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEndpoints(params: DeleteCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEndpoints(params: PatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedEvent(params: ListCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedEvent(params: CreateCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedEvent(params: DeleteCoreV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedEvent(params: ReadCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedEvent(params: ReplaceCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedEvent(params: DeleteCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedEvent(params: PatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedLimitRange(params: ListCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedLimitRange(params: CreateCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedLimitRange(params: DeleteCoreV1CollectionNamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedLimitRange(params: ReadCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedLimitRange(params: ReplaceCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedLimitRange(params: DeleteCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedLimitRange(params: PatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPersistentVolumeClaim(params: ListCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPersistentVolumeClaim(params: CreateCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params: DeleteCoreV1CollectionNamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaim(params: ReadCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaim(params: ReplaceCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPersistentVolumeClaim(params: DeleteCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaim(params: PatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedPersistentVolumeClaimStatus(params: ReadCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params: ReplaceCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPersistentVolumeClaimStatus(params: PatchCoreV1NamespacedPersistentVolumeClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPod(params: ListCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPod(params: CreateCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPod(params: DeleteCoreV1CollectionNamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPod(params: ReadCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPod(params: ReplaceCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPod(params: DeleteCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPod(params: PatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedPodAttach(params: ConnectCoreV1GetNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/attach\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodAttach(params: ConnectCoreV1PostNamespacedPodAttachRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/attach\`; + return await this.post(path, null, null, opts); + } + async createCoreV1NamespacedPodBinding(params: CreateCoreV1NamespacedPodBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/binding\`; + return await this.post(path, null, params.body, opts); + } + async readCoreV1NamespacedPodEphemeralcontainers(params: ReadCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/ephemeralcontainers\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodEphemeralcontainers(params: ReplaceCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/ephemeralcontainers\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodEphemeralcontainers(params: PatchCoreV1NamespacedPodEphemeralcontainersRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/ephemeralcontainers\`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedPodEviction(params: CreateCoreV1NamespacedPodEvictionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/eviction\`; + return await this.post(path, null, params.body, opts); + } + async connectCoreV1GetNamespacedPodExec(params: ConnectCoreV1GetNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/exec\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodExec(params: ConnectCoreV1PostNamespacedPodExecRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/exec\`; + return await this.post(path, null, null, opts); + } + async readCoreV1NamespacedPodLog(params: ReadCoreV1NamespacedPodLogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/log\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodPortforward(params: ConnectCoreV1GetNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/portforward\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodPortforward(params: ConnectCoreV1PostNamespacedPodPortforwardRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/portforward\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxy(params: ConnectCoreV1GetNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxy(params: ConnectCoreV1PostNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxy(params: ConnectCoreV1PutNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxy(params: ConnectCoreV1DeleteNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxy(params: ConnectCoreV1PatchNamespacedPodProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy\`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedPodProxyWithPath(params: ConnectCoreV1GetNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedPodProxyWithPath(params: ConnectCoreV1PostNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedPodProxyWithPath(params: ConnectCoreV1PutNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedPodProxyWithPath(params: ConnectCoreV1DeleteNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedPodProxyWithPath(params: ConnectCoreV1PatchNamespacedPodProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedPodStatus(params: ReadCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodStatus(params: ReplaceCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedPodStatus(params: PatchCoreV1NamespacedPodStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/pods/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedPodTemplate(params: ListCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedPodTemplate(params: CreateCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedPodTemplate(params: DeleteCoreV1CollectionNamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedPodTemplate(params: ReadCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedPodTemplate(params: ReplaceCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedPodTemplate(params: DeleteCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedPodTemplate(params: PatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedReplicationController(params: ListCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedReplicationController(params: CreateCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedReplicationController(params: DeleteCoreV1CollectionNamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationController(params: ReadCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationController(params: ReplaceCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedReplicationController(params: DeleteCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedReplicationController(params: PatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerScale(params: ReadCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerScale(params: ReplaceCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerScale(params: PatchCoreV1NamespacedReplicationControllerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedReplicationControllerStatus(params: ReadCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedReplicationControllerStatus(params: ReplaceCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedReplicationControllerStatus(params: PatchCoreV1NamespacedReplicationControllerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedResourceQuota(params: ListCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedResourceQuota(params: CreateCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedResourceQuota(params: DeleteCoreV1CollectionNamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuota(params: ReadCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuota(params: ReplaceCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedResourceQuota(params: DeleteCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedResourceQuota(params: PatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1NamespacedResourceQuotaStatus(params: ReadCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedResourceQuotaStatus(params: ReplaceCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedResourceQuotaStatus(params: PatchCoreV1NamespacedResourceQuotaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedSecret(params: ListCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedSecret(params: CreateCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedSecret(params: DeleteCoreV1CollectionNamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedSecret(params: ReadCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedSecret(params: ReplaceCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedSecret(params: DeleteCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedSecret(params: PatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1NamespacedServiceAccount(params: ListCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedServiceAccount(params: CreateCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedServiceAccount(params: DeleteCoreV1CollectionNamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedServiceAccount(params: ReadCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceAccount(params: ReplaceCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedServiceAccount(params: DeleteCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedServiceAccount(params: PatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async createCoreV1NamespacedServiceAccountToken(params: CreateCoreV1NamespacedServiceAccountTokenRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}/token\`; + return await this.post(path, null, params.body, opts); + } + async listCoreV1NamespacedService(params: ListCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services\`; + return await this.get(path, null, null, opts); + } + async createCoreV1NamespacedService(params: CreateCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNamespacedService(params: DeleteCoreV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1NamespacedService(params: ReadCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedService(params: ReplaceCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1NamespacedService(params: DeleteCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1NamespacedService(params: PatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNamespacedServiceProxy(params: ConnectCoreV1GetNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxy(params: ConnectCoreV1PostNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxy(params: ConnectCoreV1PutNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxy(params: ConnectCoreV1DeleteNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxy(params: ConnectCoreV1PatchNamespacedServiceProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy\`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNamespacedServiceProxyWithPath(params: ConnectCoreV1GetNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNamespacedServiceProxyWithPath(params: ConnectCoreV1PostNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNamespacedServiceProxyWithPath(params: ConnectCoreV1PutNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNamespacedServiceProxyWithPath(params: ConnectCoreV1DeleteNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNamespacedServiceProxyWithPath(params: ConnectCoreV1PatchNamespacedServiceProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NamespacedServiceStatus(params: ReadCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespacedServiceStatus(params: ReplaceCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespacedServiceStatus(params: PatchCoreV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1Namespace(params: ReadCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Namespace(params: ReplaceCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Namespace(params: DeleteCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Namespace(params: PatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async replaceCoreV1NamespaceFinalize(params: ReplaceCoreV1NamespaceFinalizeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}/finalize\`; + return await this.put(path, null, params.body, opts); + } + async readCoreV1NamespaceStatus(params: ReadCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NamespaceStatus(params: ReplaceCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NamespaceStatus(params: PatchCoreV1NamespaceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/namespaces/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1Node(params: ListCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes\`; + return await this.get(path, null, null, opts); + } + async createCoreV1Node(params: CreateCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionNode(params: DeleteCoreV1CollectionNodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1Node(params: ReadCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1Node(params: ReplaceCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1Node(params: DeleteCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1Node(params: PatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async connectCoreV1GetNodeProxy(params: ConnectCoreV1GetNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxy(params: ConnectCoreV1PostNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxy(params: ConnectCoreV1PutNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxy(params: ConnectCoreV1DeleteNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNodeProxy(params: ConnectCoreV1PatchNodeProxyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy\`; + return await this.patch(path, null, null, opts); + } + async connectCoreV1GetNodeProxyWithPath(params: ConnectCoreV1GetNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.get(path, null, null, opts); + } + async connectCoreV1PostNodeProxyWithPath(params: ConnectCoreV1PostNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.post(path, null, null, opts); + } + async connectCoreV1PutNodeProxyWithPath(params: ConnectCoreV1PutNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.put(path, null, null, opts); + } + async connectCoreV1DeleteNodeProxyWithPath(params: ConnectCoreV1DeleteNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.delete(path, null, null, opts); + } + async connectCoreV1PatchNodeProxyWithPath(params: ConnectCoreV1PatchNodeProxyWithPathRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/proxy/\${params.path.path}\`; + return await this.patch(path, null, null, opts); + } + async readCoreV1NodeStatus(params: ReadCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1NodeStatus(params: ReplaceCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1NodeStatus(params: PatchCoreV1NodeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/nodes/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PersistentVolumeClaimForAllNamespaces(params: ListCoreV1PersistentVolumeClaimForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async listCoreV1PersistentVolume(params: ListCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes\`; + return await this.get(path, null, null, opts); + } + async createCoreV1PersistentVolume(params: CreateCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoreV1CollectionPersistentVolume(params: DeleteCoreV1CollectionPersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes\`; + return await this.delete(path, params.query, null, opts); + } + async readCoreV1PersistentVolume(params: ReadCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolume(params: ReplaceCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoreV1PersistentVolume(params: DeleteCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoreV1PersistentVolume(params: PatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCoreV1PersistentVolumeStatus(params: ReadCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCoreV1PersistentVolumeStatus(params: ReplaceCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCoreV1PersistentVolumeStatus(params: PatchCoreV1PersistentVolumeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/persistentvolumes/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCoreV1PodForAllNamespaces(params: ListCoreV1PodForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/pods\`; + return await this.get(path, null, null, opts); + } + async listCoreV1PodTemplateForAllNamespaces(params: ListCoreV1PodTemplateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/podtemplates\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ReplicationControllerForAllNamespaces(params: ListCoreV1ReplicationControllerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ResourceQuotaForAllNamespaces(params: ListCoreV1ResourceQuotaForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async listCoreV1SecretForAllNamespaces(params: ListCoreV1SecretForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/secrets\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceAccountForAllNamespaces(params: ListCoreV1ServiceAccountForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async listCoreV1ServiceForAllNamespaces(params: ListCoreV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/services\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ConfigMapListForAllNamespaces(params: WatchCoreV1ConfigMapListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/configmaps\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EndpointsListForAllNamespaces(params: WatchCoreV1EndpointsListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/endpoints\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1EventListForAllNamespaces(params: WatchCoreV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/events\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1LimitRangeListForAllNamespaces(params: WatchCoreV1LimitRangeListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/limitranges\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespaceList(params: WatchCoreV1NamespaceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMapList(params: WatchCoreV1NamespacedConfigMapListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/configmaps\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedConfigMap(params: WatchCoreV1NamespacedConfigMapRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/configmaps/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpointsList(params: WatchCoreV1NamespacedEndpointsListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/endpoints\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEndpoints(params: WatchCoreV1NamespacedEndpointsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/endpoints/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEventList(params: WatchCoreV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedEvent(params: WatchCoreV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRangeList(params: WatchCoreV1NamespacedLimitRangeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/limitranges\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedLimitRange(params: WatchCoreV1NamespacedLimitRangeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/limitranges/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaimList(params: WatchCoreV1NamespacedPersistentVolumeClaimListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPersistentVolumeClaim(params: WatchCoreV1NamespacedPersistentVolumeClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/persistentvolumeclaims/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodList(params: WatchCoreV1NamespacedPodListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/pods\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPod(params: WatchCoreV1NamespacedPodRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/pods/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplateList(params: WatchCoreV1NamespacedPodTemplateListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/podtemplates\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedPodTemplate(params: WatchCoreV1NamespacedPodTemplateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/podtemplates/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationControllerList(params: WatchCoreV1NamespacedReplicationControllerListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedReplicationController(params: WatchCoreV1NamespacedReplicationControllerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/replicationcontrollers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuotaList(params: WatchCoreV1NamespacedResourceQuotaListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedResourceQuota(params: WatchCoreV1NamespacedResourceQuotaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/resourcequotas/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecretList(params: WatchCoreV1NamespacedSecretListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/secrets\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedSecret(params: WatchCoreV1NamespacedSecretRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/secrets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccountList(params: WatchCoreV1NamespacedServiceAccountListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceAccount(params: WatchCoreV1NamespacedServiceAccountRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/serviceaccounts/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedServiceList(params: WatchCoreV1NamespacedServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/services\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NamespacedService(params: WatchCoreV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Namespace(params: WatchCoreV1NamespaceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/namespaces/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1NodeList(params: WatchCoreV1NodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/nodes\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1Node(params: WatchCoreV1NodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/nodes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params: WatchCoreV1PersistentVolumeClaimListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/persistentvolumeclaims\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolumeList(params: WatchCoreV1PersistentVolumeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/persistentvolumes\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PersistentVolume(params: WatchCoreV1PersistentVolumeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/persistentvolumes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodListForAllNamespaces(params: WatchCoreV1PodListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/pods\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1PodTemplateListForAllNamespaces(params: WatchCoreV1PodTemplateListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/podtemplates\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ReplicationControllerListForAllNamespaces(params: WatchCoreV1ReplicationControllerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/replicationcontrollers\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ResourceQuotaListForAllNamespaces(params: WatchCoreV1ResourceQuotaListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/resourcequotas\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1SecretListForAllNamespaces(params: WatchCoreV1SecretListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/secrets\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceAccountListForAllNamespaces(params: WatchCoreV1ServiceAccountListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/serviceaccounts\`; + return await this.get(path, null, null, opts); + } + async watchCoreV1ServiceListForAllNamespaces(params: WatchCoreV1ServiceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/api/v1/watch/services\`; + return await this.get(path, null, null, opts); + } + async getAPIVersions(params: GetAPIVersionsRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/\`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1ChallengeForAllNamespaces(params: ListAcmeCertManagerIoV1ChallengeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/challenges\`; + return await this.get(path, null, null, opts); + } + async listAcmeCertManagerIoV1NamespacedChallenge(params: ListAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges\`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedChallenge(params: CreateAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedChallenge(params: DeleteAcmeCertManagerIoV1CollectionNamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges\`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallenge(params: ReadAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallenge(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedChallenge(params: DeleteAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallenge(params: PatchAcmeCertManagerIoV1NamespacedChallengeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReadAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedChallengeStatus(params: ReplaceAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedChallengeStatus(params: PatchAcmeCertManagerIoV1NamespacedChallengeStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/challenges/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1NamespacedOrder(params: ListAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders\`; + return await this.get(path, null, null, opts); + } + async createAcmeCertManagerIoV1NamespacedOrder(params: CreateAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1CollectionNamespacedOrder(params: DeleteAcmeCertManagerIoV1CollectionNamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders\`; + return await this.delete(path, null, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrder(params: ReadAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrder(params: ReplaceAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAcmeCertManagerIoV1NamespacedOrder(params: DeleteAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrder(params: PatchAcmeCertManagerIoV1NamespacedOrderRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAcmeCertManagerIoV1NamespacedOrderStatus(params: ReadAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAcmeCertManagerIoV1NamespacedOrderStatus(params: ReplaceAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAcmeCertManagerIoV1NamespacedOrderStatus(params: PatchAcmeCertManagerIoV1NamespacedOrderStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/namespaces/\${params.path.namespace}/orders/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAcmeCertManagerIoV1OrderForAllNamespaces(params: ListAcmeCertManagerIoV1OrderForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/acme.cert-manager.io/v1/orders\`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationAPIGroup(params: GetAdmissionregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getAdmissionregistrationV1APIResources(params: GetAdmissionregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listAdmissionregistrationV1MutatingWebhookConfiguration(params: ListAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1MutatingWebhookConfiguration(params: CreateAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionMutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1MutatingWebhookConfiguration(params: ReadAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params: DeleteAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1MutatingWebhookConfiguration(params: PatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicy(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicy(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicy(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicy(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicy(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyStatus(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ListAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: CreateAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1CollectionValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReadAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: ReplaceAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: DeleteAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: PatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listAdmissionregistrationV1ValidatingWebhookConfiguration(params: ListAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async createAdmissionregistrationV1ValidatingWebhookConfiguration(params: CreateAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1CollectionValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations\`; + return await this.delete(path, params.query, null, opts); + } + async readAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReadAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params: ReplaceAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params: DeleteAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params: PatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1MutatingWebhookConfiguration(params: WatchAdmissionregistrationV1MutatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicy(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBindingList(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingAdmissionPolicyBinding(params: WatchAdmissionregistrationV1ValidatingAdmissionPolicyBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations\`; + return await this.get(path, null, null, opts); + } + async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params: WatchAdmissionregistrationV1ValidatingWebhookConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getApiextensionsAPIGroup(params: GetApiextensionsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getApiextensionsV1APIResources(params: GetApiextensionsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listApiextensionsV1CustomResourceDefinition(params: ListApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; + return await this.get(path, null, null, opts); + } + async createApiextensionsV1CustomResourceDefinition(params: CreateApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CollectionCustomResourceDefinition(params: DeleteApiextensionsV1CollectionCustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions\`; + return await this.delete(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinition(params: ReadApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinition(params: ReplaceApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiextensionsV1CustomResourceDefinition(params: DeleteApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchApiextensionsV1CustomResourceDefinition(params: PatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readApiextensionsV1CustomResourceDefinitionStatus(params: ReadApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceApiextensionsV1CustomResourceDefinitionStatus(params: ReplaceApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiextensionsV1CustomResourceDefinitionStatus(params: PatchApiextensionsV1CustomResourceDefinitionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/customresourcedefinitions/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchApiextensionsV1CustomResourceDefinitionList(params: WatchApiextensionsV1CustomResourceDefinitionListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions\`; + return await this.get(path, null, null, opts); + } + async watchApiextensionsV1CustomResourceDefinition(params: WatchApiextensionsV1CustomResourceDefinitionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getApiregistrationAPIGroup(params: GetApiregistrationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getApiregistrationV1APIResources(params: GetApiregistrationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listApiregistrationV1APIService(params: ListApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; + return await this.get(path, null, null, opts); + } + async createApiregistrationV1APIService(params: CreateApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteApiregistrationV1CollectionAPIService(params: DeleteApiregistrationV1CollectionAPIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices\`; + return await this.delete(path, params.query, null, opts); + } + async readApiregistrationV1APIService(params: ReadApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIService(params: ReplaceApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteApiregistrationV1APIService(params: DeleteApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchApiregistrationV1APIService(params: PatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readApiregistrationV1APIServiceStatus(params: ReadApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceApiregistrationV1APIServiceStatus(params: ReplaceApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchApiregistrationV1APIServiceStatus(params: PatchApiregistrationV1APIServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/apiservices/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchApiregistrationV1APIServiceList(params: WatchApiregistrationV1APIServiceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices\`; + return await this.get(path, null, null, opts); + } + async watchApiregistrationV1APIService(params: WatchApiregistrationV1APIServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apiregistration.k8s.io/v1/watch/apiservices/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getAppsAPIGroup(params: GetAppsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/\`; + return await this.get(path, null, null, opts); + } + async getAppsV1APIResources(params: GetAppsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/\`; + return await this.get(path, null, null, opts); + } + async listAppsV1ControllerRevisionForAllNamespaces(params: ListAppsV1ControllerRevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async listAppsV1DaemonSetForAllNamespaces(params: ListAppsV1DaemonSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/daemonsets\`; + return await this.get(path, null, null, opts); + } + async listAppsV1DeploymentForAllNamespaces(params: ListAppsV1DeploymentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/deployments\`; + return await this.get(path, null, null, opts); + } + async listAppsV1NamespacedControllerRevision(params: ListAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedControllerRevision(params: CreateAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedControllerRevision(params: DeleteAppsV1CollectionNamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedControllerRevision(params: ReadAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedControllerRevision(params: ReplaceAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedControllerRevision(params: DeleteAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedControllerRevision(params: PatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDaemonSet(params: ListAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDaemonSet(params: CreateAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDaemonSet(params: DeleteAppsV1CollectionNamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSet(params: ReadAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSet(params: ReplaceAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDaemonSet(params: DeleteAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDaemonSet(params: PatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDaemonSetStatus(params: ReadAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDaemonSetStatus(params: ReplaceAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDaemonSetStatus(params: PatchAppsV1NamespacedDaemonSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedDeployment(params: ListAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedDeployment(params: CreateAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedDeployment(params: DeleteAppsV1CollectionNamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedDeployment(params: ReadAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeployment(params: ReplaceAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedDeployment(params: DeleteAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedDeployment(params: PatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentScale(params: ReadAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentScale(params: ReplaceAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentScale(params: PatchAppsV1NamespacedDeploymentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedDeploymentStatus(params: ReadAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedDeploymentStatus(params: ReplaceAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedDeploymentStatus(params: PatchAppsV1NamespacedDeploymentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/deployments/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedReplicaSet(params: ListAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedReplicaSet(params: CreateAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedReplicaSet(params: DeleteAppsV1CollectionNamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSet(params: ReadAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSet(params: ReplaceAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedReplicaSet(params: DeleteAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedReplicaSet(params: PatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetScale(params: ReadAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetScale(params: ReplaceAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetScale(params: PatchAppsV1NamespacedReplicaSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedReplicaSetStatus(params: ReadAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedReplicaSetStatus(params: ReplaceAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedReplicaSetStatus(params: PatchAppsV1NamespacedReplicaSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1NamespacedStatefulSet(params: ListAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets\`; + return await this.get(path, null, null, opts); + } + async createAppsV1NamespacedStatefulSet(params: CreateAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAppsV1CollectionNamespacedStatefulSet(params: DeleteAppsV1CollectionNamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets\`; + return await this.delete(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSet(params: ReadAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSet(params: ReplaceAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAppsV1NamespacedStatefulSet(params: DeleteAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAppsV1NamespacedStatefulSet(params: PatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetScale(params: ReadAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetScale(params: ReplaceAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetScale(params: PatchAppsV1NamespacedStatefulSetScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readAppsV1NamespacedStatefulSetStatus(params: ReadAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAppsV1NamespacedStatefulSetStatus(params: ReplaceAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAppsV1NamespacedStatefulSetStatus(params: PatchAppsV1NamespacedStatefulSetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAppsV1ReplicaSetForAllNamespaces(params: ListAppsV1ReplicaSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/replicasets\`; + return await this.get(path, null, null, opts); + } + async listAppsV1StatefulSetForAllNamespaces(params: ListAppsV1StatefulSetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/statefulsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ControllerRevisionListForAllNamespaces(params: WatchAppsV1ControllerRevisionListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DaemonSetListForAllNamespaces(params: WatchAppsV1DaemonSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/daemonsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1DeploymentListForAllNamespaces(params: WatchAppsV1DeploymentListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/deployments\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevisionList(params: WatchAppsV1NamespacedControllerRevisionListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/controllerrevisions\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedControllerRevision(params: WatchAppsV1NamespacedControllerRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/controllerrevisions/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSetList(params: WatchAppsV1NamespacedDaemonSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/daemonsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDaemonSet(params: WatchAppsV1NamespacedDaemonSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/daemonsets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeploymentList(params: WatchAppsV1NamespacedDeploymentListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/deployments\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedDeployment(params: WatchAppsV1NamespacedDeploymentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/deployments/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSetList(params: WatchAppsV1NamespacedReplicaSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/replicasets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedReplicaSet(params: WatchAppsV1NamespacedReplicaSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/replicasets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSetList(params: WatchAppsV1NamespacedStatefulSetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/statefulsets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1NamespacedStatefulSet(params: WatchAppsV1NamespacedStatefulSetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/namespaces/\${params.path.namespace}/statefulsets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1ReplicaSetListForAllNamespaces(params: WatchAppsV1ReplicaSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/replicasets\`; + return await this.get(path, null, null, opts); + } + async watchAppsV1StatefulSetListForAllNamespaces(params: WatchAppsV1StatefulSetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/apps/v1/watch/statefulsets\`; + return await this.get(path, null, null, opts); + } + async getAuthenticationAPIGroup(params: GetAuthenticationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getAuthenticationV1APIResources(params: GetAuthenticationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async createAuthenticationV1SelfSubjectReview(params: CreateAuthenticationV1SelfSubjectReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/v1/selfsubjectreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthenticationV1TokenReview(params: CreateAuthenticationV1TokenReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authentication.k8s.io/v1/tokenreviews\`; + return await this.post(path, null, params.body, opts); + } + async getAuthorizationAPIGroup(params: GetAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getAuthorizationV1APIResources(params: GetAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async createAuthorizationV1NamespacedLocalSubjectAccessReview(params: CreateAuthorizationV1NamespacedLocalSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/namespaces/\${params.path.namespace}/localsubjectaccessreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectAccessReview(params: CreateAuthorizationV1SelfSubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/selfsubjectaccessreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SelfSubjectRulesReview(params: CreateAuthorizationV1SelfSubjectRulesReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/selfsubjectrulesreviews\`; + return await this.post(path, null, params.body, opts); + } + async createAuthorizationV1SubjectAccessReview(params: CreateAuthorizationV1SubjectAccessReviewRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/authorization.k8s.io/v1/subjectaccessreviews\`; + return await this.post(path, null, params.body, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1MetricForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/metrics\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics\`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetric(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedMetricStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/metrics/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ListAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: CreateAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1CollectionNamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers\`; + return await this.delete(path, null, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: DeleteAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscaler(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReadAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: ReplaceAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatus(params: PatchAutoscalingInternalKnativeDevV1alpha1NamespacedPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/podautoscalers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespaces(params: ListAutoscalingInternalKnativeDevV1alpha1PodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling.internal.knative.dev/v1alpha1/podautoscalers\`; + return await this.get(path, null, null, opts); + } + async getAutoscalingAPIGroup(params: GetAutoscalingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/\`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV1APIResources(params: GetAutoscalingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV1NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/watch/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV1NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v1/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getAutoscalingV2APIResources(params: GetAutoscalingV2APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2HorizontalPodAutoscalerForAllNamespaces(params: ListAutoscalingV2HorizontalPodAutoscalerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async listAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ListAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async createAutoscalingV2NamespacedHorizontalPodAutoscaler(params: CreateAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2CollectionNamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.delete(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscaler(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteAutoscalingV2NamespacedHorizontalPodAutoscaler(params: DeleteAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReadAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: ReplaceAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchAutoscalingV2NamespacedHorizontalPodAutoscalerStatus(params: PatchAutoscalingV2NamespacedHorizontalPodAutoscalerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchAutoscalingV2HorizontalPodAutoscalerListForAllNamespaces(params: WatchAutoscalingV2HorizontalPodAutoscalerListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/watch/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscalerList(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers\`; + return await this.get(path, null, null, opts); + } + async watchAutoscalingV2NamespacedHorizontalPodAutoscaler(params: WatchAutoscalingV2NamespacedHorizontalPodAutoscalerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/autoscaling/v2/watch/namespaces/\${params.path.namespace}/horizontalpodautoscalers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getBatchAPIGroup(params: GetBatchAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/\`; + return await this.get(path, null, null, opts); + } + async getBatchV1APIResources(params: GetBatchV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/\`; + return await this.get(path, null, null, opts); + } + async listBatchV1CronJobForAllNamespaces(params: ListBatchV1CronJobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/cronjobs\`; + return await this.get(path, null, null, opts); + } + async listBatchV1JobForAllNamespaces(params: ListBatchV1JobForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/jobs\`; + return await this.get(path, null, null, opts); + } + async listBatchV1NamespacedCronJob(params: ListBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs\`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedCronJob(params: CreateBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedCronJob(params: DeleteBatchV1CollectionNamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs\`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJob(params: ReadBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJob(params: ReplaceBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedCronJob(params: DeleteBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedCronJob(params: PatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedCronJobStatus(params: ReadBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedCronJobStatus(params: ReplaceBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedCronJobStatus(params: PatchBatchV1NamespacedCronJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listBatchV1NamespacedJob(params: ListBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs\`; + return await this.get(path, null, null, opts); + } + async createBatchV1NamespacedJob(params: CreateBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteBatchV1CollectionNamespacedJob(params: DeleteBatchV1CollectionNamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs\`; + return await this.delete(path, params.query, null, opts); + } + async readBatchV1NamespacedJob(params: ReadBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJob(params: ReplaceBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteBatchV1NamespacedJob(params: DeleteBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchBatchV1NamespacedJob(params: PatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readBatchV1NamespacedJobStatus(params: ReadBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceBatchV1NamespacedJobStatus(params: ReplaceBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchBatchV1NamespacedJobStatus(params: PatchBatchV1NamespacedJobStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/namespaces/\${params.path.namespace}/jobs/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchBatchV1CronJobListForAllNamespaces(params: WatchBatchV1CronJobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/cronjobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1JobListForAllNamespaces(params: WatchBatchV1JobListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/jobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJobList(params: WatchBatchV1NamespacedCronJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/cronjobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedCronJob(params: WatchBatchV1NamespacedCronJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/cronjobs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJobList(params: WatchBatchV1NamespacedJobListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/jobs\`; + return await this.get(path, null, null, opts); + } + async watchBatchV1NamespacedJob(params: WatchBatchV1NamespacedJobRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/batch/v1/watch/namespaces/\${params.path.namespace}/jobs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1ImageForAllNamespaces(params: ListCachingInternalKnativeDevV1alpha1ImageForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/images\`; + return await this.get(path, null, null, opts); + } + async listCachingInternalKnativeDevV1alpha1NamespacedImage(params: ListCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images\`; + return await this.get(path, null, null, opts); + } + async createCachingInternalKnativeDevV1alpha1NamespacedImage(params: CreateCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1CollectionNamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images\`; + return await this.delete(path, null, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImage(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCachingInternalKnativeDevV1alpha1NamespacedImage(params: DeleteCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImage(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReadCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: ReplaceCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCachingInternalKnativeDevV1alpha1NamespacedImageStatus(params: PatchCachingInternalKnativeDevV1alpha1NamespacedImageStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/caching.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/images/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1CertificateRequestForAllNamespaces(params: ListCertManagerIoV1CertificateRequestForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/certificaterequests\`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1CertificateForAllNamespaces(params: ListCertManagerIoV1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/certificates\`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1ClusterIssuer(params: ListCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1ClusterIssuer(params: CreateCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionClusterIssuer(params: DeleteCertManagerIoV1CollectionClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1ClusterIssuer(params: ReadCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuer(params: ReplaceCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1ClusterIssuer(params: DeleteCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1ClusterIssuer(params: PatchCertManagerIoV1ClusterIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1ClusterIssuerStatus(params: ReadCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1ClusterIssuerStatus(params: ReplaceCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1ClusterIssuerStatus(params: PatchCertManagerIoV1ClusterIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/clusterissuers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1IssuerForAllNamespaces(params: ListCertManagerIoV1IssuerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/issuers\`; + return await this.get(path, null, null, opts); + } + async listCertManagerIoV1NamespacedCertificateRequest(params: ListCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificateRequest(params: CreateCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificateRequest(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequest(params: ReadCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequest(params: ReplaceCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificateRequest(params: DeleteCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequest(params: PatchCertManagerIoV1NamespacedCertificateRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateRequestStatus(params: ReadCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateRequestStatus(params: ReplaceCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateRequestStatus(params: PatchCertManagerIoV1NamespacedCertificateRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificaterequests/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedCertificate(params: ListCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedCertificate(params: CreateCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedCertificate(params: DeleteCertManagerIoV1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedCertificate(params: ReadCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificate(params: ReplaceCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedCertificate(params: DeleteCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedCertificate(params: PatchCertManagerIoV1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedCertificateStatus(params: ReadCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedCertificateStatus(params: ReplaceCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedCertificateStatus(params: PatchCertManagerIoV1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listCertManagerIoV1NamespacedIssuer(params: ListCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers\`; + return await this.get(path, null, null, opts); + } + async createCertManagerIoV1NamespacedIssuer(params: CreateCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1CollectionNamespacedIssuer(params: DeleteCertManagerIoV1CollectionNamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers\`; + return await this.delete(path, null, null, opts); + } + async readCertManagerIoV1NamespacedIssuer(params: ReadCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuer(params: ReplaceCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertManagerIoV1NamespacedIssuer(params: DeleteCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertManagerIoV1NamespacedIssuer(params: PatchCertManagerIoV1NamespacedIssuerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertManagerIoV1NamespacedIssuerStatus(params: ReadCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertManagerIoV1NamespacedIssuerStatus(params: ReplaceCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertManagerIoV1NamespacedIssuerStatus(params: PatchCertManagerIoV1NamespacedIssuerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/cert-manager.io/v1/namespaces/\${params.path.namespace}/issuers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async getCertificatesAPIGroup(params: GetCertificatesAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getCertificatesV1APIResources(params: GetCertificatesV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listCertificatesV1CertificateSigningRequest(params: ListCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; + return await this.get(path, null, null, opts); + } + async createCertificatesV1CertificateSigningRequest(params: CreateCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCertificatesV1CollectionCertificateSigningRequest(params: DeleteCertificatesV1CollectionCertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests\`; + return await this.delete(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequest(params: ReadCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequest(params: ReplaceCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCertificatesV1CertificateSigningRequest(params: DeleteCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCertificatesV1CertificateSigningRequest(params: PatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestApproval(params: ReadCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/approval\`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestApproval(params: ReplaceCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/approval\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestApproval(params: PatchCertificatesV1CertificateSigningRequestApprovalRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/approval\`; + return await this.patch(path, params.query, null, opts); + } + async readCertificatesV1CertificateSigningRequestStatus(params: ReadCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceCertificatesV1CertificateSigningRequestStatus(params: ReplaceCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchCertificatesV1CertificateSigningRequestStatus(params: PatchCertificatesV1CertificateSigningRequestStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/certificatesigningrequests/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchCertificatesV1CertificateSigningRequestList(params: WatchCertificatesV1CertificateSigningRequestListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests\`; + return await this.get(path, null, null, opts); + } + async watchCertificatesV1CertificateSigningRequest(params: WatchCertificatesV1CertificateSigningRequestRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getCoordinationAPIGroup(params: GetCoordinationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getCoordinationV1APIResources(params: GetCoordinationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1LeaseForAllNamespaces(params: ListCoordinationV1LeaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/leases\`; + return await this.get(path, null, null, opts); + } + async listCoordinationV1NamespacedLease(params: ListCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases\`; + return await this.get(path, null, null, opts); + } + async createCoordinationV1NamespacedLease(params: CreateCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteCoordinationV1CollectionNamespacedLease(params: DeleteCoordinationV1CollectionNamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases\`; + return await this.delete(path, params.query, null, opts); + } + async readCoordinationV1NamespacedLease(params: ReadCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceCoordinationV1NamespacedLease(params: ReplaceCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteCoordinationV1NamespacedLease(params: DeleteCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchCoordinationV1NamespacedLease(params: PatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchCoordinationV1LeaseListForAllNamespaces(params: WatchCoordinationV1LeaseListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/watch/leases\`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLeaseList(params: WatchCoordinationV1NamespacedLeaseListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.path.namespace}/leases\`; + return await this.get(path, null, null, opts); + } + async watchCoordinationV1NamespacedLease(params: WatchCoordinationV1NamespacedLeaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/coordination.k8s.io/v1/watch/namespaces/\${params.path.namespace}/leases/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getDiscoveryAPIGroup(params: GetDiscoveryAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getDiscoveryV1APIResources(params: GetDiscoveryV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1EndpointSliceForAllNamespaces(params: ListDiscoveryV1EndpointSliceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/endpointslices\`; + return await this.get(path, null, null, opts); + } + async listDiscoveryV1NamespacedEndpointSlice(params: ListDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices\`; + return await this.get(path, null, null, opts); + } + async createDiscoveryV1NamespacedEndpointSlice(params: CreateDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params: DeleteDiscoveryV1CollectionNamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices\`; + return await this.delete(path, params.query, null, opts); + } + async readDiscoveryV1NamespacedEndpointSlice(params: ReadDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceDiscoveryV1NamespacedEndpointSlice(params: ReplaceDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteDiscoveryV1NamespacedEndpointSlice(params: DeleteDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchDiscoveryV1NamespacedEndpointSlice(params: PatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchDiscoveryV1EndpointSliceListForAllNamespaces(params: WatchDiscoveryV1EndpointSliceListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/watch/endpointslices\`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSliceList(params: WatchDiscoveryV1NamespacedEndpointSliceListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.path.namespace}/endpointslices\`; + return await this.get(path, null, null, opts); + } + async watchDiscoveryV1NamespacedEndpointSlice(params: WatchDiscoveryV1NamespacedEndpointSliceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/discovery.k8s.io/v1/watch/namespaces/\${params.path.namespace}/endpointslices/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getEventsAPIGroup(params: GetEventsAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getEventsV1APIResources(params: GetEventsV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listEventsV1EventForAllNamespaces(params: ListEventsV1EventForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/events\`; + return await this.get(path, null, null, opts); + } + async listEventsV1NamespacedEvent(params: ListEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async createEventsV1NamespacedEvent(params: CreateEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteEventsV1CollectionNamespacedEvent(params: DeleteEventsV1CollectionNamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events\`; + return await this.delete(path, params.query, null, opts); + } + async readEventsV1NamespacedEvent(params: ReadEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceEventsV1NamespacedEvent(params: ReplaceEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteEventsV1NamespacedEvent(params: DeleteEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchEventsV1NamespacedEvent(params: PatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchEventsV1EventListForAllNamespaces(params: WatchEventsV1EventListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/watch/events\`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEventList(params: WatchEventsV1NamespacedEventListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.path.namespace}/events\`; + return await this.get(path, null, null, opts); + } + async watchEventsV1NamespacedEvent(params: WatchEventsV1NamespacedEventRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/events.k8s.io/v1/watch/namespaces/\${params.path.namespace}/events/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverAPIGroup(params: GetFlowcontrolApiserverAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getFlowcontrolApiserverV1APIResources(params: GetFlowcontrolApiserverV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listFlowcontrolApiserverV1FlowSchema(params: ListFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas\`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1FlowSchema(params: CreateFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionFlowSchema(params: DeleteFlowcontrolApiserverV1CollectionFlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas\`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchema(params: ReadFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchema(params: ReplaceFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1FlowSchema(params: DeleteFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1FlowSchema(params: PatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1FlowSchemaStatus(params: ReadFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1FlowSchemaStatus(params: ReplaceFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1FlowSchemaStatus(params: PatchFlowcontrolApiserverV1FlowSchemaStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listFlowcontrolApiserverV1PriorityLevelConfiguration(params: ListFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations\`; + return await this.get(path, null, null, opts); + } + async createFlowcontrolApiserverV1PriorityLevelConfiguration(params: CreateFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1CollectionPriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations\`; + return await this.delete(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfiguration(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteFlowcontrolApiserverV1PriorityLevelConfiguration(params: DeleteFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfiguration(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReadFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: ReplaceFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus(params: PatchFlowcontrolApiserverV1PriorityLevelConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchemaList(params: WatchFlowcontrolApiserverV1FlowSchemaListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas\`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1FlowSchema(params: WatchFlowcontrolApiserverV1FlowSchemaRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfigurationList(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations\`; + return await this.get(path, null, null, opts); + } + async watchFlowcontrolApiserverV1PriorityLevelConfiguration(params: WatchFlowcontrolApiserverV1PriorityLevelConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1AlertmanagerForAllNamespaces(params: ListMonitoringCoreosComV1AlertmanagerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/alertmanagers\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1NamespacedAlertmanager(params: ListMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedAlertmanager(params: CreateMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedAlertmanager(params: DeleteMonitoringCoreosComV1CollectionNamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanager(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanager(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedAlertmanager(params: DeleteMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanager(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerScale(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerScale(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReadMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: ReplaceMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedAlertmanagerStatus(params: PatchMonitoringCoreosComV1NamespacedAlertmanagerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/alertmanagers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPodMonitor(params: ListMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPodMonitor(params: CreateMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPodMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPodMonitor(params: ReadMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPodMonitor(params: ReplaceMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPodMonitor(params: DeleteMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPodMonitor(params: PatchMonitoringCoreosComV1NamespacedPodMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/podmonitors/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedProbe(params: ListMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedProbe(params: CreateMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedProbe(params: DeleteMonitoringCoreosComV1CollectionNamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedProbe(params: ReadMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedProbe(params: ReplaceMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedProbe(params: DeleteMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedProbe(params: PatchMonitoringCoreosComV1NamespacedProbeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/probes/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheus(params: ListMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheus(params: CreateMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheus(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheus(params: ReadMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheus(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheus(params: PatchMonitoringCoreosComV1NamespacedPrometheusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusScale(params: ReadMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusScale(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusScale(params: PatchMonitoringCoreosComV1NamespacedPrometheusScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReadMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusStatus(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusStatus(params: PatchMonitoringCoreosComV1NamespacedPrometheusStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheuses/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedPrometheusRule(params: ListMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedPrometheusRule(params: CreateMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1CollectionNamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedPrometheusRule(params: ReadMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedPrometheusRule(params: ReplaceMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedPrometheusRule(params: DeleteMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedPrometheusRule(params: PatchMonitoringCoreosComV1NamespacedPrometheusRuleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/prometheusrules/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedServiceMonitor(params: ListMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedServiceMonitor(params: CreateMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1CollectionNamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitor(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitor(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedServiceMonitor(params: DeleteMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitor(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReadMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: ReplaceMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedServiceMonitorStatus(params: PatchMonitoringCoreosComV1NamespacedServiceMonitorStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/servicemonitors/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1NamespacedThanosRuler(params: ListMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1NamespacedThanosRuler(params: CreateMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1CollectionNamespacedThanosRuler(params: DeleteMonitoringCoreosComV1CollectionNamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRuler(params: ReadMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRuler(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1NamespacedThanosRuler(params: DeleteMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRuler(params: PatchMonitoringCoreosComV1NamespacedThanosRulerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReadMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1NamespacedThanosRulerStatus(params: ReplaceMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1NamespacedThanosRulerStatus(params: PatchMonitoringCoreosComV1NamespacedThanosRulerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/namespaces/\${params.path.namespace}/thanosrulers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1PodMonitorForAllNamespaces(params: ListMonitoringCoreosComV1PodMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/podmonitors\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ProbeForAllNamespaces(params: ListMonitoringCoreosComV1ProbeForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/probes\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/prometheuses\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1PrometheusRuleForAllNamespaces(params: ListMonitoringCoreosComV1PrometheusRuleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/prometheusrules\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ServiceMonitorForAllNamespaces(params: ListMonitoringCoreosComV1ServiceMonitorForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/servicemonitors\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1ThanosRulerForAllNamespaces(params: ListMonitoringCoreosComV1ThanosRulerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1/thanosrulers\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1AlertmanagerConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/alertmanagerconfigs\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ListMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedAlertmanagerConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/alertmanagerconfigs/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ListMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: CreateMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: DeleteMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgent(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScale(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReadMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: ReplaceMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatus(params: PatchMonitoringCoreosComV1alpha1NamespacedPrometheusAgentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/prometheusagents/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ListMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs\`; + return await this.get(path, null, null, opts); + } + async createMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: CreateMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1CollectionNamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs\`; + return await this.delete(path, null, null, opts); + } + async readMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReadMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: ReplaceMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: DeleteMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchMonitoringCoreosComV1alpha1NamespacedScrapeConfig(params: PatchMonitoringCoreosComV1alpha1NamespacedScrapeConfigRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/namespaces/\${params.path.namespace}/scrapeconfigs/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespaces(params: ListMonitoringCoreosComV1alpha1PrometheusAgentForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/prometheusagents\`; + return await this.get(path, null, null, opts); + } + async listMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespaces(params: ListMonitoringCoreosComV1alpha1ScrapeConfigForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/monitoring.coreos.com/v1alpha1/scrapeconfigs\`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1CertificateForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/certificates\`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ListNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: CreateNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: DeleteNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaim(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReadNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatus(params: PatchNetworkingInternalKnativeDevV1alpha1ClusterDomainClaimStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/clusterdomainclaims/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1IngressForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/ingresses\`; + return await this.get(path, null, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificate(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedCertificateStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/certificates/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngress(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ListNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices\`; + return await this.get(path, null, null, opts); + } + async createNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: CreateNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1CollectionNamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices\`; + return await this.delete(path, null, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: DeleteNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessService(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReadNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: ReplaceNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatus(params: PatchNetworkingInternalKnativeDevV1alpha1NamespacedServerlessServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/namespaces/\${params.path.namespace}/serverlessservices/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespaces(params: ListNetworkingInternalKnativeDevV1alpha1ServerlessServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.internal.knative.dev/v1alpha1/serverlessservices\`; + return await this.get(path, null, null, opts); + } + async getNetworkingAPIGroup(params: GetNetworkingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getNetworkingV1APIResources(params: GetNetworkingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1IngressClass(params: ListNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1IngressClass(params: CreateNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionIngressClass(params: DeleteNetworkingV1CollectionIngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1IngressClass(params: ReadNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1IngressClass(params: ReplaceNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1IngressClass(params: DeleteNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1IngressClass(params: PatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingressclasses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1IngressForAllNamespaces(params: ListNetworkingV1IngressForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/ingresses\`; + return await this.get(path, null, null, opts); + } + async listNetworkingV1NamespacedIngress(params: ListNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses\`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedIngress(params: CreateNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedIngress(params: DeleteNetworkingV1CollectionNamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses\`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngress(params: ReadNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngress(params: ReplaceNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedIngress(params: DeleteNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedIngress(params: PatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readNetworkingV1NamespacedIngressStatus(params: ReadNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedIngressStatus(params: ReplaceNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchNetworkingV1NamespacedIngressStatus(params: PatchNetworkingV1NamespacedIngressStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NamespacedNetworkPolicy(params: ListNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async createNetworkingV1NamespacedNetworkPolicy(params: CreateNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params: DeleteNetworkingV1CollectionNamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies\`; + return await this.delete(path, params.query, null, opts); + } + async readNetworkingV1NamespacedNetworkPolicy(params: ReadNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNetworkingV1NamespacedNetworkPolicy(params: ReplaceNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNetworkingV1NamespacedNetworkPolicy(params: DeleteNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNetworkingV1NamespacedNetworkPolicy(params: PatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listNetworkingV1NetworkPolicyForAllNamespaces(params: ListNetworkingV1NetworkPolicyForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClassList(params: WatchNetworkingV1IngressClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressClass(params: WatchNetworkingV1IngressClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/ingressclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1IngressListForAllNamespaces(params: WatchNetworkingV1IngressListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/ingresses\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngressList(params: WatchNetworkingV1NamespacedIngressListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/ingresses\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedIngress(params: WatchNetworkingV1NamespacedIngressRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/ingresses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicyList(params: WatchNetworkingV1NamespacedNetworkPolicyListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NamespacedNetworkPolicy(params: WatchNetworkingV1NamespacedNetworkPolicyRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/namespaces/\${params.path.namespace}/networkpolicies/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchNetworkingV1NetworkPolicyListForAllNamespaces(params: WatchNetworkingV1NetworkPolicyListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/networking.k8s.io/v1/watch/networkpolicies\`; + return await this.get(path, null, null, opts); + } + async getNodeAPIGroup(params: GetNodeAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getNodeV1APIResources(params: GetNodeV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listNodeV1RuntimeClass(params: ListNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; + return await this.get(path, null, null, opts); + } + async createNodeV1RuntimeClass(params: CreateNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteNodeV1CollectionRuntimeClass(params: DeleteNodeV1CollectionRuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readNodeV1RuntimeClass(params: ReadNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceNodeV1RuntimeClass(params: ReplaceNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteNodeV1RuntimeClass(params: DeleteNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchNodeV1RuntimeClass(params: PatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/runtimeclasses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchNodeV1RuntimeClassList(params: WatchNodeV1RuntimeClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses\`; + return await this.get(path, null, null, opts); + } + async watchNodeV1RuntimeClass(params: WatchNodeV1RuntimeClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/node.k8s.io/v1/watch/runtimeclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getPolicyAPIGroup(params: GetPolicyAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/\`; + return await this.get(path, null, null, opts); + } + async getPolicyV1APIResources(params: GetPolicyV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/\`; + return await this.get(path, null, null, opts); + } + async listPolicyV1NamespacedPodDisruptionBudget(params: ListPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async createPolicyV1NamespacedPodDisruptionBudget(params: CreatePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params: DeletePolicyV1CollectionNamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; + return await this.delete(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudget(params: ReadPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudget(params: ReplacePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePolicyV1NamespacedPodDisruptionBudget(params: DeletePolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudget(params: PatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPolicyV1NamespacedPodDisruptionBudgetStatus(params: ReadPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params: ReplacePolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params: PatchPolicyV1NamespacedPodDisruptionBudgetStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPolicyV1PodDisruptionBudgetForAllNamespaces(params: ListPolicyV1PodDisruptionBudgetForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudgetList(params: WatchPolicyV1NamespacedPodDisruptionBudgetListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/watch/namespaces/\${params.path.namespace}/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1NamespacedPodDisruptionBudget(params: WatchPolicyV1NamespacedPodDisruptionBudgetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/watch/namespaces/\${params.path.namespace}/poddisruptionbudgets/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params: WatchPolicyV1PodDisruptionBudgetListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/policy/v1/watch/poddisruptionbudgets\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1BackupForAllNamespaces(params: ListPostgresqlCnpgIoV1BackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/backups\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ClusterImageCatalog(params: ListPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1ClusterImageCatalog(params: CreatePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionClusterImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1ClusterImageCatalog(params: ReadPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1ClusterImageCatalog(params: ReplacePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1ClusterImageCatalog(params: DeletePostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1ClusterImageCatalog(params: PatchPostgresqlCnpgIoV1ClusterImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusterimagecatalogs/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1ClusterForAllNamespaces(params: ListPostgresqlCnpgIoV1ClusterForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/clusters\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1DatabaseForAllNamespaces(params: ListPostgresqlCnpgIoV1DatabaseForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/databases\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ImageCatalogForAllNamespaces(params: ListPostgresqlCnpgIoV1ImageCatalogForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/imagecatalogs\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedBackup(params: ListPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedBackup(params: CreatePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackup(params: ReadPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackup(params: ReplacePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedBackup(params: DeletePostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackup(params: PatchPostgresqlCnpgIoV1NamespacedBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/backups/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedCluster(params: ListPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedCluster(params: CreatePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedCluster(params: DeletePostgresqlCnpgIoV1CollectionNamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedCluster(params: ReadPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedCluster(params: ReplacePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedCluster(params: DeletePostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedCluster(params: PatchPostgresqlCnpgIoV1NamespacedClusterRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterScale(params: ReadPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterScale(params: ReplacePostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterScale(params: PatchPostgresqlCnpgIoV1NamespacedClusterScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedClusterStatus(params: ReadPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedClusterStatus(params: ReplacePostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedClusterStatus(params: PatchPostgresqlCnpgIoV1NamespacedClusterStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/clusters/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedDatabase(params: ListPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedDatabase(params: CreatePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedDatabase(params: DeletePostgresqlCnpgIoV1CollectionNamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabase(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabase(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedDatabase(params: DeletePostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabase(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReadPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedDatabaseStatus(params: ReplacePostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedDatabaseStatus(params: PatchPostgresqlCnpgIoV1NamespacedDatabaseStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/databases/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedImageCatalog(params: ListPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedImageCatalog(params: CreatePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1CollectionNamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedImageCatalog(params: ReadPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedImageCatalog(params: ReplacePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedImageCatalog(params: DeletePostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedImageCatalog(params: PatchPostgresqlCnpgIoV1NamespacedImageCatalogRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/imagecatalogs/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPooler(params: ListPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPooler(params: CreatePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPooler(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPooler(params: ReadPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPooler(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPooler(params: DeletePostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPooler(params: PatchPostgresqlCnpgIoV1NamespacedPoolerRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerScale(params: ReadPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}/scale\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerScale(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}/scale\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerScale(params: PatchPostgresqlCnpgIoV1NamespacedPoolerScaleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}/scale\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReadPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPoolerStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPoolerStatus(params: PatchPostgresqlCnpgIoV1NamespacedPoolerStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/poolers/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedPublication(params: ListPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedPublication(params: CreatePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedPublication(params: DeletePostgresqlCnpgIoV1CollectionNamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublication(params: ReadPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublication(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedPublication(params: DeletePostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublication(params: PatchPostgresqlCnpgIoV1NamespacedPublicationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReadPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedPublicationStatus(params: ReplacePostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedPublicationStatus(params: PatchPostgresqlCnpgIoV1NamespacedPublicationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/publications/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ListPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedScheduledBackup(params: CreatePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1CollectionNamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackup(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedScheduledBackup(params: DeletePostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackup(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReadPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: ReplacePostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedScheduledBackupStatus(params: PatchPostgresqlCnpgIoV1NamespacedScheduledBackupStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/scheduledbackups/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1NamespacedSubscription(params: ListPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions\`; + return await this.get(path, null, null, opts); + } + async createPostgresqlCnpgIoV1NamespacedSubscription(params: CreatePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions\`; + return await this.post(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1CollectionNamespacedSubscription(params: DeletePostgresqlCnpgIoV1CollectionNamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions\`; + return await this.delete(path, null, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscription(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscription(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deletePostgresqlCnpgIoV1NamespacedSubscription(params: DeletePostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscription(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReadPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replacePostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: ReplacePostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchPostgresqlCnpgIoV1NamespacedSubscriptionStatus(params: PatchPostgresqlCnpgIoV1NamespacedSubscriptionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/namespaces/\${params.path.namespace}/subscriptions/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listPostgresqlCnpgIoV1PoolerForAllNamespaces(params: ListPostgresqlCnpgIoV1PoolerForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/poolers\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1PublicationForAllNamespaces(params: ListPostgresqlCnpgIoV1PublicationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/publications\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1ScheduledBackupForAllNamespaces(params: ListPostgresqlCnpgIoV1ScheduledBackupForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/scheduledbackups\`; + return await this.get(path, null, null, opts); + } + async listPostgresqlCnpgIoV1SubscriptionForAllNamespaces(params: ListPostgresqlCnpgIoV1SubscriptionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/postgresql.cnpg.io/v1/subscriptions\`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationAPIGroup(params: GetRbacAuthorizationAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getRbacAuthorizationV1APIResources(params: GetRbacAuthorizationV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1ClusterRoleBinding(params: ListRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRoleBinding(params: CreateRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params: DeleteRbacAuthorizationV1CollectionClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRoleBinding(params: ReadRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRoleBinding(params: ReplaceRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRoleBinding(params: DeleteRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRoleBinding(params: PatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1ClusterRole(params: ListRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1ClusterRole(params: CreateRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionClusterRole(params: DeleteRbacAuthorizationV1CollectionClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1ClusterRole(params: ReadRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1ClusterRole(params: ReplaceRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1ClusterRole(params: DeleteRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1ClusterRole(params: PatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/clusterroles/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRoleBinding(params: ListRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRoleBinding(params: CreateRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRoleBinding(params: ReadRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRoleBinding(params: ReplaceRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRoleBinding(params: DeleteRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRoleBinding(params: PatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1NamespacedRole(params: ListRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles\`; + return await this.get(path, null, null, opts); + } + async createRbacAuthorizationV1NamespacedRole(params: CreateRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1CollectionNamespacedRole(params: DeleteRbacAuthorizationV1CollectionNamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles\`; + return await this.delete(path, params.query, null, opts); + } + async readRbacAuthorizationV1NamespacedRole(params: ReadRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceRbacAuthorizationV1NamespacedRole(params: ReplaceRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteRbacAuthorizationV1NamespacedRole(params: DeleteRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchRbacAuthorizationV1NamespacedRole(params: PatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listRbacAuthorizationV1RoleBindingForAllNamespaces(params: ListRbacAuthorizationV1RoleBindingForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/rolebindings\`; + return await this.get(path, null, null, opts); + } + async listRbacAuthorizationV1RoleForAllNamespaces(params: ListRbacAuthorizationV1RoleForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/roles\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBindingList(params: WatchRbacAuthorizationV1ClusterRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleBinding(params: WatchRbacAuthorizationV1ClusterRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRoleList(params: WatchRbacAuthorizationV1ClusterRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1ClusterRole(params: WatchRbacAuthorizationV1ClusterRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBindingList(params: WatchRbacAuthorizationV1NamespacedRoleBindingListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/rolebindings\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleBinding(params: WatchRbacAuthorizationV1NamespacedRoleBindingRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/rolebindings/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRoleList(params: WatchRbacAuthorizationV1NamespacedRoleListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/roles\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1NamespacedRole(params: WatchRbacAuthorizationV1NamespacedRoleRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/namespaces/\${params.path.namespace}/roles/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params: WatchRbacAuthorizationV1RoleBindingListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/rolebindings\`; + return await this.get(path, null, null, opts); + } + async watchRbacAuthorizationV1RoleListForAllNamespaces(params: WatchRbacAuthorizationV1RoleListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/rbac.authorization.k8s.io/v1/watch/roles\`; + return await this.get(path, null, null, opts); + } + async getSchedulingAPIGroup(params: GetSchedulingAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getSchedulingV1APIResources(params: GetSchedulingV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listSchedulingV1PriorityClass(params: ListSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; + return await this.get(path, null, null, opts); + } + async createSchedulingV1PriorityClass(params: CreateSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteSchedulingV1CollectionPriorityClass(params: DeleteSchedulingV1CollectionPriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readSchedulingV1PriorityClass(params: ReadSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceSchedulingV1PriorityClass(params: ReplaceSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteSchedulingV1PriorityClass(params: DeleteSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchSchedulingV1PriorityClass(params: PatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/priorityclasses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async watchSchedulingV1PriorityClassList(params: WatchSchedulingV1PriorityClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses\`; + return await this.get(path, null, null, opts); + } + async watchSchedulingV1PriorityClass(params: WatchSchedulingV1PriorityClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/scheduling.k8s.io/v1/watch/priorityclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ConfigurationForAllNamespaces(params: ListServingKnativeDevV1ConfigurationForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/configurations\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1NamespacedConfiguration(params: ListServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedConfiguration(params: CreateServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedConfiguration(params: DeleteServingKnativeDevV1CollectionNamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedConfiguration(params: ReadServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfiguration(params: ReplaceServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedConfiguration(params: DeleteServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedConfiguration(params: PatchServingKnativeDevV1NamespacedConfigurationRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedConfigurationStatus(params: ReadServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedConfigurationStatus(params: ReplaceServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedConfigurationStatus(params: PatchServingKnativeDevV1NamespacedConfigurationStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/configurations/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRevision(params: ListServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRevision(params: CreateServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRevision(params: DeleteServingKnativeDevV1CollectionNamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRevision(params: ReadServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevision(params: ReplaceServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRevision(params: DeleteServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRevision(params: PatchServingKnativeDevV1NamespacedRevisionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRevisionStatus(params: ReadServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRevisionStatus(params: ReplaceServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRevisionStatus(params: PatchServingKnativeDevV1NamespacedRevisionStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/revisions/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedRoute(params: ListServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedRoute(params: CreateServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedRoute(params: DeleteServingKnativeDevV1CollectionNamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedRoute(params: ReadServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRoute(params: ReplaceServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedRoute(params: DeleteServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedRoute(params: PatchServingKnativeDevV1NamespacedRouteRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedRouteStatus(params: ReadServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedRouteStatus(params: ReplaceServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedRouteStatus(params: PatchServingKnativeDevV1NamespacedRouteStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/routes/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1NamespacedService(params: ListServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services\`; + return await this.get(path, null, null, opts); + } + async createServingKnativeDevV1NamespacedService(params: CreateServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1CollectionNamespacedService(params: DeleteServingKnativeDevV1CollectionNamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services\`; + return await this.delete(path, null, null, opts); + } + async readServingKnativeDevV1NamespacedService(params: ReadServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedService(params: ReplaceServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteServingKnativeDevV1NamespacedService(params: DeleteServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchServingKnativeDevV1NamespacedService(params: PatchServingKnativeDevV1NamespacedServiceRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readServingKnativeDevV1NamespacedServiceStatus(params: ReadServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceServingKnativeDevV1NamespacedServiceStatus(params: ReplaceServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchServingKnativeDevV1NamespacedServiceStatus(params: PatchServingKnativeDevV1NamespacedServiceStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/namespaces/\${params.path.namespace}/services/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async listServingKnativeDevV1RevisionForAllNamespaces(params: ListServingKnativeDevV1RevisionForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/revisions\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1RouteForAllNamespaces(params: ListServingKnativeDevV1RouteForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/routes\`; + return await this.get(path, null, null, opts); + } + async listServingKnativeDevV1ServiceForAllNamespaces(params: ListServingKnativeDevV1ServiceForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/serving.knative.dev/v1/services\`; + return await this.get(path, null, null, opts); + } + async getStorageAPIGroup(params: GetStorageAPIGroupRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/\`; + return await this.get(path, null, null, opts); + } + async getStorageV1APIResources(params: GetStorageV1APIResourcesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/\`; + return await this.get(path, null, null, opts); + } + async listStorageV1CSIDriver(params: ListStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers\`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSIDriver(params: CreateStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSIDriver(params: DeleteStorageV1CollectionCSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSIDriver(params: ReadStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSIDriver(params: ReplaceStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSIDriver(params: DeleteStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSIDriver(params: PatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csidrivers/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSINode(params: ListStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes\`; + return await this.get(path, null, null, opts); + } + async createStorageV1CSINode(params: CreateStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionCSINode(params: DeleteStorageV1CollectionCSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1CSINode(params: ReadStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1CSINode(params: ReplaceStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1CSINode(params: DeleteStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1CSINode(params: PatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csinodes/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1CSIStorageCapacityForAllNamespaces(params: ListStorageV1CSIStorageCapacityForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async listStorageV1NamespacedCSIStorageCapacity(params: ListStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async createStorageV1NamespacedCSIStorageCapacity(params: CreateStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionNamespacedCSIStorageCapacity(params: DeleteStorageV1CollectionNamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1NamespacedCSIStorageCapacity(params: ReadStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1NamespacedCSIStorageCapacity(params: ReplaceStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1NamespacedCSIStorageCapacity(params: DeleteStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1NamespacedCSIStorageCapacity(params: PatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/namespaces/\${params.path.namespace}/csistoragecapacities/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1StorageClass(params: ListStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses\`; + return await this.get(path, null, null, opts); + } + async createStorageV1StorageClass(params: CreateStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionStorageClass(params: DeleteStorageV1CollectionStorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1StorageClass(params: ReadStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1StorageClass(params: ReplaceStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1StorageClass(params: DeleteStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1StorageClass(params: PatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/storageclasses/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async listStorageV1VolumeAttachment(params: ListStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; + return await this.get(path, null, null, opts); + } + async createStorageV1VolumeAttachment(params: CreateStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; + return await this.post(path, params.query, params.body, opts); + } + async deleteStorageV1CollectionVolumeAttachment(params: DeleteStorageV1CollectionVolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments\`; + return await this.delete(path, params.query, null, opts); + } + async readStorageV1VolumeAttachment(params: ReadStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachment(params: ReplaceStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; + return await this.put(path, params.query, params.body, opts); + } + async deleteStorageV1VolumeAttachment(params: DeleteStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; + return await this.delete(path, params.query, null, opts); + } + async patchStorageV1VolumeAttachment(params: PatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}\`; + return await this.patch(path, params.query, null, opts); + } + async readStorageV1VolumeAttachmentStatus(params: ReadStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}/status\`; + return await this.get(path, null, null, opts); + } + async replaceStorageV1VolumeAttachmentStatus(params: ReplaceStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}/status\`; + return await this.put(path, params.query, params.body, opts); + } + async patchStorageV1VolumeAttachmentStatus(params: PatchStorageV1VolumeAttachmentStatusRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/volumeattachments/\${params.path.name}/status\`; + return await this.patch(path, params.query, null, opts); + } + async watchStorageV1CSIDriverList(params: WatchStorageV1CSIDriverListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csidrivers\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIDriver(params: WatchStorageV1CSIDriverRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csidrivers/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINodeList(params: WatchStorageV1CSINodeListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csinodes\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSINode(params: WatchStorageV1CSINodeRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csinodes/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1CSIStorageCapacityListForAllNamespaces(params: WatchStorageV1CSIStorageCapacityListForAllNamespacesRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacityList(params: WatchStorageV1NamespacedCSIStorageCapacityListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/namespaces/\${params.path.namespace}/csistoragecapacities\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1NamespacedCSIStorageCapacity(params: WatchStorageV1NamespacedCSIStorageCapacityRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/namespaces/\${params.path.namespace}/csistoragecapacities/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClassList(params: WatchStorageV1StorageClassListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/storageclasses\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1StorageClass(params: WatchStorageV1StorageClassRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/storageclasses/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachmentList(params: WatchStorageV1VolumeAttachmentListRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments\`; + return await this.get(path, null, null, opts); + } + async watchStorageV1VolumeAttachment(params: WatchStorageV1VolumeAttachmentRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/apis/storage.k8s.io/v1/watch/volumeattachments/\${params.path.name}\`; + return await this.get(path, null, null, opts); + } + async getServiceAccountIssuerOpenIDKeyset(params: GetServiceAccountIssuerOpenIDKeysetRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/openid/v1/jwks/\`; + return await this.get(path, null, null, opts); + } + async getCodeVersion(params: GetCodeVersionRequest, opts?: APIClientRequestOpts): Promise { + const path = \`/version/\`; + return await this.get(path, null, null, opts); + } +}" +`; diff --git a/packages/schema-sdk/__tests__/openapi.extended.generate.test.ts b/packages/schema-sdk/__tests__/openapi.extended.generate.test.ts new file mode 100644 index 0000000..2d6ef25 --- /dev/null +++ b/packages/schema-sdk/__tests__/openapi.extended.generate.test.ts @@ -0,0 +1,91 @@ +import { writeFileSync } from 'fs'; + +import schema from '../../../__fixtures__/openapi/swagger_extended.json'; +import { generateOpenApiClient } from '../src/openapi'; +import { getDefaultSchemaSDKOptions } from '../src/types'; + +it('swagger', () => { + const options = getDefaultSchemaSDKOptions({ + clientName: 'KubernetesClient', + includeSwaggerUrl: true, + exclude: [ + '*.v1beta1.*', + '*.v2beta1.*', + 'io.k8s.api.events.v1.EventSeries', + 'io.k8s.api.events.v1.Event', + 'io.k8s.api.flowcontrol*', + ], + }); + const code = generateOpenApiClient( + { + ...options, + paths: { + exclude: ['*flowschema*', '*v1beta1*', '*v2beta1*'], + excludeRequests: ['head', 'options'], + excludeTags: [ + 'storage_v1beta1', + '*v1beta1', + '*v2beta1', + '*v1beta1*', + '*v2beta1*', + ], + }, + includeTypeComments: true, + includeMethodComments: true, + mergedParams: false, + namingStrategy: { + useLastSegment: true, + renameMap: { + 'io.k8s.api.discovery.v1.EndpointPort': 'DiscoveryEndpointPort', + 'io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ServiceReference': + 'ApiExtServiceReference', + 'io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig': + 'ApiExtWebhookClientConfig', + 'io.k8s.api.admissionregistration.v1.ServiceReference': + 'AdmissionServiceReference', + }, + }, + }, + schema as any + ); + expect(code).toMatchSnapshot(); + writeFileSync( + __dirname + '/../../../__fixtures__/output/swagger-extended-client.ts', + code + ); +}); + +it('merged', () => { + const options = getDefaultSchemaSDKOptions({ + // include: [ + // '*.v1.*' + // ], + clientName: 'KubernetesClient', + includeSwaggerUrl: true, + includeMethodComments: true, + namingStrategy: { + useLastSegment: true, + }, + }); + const code = generateOpenApiClient( + { + ...options, + version: 'v1', + mergedParams: true, + }, + schema as any + ); + expect(code).toMatchSnapshot(); + writeFileSync( + __dirname + '/../../../__fixtures__/output/swagger-extended-client.merged.ts', + code + ); +}); + +it('openapi', () => { + const data = Object.keys(schema.definitions); + writeFileSync( + __dirname + '/../../../__fixtures__/output/swagger-extended-definitions.json', + JSON.stringify(data, null, 2) + ); +}); diff --git a/packages/schema-sdk/src/openapi.ts b/packages/schema-sdk/src/openapi.ts index 50de23d..643b75b 100644 --- a/packages/schema-sdk/src/openapi.ts +++ b/packages/schema-sdk/src/openapi.ts @@ -218,13 +218,32 @@ const initParams = (): ParameterInterfaces => { }; }; +// Resolve a parameter $ref against the spec's global parameters collection +function resolveParameterRef( + schema: OpenAPISpec, + param: any +): Parameter { + if (param && typeof param === 'object' && (param as any).$ref) { + const ref: string = (param as any).$ref; + if (ref.includes('/parameters/')) { + const parts = ref.split('/'); + const name = parts[parts.length - 1]; + const resolved = schema.parameters?.[name]; + if (resolved) return resolved as Parameter; + } + } + return param as Parameter; +} + export function generateOpenApiParams( options: OpenAPIOptions, + schema: OpenAPISpec, path: string, pathItem: OpenAPIPathItem ): t.TSInterfaceDeclaration[] { const opParams: OpParameterInterfaces = getOpenApiParams( options, + schema, path, pathItem ); @@ -313,6 +332,7 @@ export function generateOpenApiParams( export function getOpenApiParams( options: OpenAPIOptions, + schema: OpenAPISpec, path: string, pathItem: OpenAPIPathItem ): OpParameterInterfaces { @@ -331,11 +351,13 @@ export function getOpenApiParams( // BEGIN SANITIZE PARAMS pathItem.parameters = pathItem.parameters ?? []; - const pathParms = - pathItem.parameters?.filter((param) => param.in === 'path') ?? []; + const resolvedPathParams = pathItem.parameters.map((p) => + resolveParameterRef(schema, p as any) + ); + const pathParms = resolvedPathParams.filter((param) => param.in === 'path') ?? []; if (pathParms.length !== pathInfo.params.length) { const parameters = - pathItem.parameters?.filter((param) => param.in !== 'path') ?? []; + resolvedPathParams.filter((param) => param.in !== 'path') ?? []; pathInfo.params.forEach((name) => { const found = pathParms.find((param) => param.name === name); parameters.push( @@ -355,7 +377,8 @@ export function getOpenApiParams( // load Path-Level params pathItem.parameters.forEach((param) => { - opParams.pathLevel[param.in].push(param); + const resolved = resolveParameterRef(schema, param as any); + opParams.pathLevel[resolved.in].push(resolved); }); ['get', 'post', 'put', 'delete', 'options', 'head', 'patch'].forEach( @@ -378,7 +401,8 @@ export function getOpenApiParams( if (operation.parameters) { // Categorize parameters by 'in' field operation.parameters.forEach((param) => { - opParamMethod[param.in].push(param); + const resolved = resolveParameterRef(schema, param as any); + opParamMethod[resolved.in].push(resolved); }); } } @@ -394,7 +418,7 @@ export function generateOpenApiTypes( const interfaces: t.TSInterfaceDeclaration[] = []; // Iterate through each path and each method to generate interfaces Object.entries(schema.paths).forEach(([path, pathItem]) => { - interfaces.push(...generateOpenApiParams(options, path, pathItem)); + interfaces.push(...generateOpenApiParams(options, schema, path, pathItem)); }); return interfaces.map((i) => t.exportNamedDeclaration(i)); }